Package net.minecraft.client.render
Class BufferRenderer
java.lang.Object
net.minecraft.client.render.BufferRenderer
Containing methods for immediately drawing a buffer built with
BufferBuilder.- Mappings:
Namespace Name named net/minecraft/client/render/BufferRendererintermediary net/minecraft/class_286official ezw
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidbind(VertexBuffer vertexBuffer) private static VertexBufferbind(VertexFormat vertexFormat) static voiddraw(BufferBuilder.BuiltBuffer buffer) Drawsbuffer.static voidDrawsbufferusing the shader program specified withRenderSystem#setShaderprivate static voidstatic voidreset()static voidprivate static @Nullable VertexBufferupload(BufferBuilder.BuiltBuffer buffer)
-
Field Details
-
currentVertexBuffer
- Mappings:
Namespace Name Mixin selector named currentVertexBufferLnet/minecraft/client/render/BufferRenderer;currentVertexBuffer:Lnet/minecraft/client/gl/VertexBuffer;intermediary field_38982Lnet/minecraft/class_286;field_38982:Lnet/minecraft/class_291;official aLezw;a:Lfad;
-
-
Constructor Details
-
BufferRenderer
public BufferRenderer()
-
-
Method Details
-
reset
public static void reset()- Mappings:
Namespace Name Mixin selector named resetLnet/minecraft/client/render/BufferRenderer;reset()Vintermediary method_34420Lnet/minecraft/class_286;method_34420()Vofficial aLezw;a()V
-
resetCurrentVertexBuffer
public static void resetCurrentVertexBuffer()- Mappings:
Namespace Name Mixin selector named resetCurrentVertexBufferLnet/minecraft/client/render/BufferRenderer;resetCurrentVertexBuffer()Vintermediary method_43436Lnet/minecraft/class_286;method_43436()Vofficial bLezw;b()V
-
drawWithGlobalProgram
Drawsbufferusing the shader program specified withRenderSystem#setShader- Mappings:
Namespace Name Mixin selector named drawWithGlobalProgramLnet/minecraft/client/render/BufferRenderer;drawWithGlobalProgram(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)Vintermediary method_43433Lnet/minecraft/class_286;method_43433(Lnet/minecraft/class_287$class_7433;)Vofficial aLezw;a(Lezv$b;)V
-
drawWithGlobalProgramInternal
- Mappings:
Namespace Name Mixin selector named drawWithGlobalProgramInternalLnet/minecraft/client/render/BufferRenderer;drawWithGlobalProgramInternal(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)Vintermediary method_43438Lnet/minecraft/class_286;method_43438(Lnet/minecraft/class_287$class_7433;)Vofficial cLezw;c(Lezv$b;)V
-
draw
Drawsbuffer.Unlike
drawWithGlobalProgram(net.minecraft.client.render.BufferBuilder.BuiltBuffer), the shader program cannot be specified withRenderSystem#setShader. The caller of this method must manually bind a shader program before calling this method.- Mappings:
Namespace Name Mixin selector named drawLnet/minecraft/client/render/BufferRenderer;draw(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)Vintermediary method_43437Lnet/minecraft/class_286;method_43437(Lnet/minecraft/class_287$class_7433;)Vofficial bLezw;b(Lezv$b;)V
-
upload
- Mappings:
Namespace Name Mixin selector named uploadLnet/minecraft/client/render/BufferRenderer;upload(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)Lnet/minecraft/client/gl/VertexBuffer;intermediary method_43439Lnet/minecraft/class_286;method_43439(Lnet/minecraft/class_287$class_7433;)Lnet/minecraft/class_291;official dLezw;d(Lezv$b;)Lfad;
-
bind
- Mappings:
Namespace Name Mixin selector named bindLnet/minecraft/client/render/BufferRenderer;bind(Lnet/minecraft/client/render/VertexFormat;)Lnet/minecraft/client/gl/VertexBuffer;intermediary method_43435Lnet/minecraft/class_286;method_43435(Lnet/minecraft/class_293;)Lnet/minecraft/class_291;official aLezw;a(Lfaf;)Lfad;
-
bind
- Mappings:
Namespace Name Mixin selector named bindLnet/minecraft/client/render/BufferRenderer;bind(Lnet/minecraft/client/gl/VertexBuffer;)Vintermediary method_43434Lnet/minecraft/class_286;method_43434(Lnet/minecraft/class_291;)Vofficial aLezw;a(Lfad;)V
-