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 fgn
-
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#setShaderstatic 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 aLfgn;a:Lfgu;
-
-
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 aLfgn;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 bLfgn;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 aLfgn;a(Lfgq;)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 bLfgn;b(Lfgq;)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 cLfgn;c(Lfgq;)Lfgu;
-
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 aLfgn;a(Lfgw;)Lfgu;
-
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 aLfgn;a(Lfgu;)V
-