Package com.mojang.blaze3d.vertex
Class MeshData
java.lang.Object
com.mojang.blaze3d.vertex.MeshData
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprivate final MeshData.DrawState
private ByteBufferBuilder.Result
private final ByteBufferBuilder.Result
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
sortQuads
(ByteBufferBuilder p_344832_, VertexSorting p_343251_) private static org.joml.Vector3f[]
unpackQuadCentroids
(ByteBuffer p_342486_, int p_344467_, VertexFormat p_342165_)
-
Field Details
-
vertexBuffer
-
indexBuffer
-
drawState
-
-
Constructor Details
-
MeshData
-
-
Method Details
-
unpackQuadCentroids
private static org.joml.Vector3f[] unpackQuadCentroids(ByteBuffer p_342486_, int p_344467_, VertexFormat p_342165_) -
vertexBuffer
-
indexBuffer
-
drawState
-
sortQuads
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-