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 eam
intermediary net/minecraft/class_286
named net/minecraft/client/render/BufferRenderer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static void
bindAndSet
(VertexBuffer vertexBuffer) private static VertexBuffer
bindAndSet
(VertexFormat vertexFormat) static void
Drawsbuffer
.static void
Drawsbuffer
using the shader specified withRenderSystem#setShader
private static void
private static @Nullable VertexBuffer
static void
static void
-
Field Details
-
currentVertexBuffer
- Mappings:
Namespace Name Mixin selector official a
Leam;a:Leat;
intermediary field_38982
Lnet/minecraft/class_286;field_38982:Lnet/minecraft/class_291;
named currentVertexBuffer
Lnet/minecraft/client/render/BufferRenderer;currentVertexBuffer:Lnet/minecraft/client/gl/VertexBuffer;
-
-
Constructor Details
-
BufferRenderer
public BufferRenderer()
-
-
Method Details
-
unbindAll
public static void unbindAll()- Mappings:
Namespace Name Mixin selector official a
Leam;a()V
intermediary method_34420
Lnet/minecraft/class_286;method_34420()V
named unbindAll
Lnet/minecraft/client/render/BufferRenderer;unbindAll()V
-
resetCurrentVertexBuffer
public static void resetCurrentVertexBuffer()- Mappings:
Namespace Name Mixin selector official b
Leam;b()V
intermediary method_43436
Lnet/minecraft/class_286;method_43436()V
named resetCurrentVertexBuffer
Lnet/minecraft/client/render/BufferRenderer;resetCurrentVertexBuffer()V
-
drawWithShader
Drawsbuffer
using the shader specified withRenderSystem#setShader
- Mappings:
Namespace Name Mixin selector official a
Leam;a(Leal$b;)V
intermediary method_43433
Lnet/minecraft/class_286;method_43433(Lnet/minecraft/class_287$class_7433;)V
named drawWithShader
Lnet/minecraft/client/render/BufferRenderer;drawWithShader(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)V
-
drawWithShaderInternal
- Mappings:
Namespace Name Mixin selector official c
Leam;c(Leal$b;)V
intermediary method_43438
Lnet/minecraft/class_286;method_43438(Lnet/minecraft/class_287$class_7433;)V
named drawWithShaderInternal
Lnet/minecraft/client/render/BufferRenderer;drawWithShaderInternal(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)V
-
drawWithoutShader
Drawsbuffer
.Unlike
drawWithShader(net.minecraft.client.render.BufferBuilder.BuiltBuffer)
, the shader cannot be specified withRenderSystem#setShader
. The caller of this method must manually bind a shader before calling this method.- Mappings:
Namespace Name Mixin selector official b
Leam;b(Leal$b;)V
intermediary method_43437
Lnet/minecraft/class_286;method_43437(Lnet/minecraft/class_287$class_7433;)V
named drawWithoutShader
Lnet/minecraft/client/render/BufferRenderer;drawWithoutShader(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)V
-
getVertexBuffer
- Mappings:
Namespace Name Mixin selector official d
Leam;d(Leal$b;)Leat;
intermediary method_43439
Lnet/minecraft/class_286;method_43439(Lnet/minecraft/class_287$class_7433;)Lnet/minecraft/class_291;
named getVertexBuffer
Lnet/minecraft/client/render/BufferRenderer;getVertexBuffer(Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;)Lnet/minecraft/client/gl/VertexBuffer;
-
bindAndSet
- Mappings:
Namespace Name Mixin selector official a
Leam;a(Leav;)Leat;
intermediary method_43435
Lnet/minecraft/class_286;method_43435(Lnet/minecraft/class_293;)Lnet/minecraft/class_291;
named bindAndSet
Lnet/minecraft/client/render/BufferRenderer;bindAndSet(Lnet/minecraft/client/render/VertexFormat;)Lnet/minecraft/client/gl/VertexBuffer;
-
bindAndSet
- Mappings:
Namespace Name Mixin selector official a
Leam;a(Leat;)V
intermediary method_43434
Lnet/minecraft/class_286;method_43434(Lnet/minecraft/class_291;)V
named bindAndSet
Lnet/minecraft/client/render/BufferRenderer;bindAndSet(Lnet/minecraft/client/gl/VertexBuffer;)V
-