Package com.mojang.blaze3d.systems
Class RenderSystem.AutoStorageIndexBuffer
java.lang.Object
com.mojang.blaze3d.systems.RenderSystem.AutoStorageIndexBuffer
- Enclosing class:
RenderSystem
-
Nested Class Summary
Modifier and TypeClassDescription(package private) static interface
-
Field Summary
Modifier and TypeFieldDescriptionprivate final RenderSystem.AutoStorageIndexBuffer.IndexGenerator
private int
private final int
private int
private VertexFormat.IndexType
private final int
-
Constructor Summary
ConstructorDescriptionAutoStorageIndexBuffer
(int p_157472_, int p_157473_, RenderSystem.AutoStorageIndexBuffer.IndexGenerator p_157474_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
bind
(int p_221947_) private void
ensureStorage
(int p_157477_) boolean
hasStorage
(int p_221945_) private it.unimi.dsi.fastutil.ints.IntConsumer
intConsumer
(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
-