Package net.minecraft.client.render
Class Tessellator
java.lang.Object
net.minecraft.client.render.Tessellator
Holding a single instance of
BufferBuilder
.
This class reuses the buffer builder so a buffer doesn't have to be allocated every time.
- Mappings:
Namespace Name official elr
intermediary net/minecraft/class_289
named net/minecraft/client/render/Tessellator
-
Field Summary
Modifier and TypeFieldDescriptionprivate final BufferBuilder
private static final int
private static final int
private static final Tessellator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw()
Draws the contents of the buffer builder using the shader program specified withRenderSystem#setShader
.static Tessellator
-
Field Details
-
field_32051
private static final int field_32051- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lelr;a:I
intermediary field_32051
Lnet/minecraft/class_289;field_32051:I
named field_32051
Lnet/minecraft/client/render/Tessellator;field_32051:I
-
DEFAULT_BUFFER_CAPACITY
private static final int DEFAULT_BUFFER_CAPACITY- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lelr;b:I
intermediary field_32052
Lnet/minecraft/class_289;field_32052:I
named DEFAULT_BUFFER_CAPACITY
Lnet/minecraft/client/render/Tessellator;DEFAULT_BUFFER_CAPACITY:I
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official d
Lelr;d:Lelr;
intermediary field_1573
Lnet/minecraft/class_289;field_1573:Lnet/minecraft/class_289;
named INSTANCE
Lnet/minecraft/client/render/Tessellator;INSTANCE:Lnet/minecraft/client/render/Tessellator;
-
buffer
- Mappings:
Namespace Name Mixin selector official c
Lelr;c:Lelk;
intermediary field_1574
Lnet/minecraft/class_289;field_1574:Lnet/minecraft/class_287;
named buffer
Lnet/minecraft/client/render/Tessellator;buffer:Lnet/minecraft/client/render/BufferBuilder;
-
-
Constructor Details
-
Tessellator
public Tessellator(int bufferCapacity) - Mappings:
Namespace Name Mixin selector official <init>
Lelr;<init>(I)V
intermediary <init>
Lnet/minecraft/class_289;<init>(I)V
named <init>
Lnet/minecraft/client/render/Tessellator;<init>(I)V
-
Tessellator
public Tessellator()
-
-
Method Details
-
getInstance
- Mappings:
Namespace Name Mixin selector official a
Lelr;a()Lelr;
intermediary method_1348
Lnet/minecraft/class_289;method_1348()Lnet/minecraft/class_289;
named getInstance
Lnet/minecraft/client/render/Tessellator;getInstance()Lnet/minecraft/client/render/Tessellator;
-
draw
public void draw()Draws the contents of the buffer builder using the shader program specified withRenderSystem#setShader
.- Mappings:
Namespace Name Mixin selector official b
Lelr;b()V
intermediary method_1350
Lnet/minecraft/class_289;method_1350()V
named draw
Lnet/minecraft/client/render/Tessellator;draw()V
-
getBuffer
- Mappings:
Namespace Name Mixin selector official c
Lelr;c()Lelk;
intermediary method_1349
Lnet/minecraft/class_289;method_1349()Lnet/minecraft/class_287;
named getBuffer
Lnet/minecraft/client/render/Tessellator;getBuffer()Lnet/minecraft/client/render/BufferBuilder;
-