Package com.mojang.blaze3d.systems
Class RenderSystem.AutoStorageIndexBuffer
java.lang.Object
com.mojang.blaze3d.systems.RenderSystem.AutoStorageIndexBuffer
- Enclosing class:
RenderSystem
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static interface -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final RenderSystem.AutoStorageIndexBuffer.IndexGeneratorprivate intprivate final intprivate intprivate VertexFormat.IndexTypeprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionAutoStorageIndexBuffer(int p_157472_, int p_157473_, RenderSystem.AutoStorageIndexBuffer.IndexGenerator p_157474_) -
Method Summary
Modifier and TypeMethodDescriptionvoidbind(int p_221947_) private voidensureStorage(int p_157477_) booleanhasStorage(int p_221945_) private it.unimi.dsi.fastutil.ints.IntConsumerintConsumer(ByteBuffer p_157479_) type()
-
Field Details
-
vertexStride
private final int vertexStride -
indexStride
private final int indexStride -
generator
-
name
private int name -
type
-
indexCount
private int indexCount
-
-
Constructor Details
-
AutoStorageIndexBuffer
AutoStorageIndexBuffer(int p_157472_, int p_157473_, RenderSystem.AutoStorageIndexBuffer.IndexGenerator p_157474_)
-
-
Method Details
-
hasStorage
public boolean hasStorage(int p_221945_) -
bind
public void bind(int p_221947_) -
ensureStorage
private void ensureStorage(int p_157477_) -
intConsumer
-
type
-