Package net.minecraft.client.render
Class BufferBuilder.BuiltBuffer
java.lang.Object
net.minecraft.client.render.BufferBuilder.BuiltBuffer
- Enclosing class:
BufferBuilder
An output of
BufferBuilder
. It contains a ByteBuffer
of
vertices, a ByteBuffer
of indices if sorting has been done, and
some information necessary to draw these data.- Mappings:
Namespace Name official egz$b
intermediary net/minecraft/class_287$class_7433
named net/minecraft/client/render/BufferBuilder$BuiltBuffer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final BufferBuilder.DrawParameters
private boolean
-
Constructor Summary
-
Method Summary
-
Field Details
-
batchOffset
private final int batchOffset- Mappings:
Namespace Name Mixin selector official b
Legz$b;b:I
intermediary field_39064
Lnet/minecraft/class_287$class_7433;field_39064:I
named batchOffset
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;batchOffset:I
-
parameters
- Mappings:
Namespace Name Mixin selector official c
Legz$b;c:Legz$a;
intermediary field_39065
Lnet/minecraft/class_287$class_7433;field_39065:Lnet/minecraft/class_287$class_4574;
named parameters
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;parameters:Lnet/minecraft/client/render/BufferBuilder$DrawParameters;
-
released
private boolean released- Mappings:
Namespace Name Mixin selector official d
Legz$b;d:Z
intermediary field_39066
Lnet/minecraft/class_287$class_7433;field_39066:Z
named released
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;released:Z
-
-
Constructor Details
-
BuiltBuffer
BuiltBuffer(int batchOffset, BufferBuilder.DrawParameters parameters) - Mappings:
Namespace Name Mixin selector official <init>
Legz$b;<init>(Legz;ILegz$a;)V
intermediary <init>
Lnet/minecraft/class_287$class_7433;<init>(Lnet/minecraft/class_287;ILnet/minecraft/class_287$class_4574;)V
named <init>
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;<init>(Lnet/minecraft/client/render/BufferBuilder;ILnet/minecraft/client/render/BufferBuilder$DrawParameters;)V
-
-
Method Details
-
getVertexBuffer
- Mappings:
Namespace Name Mixin selector official a
Legz$b;a()Ljava/nio/ByteBuffer;
intermediary method_43581
Lnet/minecraft/class_287$class_7433;method_43581()Ljava/nio/ByteBuffer;
named getVertexBuffer
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;getVertexBuffer()Ljava/nio/ByteBuffer;
-
getIndexBuffer
- Mappings:
Namespace Name Mixin selector official b
Legz$b;b()Ljava/nio/ByteBuffer;
intermediary method_43582
Lnet/minecraft/class_287$class_7433;method_43582()Ljava/nio/ByteBuffer;
named getIndexBuffer
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;getIndexBuffer()Ljava/nio/ByteBuffer;
-
getParameters
- Mappings:
Namespace Name Mixin selector official c
Legz$b;c()Legz$a;
intermediary method_43583
Lnet/minecraft/class_287$class_7433;method_43583()Lnet/minecraft/class_287$class_4574;
named getParameters
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;getParameters()Lnet/minecraft/client/render/BufferBuilder$DrawParameters;
-
isEmpty
public boolean isEmpty()- Mappings:
Namespace Name Mixin selector official d
Legz$b;d()Z
intermediary method_43584
Lnet/minecraft/class_287$class_7433;method_43584()Z
named isEmpty
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;isEmpty()Z
-
release
public void release()- Mappings:
Namespace Name Mixin selector official e
Legz$b;e()V
intermediary method_43585
Lnet/minecraft/class_287$class_7433;method_43585()V
named release
Lnet/minecraft/client/render/BufferBuilder$BuiltBuffer;release()V
-