Package net.minecraft.client.render
Class BufferRenderer
java.lang.Object
net.minecraft.client.render.BufferRenderer
- Mappings:
Namespace Name official dpqintermediary net/minecraft/class_286named net/minecraft/client/render/BufferRenderer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static intprivate static intprivate static intprivate static @Nullable VertexFormat -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidbind(VertexFormat vertexFormat)private static voiddraw(ByteBuffer buffer, VertexFormat.DrawMode drawMode, VertexFormat vertexFormat, int count, VertexFormat.IntType elementFormat, int vertexCount, boolean textured)static voiddraw(BufferBuilder bufferBuilder)static voidpostDraw(BufferBuilder builder)Similar to a regular draw, however this method will skip rendering shaders.static voidstatic void
-
Field Details
-
currentVertexArray
private static int currentVertexArray- Mappings:
Namespace Name Mixin selector official aLdpq;a:Iintermediary field_29331Lnet/minecraft/class_286;field_29331:Inamed currentVertexArrayLnet/minecraft/client/render/BufferRenderer;currentVertexArray:I
-
currentVertexBuffer
private static int currentVertexBuffer- Mappings:
Namespace Name Mixin selector official bLdpq;b:Iintermediary field_29332Lnet/minecraft/class_286;field_29332:Inamed currentVertexBufferLnet/minecraft/client/render/BufferRenderer;currentVertexBuffer:I
-
currentElementBuffer
private static int currentElementBuffer- Mappings:
Namespace Name Mixin selector official cLdpq;c:Iintermediary field_29333Lnet/minecraft/class_286;field_29333:Inamed currentElementBufferLnet/minecraft/client/render/BufferRenderer;currentElementBuffer:I
-
vertexFormat
- Mappings:
Namespace Name Mixin selector official dLdpq;d:Ldpz;intermediary field_29334Lnet/minecraft/class_286;field_29334:Lnet/minecraft/class_293;named vertexFormatLnet/minecraft/client/render/BufferRenderer;vertexFormat:Lnet/minecraft/client/render/VertexFormat;
-
-
Constructor Details
-
BufferRenderer
public BufferRenderer()
-
-
Method Details
-
unbindAll
public static void unbindAll()- Mappings:
Namespace Name Mixin selector official aLdpq;a()Vintermediary method_34420Lnet/minecraft/class_286;method_34420()Vnamed unbindAllLnet/minecraft/client/render/BufferRenderer;unbindAll()V
-
unbindElementBuffer
public static void unbindElementBuffer()- Mappings:
Namespace Name Mixin selector official bLdpq;b()Vintermediary method_34423Lnet/minecraft/class_286;method_34423()Vnamed unbindElementBufferLnet/minecraft/client/render/BufferRenderer;unbindElementBuffer()V
-
draw
- Mappings:
Namespace Name Mixin selector official aLdpq;a(Ldpp;)Vintermediary method_1309Lnet/minecraft/class_286;method_1309(Lnet/minecraft/class_287;)Vnamed drawLnet/minecraft/client/render/BufferRenderer;draw(Lnet/minecraft/client/render/BufferBuilder;)V
-
draw
private static void draw(ByteBuffer buffer, VertexFormat.DrawMode drawMode, VertexFormat vertexFormat, int count, VertexFormat.IntType elementFormat, int vertexCount, boolean textured)- Mappings:
Namespace Name Mixin selector official aLdpq;a(Ljava/nio/ByteBuffer;Ldpz$b;Ldpz;ILdpz$a;IZ)Vintermediary method_34422Lnet/minecraft/class_286;method_34422(Ljava/nio/ByteBuffer;Lnet/minecraft/class_293$class_5596;Lnet/minecraft/class_293;ILnet/minecraft/class_293$class_5595;IZ)Vnamed drawLnet/minecraft/client/render/BufferRenderer;draw(Ljava/nio/ByteBuffer;Lnet/minecraft/client/render/VertexFormat$DrawMode;Lnet/minecraft/client/render/VertexFormat;ILnet/minecraft/client/render/VertexFormat$IntType;IZ)V
-
postDraw
Similar to a regular draw, however this method will skip rendering shaders.- Mappings:
Namespace Name Mixin selector official bLdpq;b(Ldpp;)Vintermediary method_34424Lnet/minecraft/class_286;method_34424(Lnet/minecraft/class_287;)Vnamed postDrawLnet/minecraft/client/render/BufferRenderer;postDraw(Lnet/minecraft/client/render/BufferBuilder;)V
-
bind
- Mappings:
Namespace Name Mixin selector official aLdpq;a(Ldpz;)Vintermediary method_34421Lnet/minecraft/class_286;method_34421(Lnet/minecraft/class_293;)Vnamed bindLnet/minecraft/client/render/BufferRenderer;bind(Lnet/minecraft/client/render/VertexFormat;)V
-