Package net.minecraft.client.render
Class BuiltBuffer
java.lang.Object
net.minecraft.client.render.BuiltBuffer
- All Implemented Interfaces:
AutoCloseable
- Mappings:
Namespace Name named net/minecraft/client/render/BuiltBufferintermediary net/minecraft/class_9801official fbh
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BufferAllocator.CloseableBufferprivate final BuiltBuffer.DrawParametersprivate BufferAllocator.CloseableBuffer -
Constructor Summary
ConstructorsConstructorDescriptionBuiltBuffer(BufferAllocator.CloseableBuffer buffer, BuiltBuffer.DrawParameters drawParameters) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private static Vector3f[]collectCentroids(ByteBuffer buf, int vertexCount, VertexFormat format) sortQuads(BufferAllocator allocator, VertexSorter sorter)
-
Field Details
-
buffer
- Mappings:
Namespace Name Mixin selector named bufferLnet/minecraft/client/render/BuiltBuffer;buffer:Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;intermediary field_52093Lnet/minecraft/class_9801;field_52093:Lnet/minecraft/class_9799$class_9800;official aLfbh;a:Lfbf$a;
-
sortedBuffer
- Mappings:
Namespace Name Mixin selector named sortedBufferLnet/minecraft/client/render/BuiltBuffer;sortedBuffer:Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;intermediary field_52094Lnet/minecraft/class_9801;field_52094:Lnet/minecraft/class_9799$class_9800;official bLfbh;b:Lfbf$a;
-
drawParameters
- Mappings:
Namespace Name Mixin selector named drawParametersLnet/minecraft/client/render/BuiltBuffer;drawParameters:Lnet/minecraft/client/render/BuiltBuffer$DrawParameters;intermediary field_52095Lnet/minecraft/class_9801;field_52095:Lnet/minecraft/class_9801$class_4574;official cLfbh;c:Lfbh$a;
-
-
Constructor Details
-
BuiltBuffer
public BuiltBuffer(BufferAllocator.CloseableBuffer buffer, BuiltBuffer.DrawParameters drawParameters) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/BuiltBuffer;<init>(Lnet/minecraft/client/util/BufferAllocator$CloseableBuffer;Lnet/minecraft/client/render/BuiltBuffer$DrawParameters;)Vintermediary <init>Lnet/minecraft/class_9801;<init>(Lnet/minecraft/class_9799$class_9800;Lnet/minecraft/class_9801$class_4574;)Vofficial <init>Lfbh;<init>(Lfbf$a;Lfbh$a;)V
-
-
Method Details
-
collectCentroids
- Mappings:
Namespace Name Mixin selector named collectCentroidsLnet/minecraft/client/render/BuiltBuffer;collectCentroids(Ljava/nio/ByteBuffer;ILnet/minecraft/client/render/VertexFormat;)[Lorg/joml/Vector3f;intermediary method_60820Lnet/minecraft/class_9801;method_60820(Ljava/nio/ByteBuffer;ILnet/minecraft/class_293;)[Lorg/joml/Vector3f;official aLfbh;a(Ljava/nio/ByteBuffer;ILfbn;)[Lorg/joml/Vector3f;
-
getBuffer
- Mappings:
Namespace Name Mixin selector named getBufferLnet/minecraft/client/render/BuiltBuffer;getBuffer()Ljava/nio/ByteBuffer;intermediary method_60818Lnet/minecraft/class_9801;method_60818()Ljava/nio/ByteBuffer;official aLfbh;a()Ljava/nio/ByteBuffer;
-
getSortedBuffer
- Mappings:
Namespace Name Mixin selector named getSortedBufferLnet/minecraft/client/render/BuiltBuffer;getSortedBuffer()Ljava/nio/ByteBuffer;intermediary method_60821Lnet/minecraft/class_9801;method_60821()Ljava/nio/ByteBuffer;official bLfbh;b()Ljava/nio/ByteBuffer;
-
getDrawParameters
- Mappings:
Namespace Name Mixin selector named getDrawParametersLnet/minecraft/client/render/BuiltBuffer;getDrawParameters()Lnet/minecraft/client/render/BuiltBuffer$DrawParameters;intermediary method_60822Lnet/minecraft/class_9801;method_60822()Lnet/minecraft/class_9801$class_4574;official cLfbh;c()Lfbh$a;
-
sortQuads
@Nullable public @Nullable BuiltBuffer.SortState sortQuads(BufferAllocator allocator, VertexSorter sorter) - Mappings:
Namespace Name Mixin selector named sortQuadsLnet/minecraft/client/render/BuiltBuffer;sortQuads(Lnet/minecraft/client/util/BufferAllocator;Lcom/mojang/blaze3d/systems/VertexSorter;)Lnet/minecraft/client/render/BuiltBuffer$SortState;intermediary method_60819Lnet/minecraft/class_9801;method_60819(Lnet/minecraft/class_9799;Lnet/minecraft/class_8251;)Lnet/minecraft/class_9801$class_9802;official aLfbh;a(Lfbf;Lfbq;)Lfbh$b;
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-