Package com.mojang.blaze3d.vertex
Class BufferBuilder.DrawState
java.lang.Object
com.mojang.blaze3d.vertex.BufferBuilder.DrawState
- Enclosing class:
- BufferBuilder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final VertexFormat
private final int
private final boolean
private final VertexFormat.IndexType
private final VertexFormat.Mode
private final boolean
private final int
-
Constructor Summary
ConstructorDescriptionDrawState
(VertexFormat p_166802_, int p_166803_, int p_166804_, VertexFormat.Mode p_166805_, VertexFormat.IndexType p_166806_, boolean p_166807_, boolean p_166808_) -
Method Summary
-
Field Details
-
format
-
vertexCount
private final int vertexCount -
indexCount
private final int indexCount -
mode
-
indexType
-
indexOnly
private final boolean indexOnly -
sequentialIndex
private final boolean sequentialIndex
-
-
Constructor Details
-
DrawState
DrawState(VertexFormat p_166802_, int p_166803_, int p_166804_, VertexFormat.Mode p_166805_, VertexFormat.IndexType p_166806_, boolean p_166807_, boolean p_166808_)
-
-
Method Details
-
format
-
vertexCount
public int vertexCount() -
indexCount
public int indexCount() -
mode
-
indexType
-
vertexBufferSize
public int vertexBufferSize() -
indexBufferSize
private int indexBufferSize() -
bufferSize
public int bufferSize() -
indexOnly
public boolean indexOnly() -
sequentialIndex
public boolean sequentialIndex()
-