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 official efhintermediary net/minecraft/class_286named net/minecraft/client/render/BufferRenderer
-
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 official aLefh;a:Lefo;intermediary field_38982Lnet/minecraft/class_286;field_38982:Lnet/minecraft/class_291;named currentVertexBufferLnet/minecraft/client/render/BufferRenderer;currentVertexBuffer:Lnet/minecraft/client/gl/VertexBuffer;
-
-
Constructor Details
-
BufferRenderer
public BufferRenderer()
-
-
Method Details
-
reset
public static void reset()- Mappings:
Namespace Name Mixin selector official aLefh;a()Vintermediary method_34420Lnet/minecraft/class_286;method_34420()Vnamed resetLnet/minecraft/client/render/BufferRenderer;reset()V
-
resetCurrentVertexBuffer
public static void resetCurrentVertexBuffer()- Mappings:
Namespace Name Mixin selector official bLefh;b()Vintermediary method_43436Lnet/minecraft/class_286;method_43436()Vnamed resetCurrentVertexBufferLnet/minecraft/client/render/BufferRenderer;resetCurrentVertexBuffer()V
-
drawWithGlobalProgram
Drawsbufferusing the shader program specified withRenderSystem#setShader- Mappings:
Namespace Name Mixin selector official aLefh;a(Lefg$b;)Vintermediary method_43433Lnet/minecraft/class_286;method_43433(Lnet/minecraft/class_287$class_7433;)Vnamed drawWithGlobalProgramLnet/minecraft/client/render/BufferRenderer;drawWithGlobalProgram(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)V
-
drawWithGlobalProgramInternal
- Mappings:
Namespace Name Mixin selector official cLefh;c(Lefg$b;)Vintermediary method_43438Lnet/minecraft/class_286;method_43438(Lnet/minecraft/class_287$class_7433;)Vnamed drawWithGlobalProgramInternalLnet/minecraft/client/render/BufferRenderer;drawWithGlobalProgramInternal(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)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 official bLefh;b(Lefg$b;)Vintermediary method_43437Lnet/minecraft/class_286;method_43437(Lnet/minecraft/class_287$class_7433;)Vnamed drawLnet/minecraft/client/render/BufferRenderer;draw(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)V
-
upload
- Mappings:
Namespace Name Mixin selector official dLefh;d(Lefg$b;)Lefo;intermediary method_43439Lnet/minecraft/class_286;method_43439(Lnet/minecraft/class_287$class_7433;)Lnet/minecraft/class_291;named uploadLnet/minecraft/client/render/BufferRenderer;upload(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)Lnet/minecraft/client/gl/VertexBuffer;
-
bind
- Mappings:
Namespace Name Mixin selector official aLefh;a(Lefq;)Lefo;intermediary method_43435Lnet/minecraft/class_286;method_43435(Lnet/minecraft/class_293;)Lnet/minecraft/class_291;named bindLnet/minecraft/client/render/BufferRenderer;bind(Lnet/minecraft/client/render/VertexFormat;)Lnet/minecraft/client/gl/VertexBuffer;
-
bind
- Mappings:
Namespace Name Mixin selector official aLefh;a(Lefo;)Vintermediary method_43434Lnet/minecraft/class_286;method_43434(Lnet/minecraft/class_291;)Vnamed bindLnet/minecraft/client/render/BufferRenderer;bind(Lnet/minecraft/client/gl/VertexBuffer;)V
-