com.mojang.blaze3d.vertex

public class MeshData

implements AutoCloseable

fbh
com.mojang.blaze3d.vertex.MeshData
net.minecraft.class_9801
net.minecraft.client.render.BuiltBuffer
net.minecraft.src.C_336471_

Field summary

Modifier and TypeField
private final ByteBufferBuilder$Result
a
vertexBuffer
field_52093
buffer
f_337070_
private ByteBufferBuilder$Result
b
indexBuffer
field_52094
sortedBuffer
f_337083_
private final MeshData$DrawState
c
drawState
field_52095
drawParameters
f_337640_

Constructor summary

ModifierConstructor
public (ByteBufferBuilder$Result buffer, MeshData$DrawState drawParameters)

Method summary

Modifier and TypeMethod
private static org.joml.Vector3f[]
a(ByteBuffer arg0, int arg1, fbn arg2)
unpackQuadCentroids(ByteBuffer arg0, int arg1, VertexFormat arg2)
method_60820(ByteBuffer arg0, int arg1, class_293 arg2)
collectCentroids(ByteBuffer buf, int vertexCount, VertexFormat format)
m_340126_(ByteBuffer p_342486_, int p_344467_, C_3188_ p_342165_)
public ByteBuffer
a()
vertexBuffer()
method_60818()
getBuffer()
m_340620_()
public ByteBuffer
b()
indexBuffer()
method_60821()
getSortedBuffer()
m_339370_()
public MeshData$DrawState
c()
drawState()
method_60822()
getDrawParameters()
m_339246_()
public MeshData$SortState
a(fbf arg0, fbq arg1)
sortQuads(ByteBufferBuilder arg0, VertexSorting arg1)
method_60819(class_9799 arg0, class_8251 arg1)
sortQuads(BufferAllocator allocator, VertexSorter sorter)
m_338666_(C_336589_ p_343251_, C_276405_ arg1)
public void
close()
close()
close()