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/BufferRenderer
intermediary net/minecraft/class_286
official fay
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
bind
(VertexBuffer vertexBuffer) private static VertexBuffer
bind
(VertexFormat vertexFormat) static void
draw
(class_9801 buffer) Drawsbuffer
.static void
drawWithGlobalProgram
(class_9801 buffer) Drawsbuffer
using the shader program specified withRenderSystem#setShader
private static void
static void
reset()
static void
private static VertexBuffer
upload
(class_9801 buffer)
-
Field Details
-
currentVertexBuffer
- Mappings:
Namespace Name Mixin selector named currentVertexBuffer
Lnet/minecraft/client/render/BufferRenderer;currentVertexBuffer:Lnet/minecraft/client/gl/VertexBuffer;
intermediary field_38982
Lnet/minecraft/class_286;field_38982:Lnet/minecraft/class_291;
official a
Lfay;a:Lfbf;
-
-
Constructor Details
-
BufferRenderer
public BufferRenderer()
-
-
Method Details
-
reset
public static void reset()- Mappings:
Namespace Name Mixin selector named reset
Lnet/minecraft/client/render/BufferRenderer;reset()V
intermediary method_34420
Lnet/minecraft/class_286;method_34420()V
official a
Lfay;a()V
-
resetCurrentVertexBuffer
public static void resetCurrentVertexBuffer()- Mappings:
Namespace Name Mixin selector named resetCurrentVertexBuffer
Lnet/minecraft/client/render/BufferRenderer;resetCurrentVertexBuffer()V
intermediary method_43436
Lnet/minecraft/class_286;method_43436()V
official b
Lfay;b()V
-
drawWithGlobalProgram
Drawsbuffer
using the shader program specified withRenderSystem#setShader
- Mappings:
Namespace Name Mixin selector named drawWithGlobalProgram
Lnet/minecraft/client/render/BufferRenderer;drawWithGlobalProgram(Lnet/minecraft/class_9801;)V
intermediary method_43433
Lnet/minecraft/class_286;method_43433(Lnet/minecraft/class_9801;)V
official a
Lfay;a(Lfbb;)V
-
drawWithGlobalProgramInternal
- Mappings:
Namespace Name Mixin selector named drawWithGlobalProgramInternal
Lnet/minecraft/client/render/BufferRenderer;drawWithGlobalProgramInternal(Lnet/minecraft/class_9801;)V
intermediary method_43438
Lnet/minecraft/class_286;method_43438(Lnet/minecraft/class_9801;)V
official c
Lfay;c(Lfbb;)V
-
draw
Drawsbuffer
.Unlike
drawWithGlobalProgram(net.minecraft.class_9801)
, 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 draw
Lnet/minecraft/client/render/BufferRenderer;draw(Lnet/minecraft/class_9801;)V
intermediary method_43437
Lnet/minecraft/class_286;method_43437(Lnet/minecraft/class_9801;)V
official b
Lfay;b(Lfbb;)V
-
upload
- Mappings:
Namespace Name Mixin selector named upload
Lnet/minecraft/client/render/BufferRenderer;upload(Lnet/minecraft/class_9801;)Lnet/minecraft/client/gl/VertexBuffer;
intermediary method_43439
Lnet/minecraft/class_286;method_43439(Lnet/minecraft/class_9801;)Lnet/minecraft/class_291;
official d
Lfay;d(Lfbb;)Lfbf;
-
bind
- Mappings:
Namespace Name Mixin selector named bind
Lnet/minecraft/client/render/BufferRenderer;bind(Lnet/minecraft/client/render/VertexFormat;)Lnet/minecraft/client/gl/VertexBuffer;
intermediary method_43435
Lnet/minecraft/class_286;method_43435(Lnet/minecraft/class_293;)Lnet/minecraft/class_291;
official a
Lfay;a(Lfbh;)Lfbf;
-
bind
- Mappings:
Namespace Name Mixin selector named bind
Lnet/minecraft/client/render/BufferRenderer;bind(Lnet/minecraft/client/gl/VertexBuffer;)V
intermediary method_43434
Lnet/minecraft/class_286;method_43434(Lnet/minecraft/class_291;)V
official a
Lfay;a(Lfbf;)V
-