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 fbe
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static voidbind(VertexBuffer vertexBuffer) private static VertexBufferbind(VertexFormat vertexFormat) static voiddraw(BuiltBuffer buffer) Drawsbuffer.static voiddrawWithGlobalProgram(BuiltBuffer buffer) Drawsbufferusing the shader program specified withRenderSystem#setShaderprivate static voidstatic voidreset()static voidprivate static VertexBufferupload(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 aLfbe;a:Lfbl;
-
-
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 aLfbe;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 bLfbe;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/BuiltBuffer;)Vintermediary method_43433Lnet/minecraft/class_286;method_43433(Lnet/minecraft/class_9801;)Vofficial aLfbe;a(Lfbh;)V
-
drawWithGlobalProgramInternal
- Mappings:
Namespace Name Mixin selector named drawWithGlobalProgramInternalLnet/minecraft/client/render/BufferRenderer;drawWithGlobalProgramInternal(Lnet/minecraft/client/render/BuiltBuffer;)Vintermediary method_43438Lnet/minecraft/class_286;method_43438(Lnet/minecraft/class_9801;)Vofficial cLfbe;c(Lfbh;)V
-
draw
Drawsbuffer.Unlike
drawWithGlobalProgram(net.minecraft.client.render.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/BuiltBuffer;)Vintermediary method_43437Lnet/minecraft/class_286;method_43437(Lnet/minecraft/class_9801;)Vofficial bLfbe;b(Lfbh;)V
-
upload
- Mappings:
Namespace Name Mixin selector named uploadLnet/minecraft/client/render/BufferRenderer;upload(Lnet/minecraft/client/render/BuiltBuffer;)Lnet/minecraft/client/gl/VertexBuffer;intermediary method_43439Lnet/minecraft/class_286;method_43439(Lnet/minecraft/class_9801;)Lnet/minecraft/class_291;official dLfbe;d(Lfbh;)Lfbl;
-
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 aLfbe;a(Lfbn;)Lfbl;
-
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 aLfbe;a(Lfbl;)V
-