com.mojang.blaze3d.systems

public final class RenderSystem$ShapeIndexBuffer

implements AutoCloseable

com.mojang.blaze3d.systems.RenderSystem$AutoStorageIndexBuffer
com.mojang.blaze3d.systems.RenderSystem$class_5590
com.mojang.blaze3d.systems.RenderSystem$ShapeIndexBuffer

Field summary

Modifier and TypeField
private final int
vertexStride
field_27332
vertexCountInShape
private final int
indexStride
field_27333
vertexCountInTriangulated
private final RenderSystem$ShapeIndexBuffer$Triangulator
generator
field_27334
triangulator
private GpuBuffer
buffer
field_54299
indexBuffer
private IndexType
type
field_27336
indexType
private int
indexCount
field_27337
size
private int
maxRequestedIndexCount
field_1_7964
deferredSize

Constructor summary

ModifierConstructor
private (int vertexCountInShape, int vertexCountInTriangulated, RenderSystem$ShapeIndexBuffer$Triangulator triangulator)

Method summary

Modifier and TypeMethod
public void
close()
public boolean
hasStorage(int indexCount)
method_43409(int arg0)
isLargeEnough(int requiredSize)
public void
requestIndexCount(int indexCount)
method_1_7312(int arg0)
deferGrow(int size)
public void
resizeToRequestedIndexCount()
method_1_7313()
applyDeferredGrow()
public GpuBuffer
getBuffer(int indexCount)
method_68274(int arg0)
getIndexBuffer(int requiredSize)
public GpuBuffer
getBuffer()
method_1_7311()
getIndexBuffer()
private void
ensureStorage(int indexCount)
method_31920(int arg0)
grow(int requiredSize)
private it.unimi.dsi.fastutil.ints.IntConsumer
intConsumer(ByteBuffer buffer)
method_31922(ByteBuffer arg0)
getIndexConsumer(ByteBuffer indexBuffer)
public IndexType
type()
method_31924()
getIndexType()
private static void
lambda$intConsumer$0(ByteBuffer arg0, int arg1)
method_31923(ByteBuffer arg0, int arg1)
method_31923(ByteBuffer arg0, int index)
private static String
lambda$ensureStorage$0()
method_68689()
method_68689()