Package com.mojang.blaze3d.vertex
Class VertexFormatElement
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormatElement
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final int
private final int
private final VertexFormatElement.Type
private final VertexFormatElement.Usage
-
Constructor Summary
ConstructorDescriptionVertexFormatElement
(int p_86037_, VertexFormatElement.Type p_86038_, VertexFormatElement.Usage p_86039_, int p_86040_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clearBufferState
(int p_166964_) boolean
final int
final int
getCount()
final int
getIndex()
final VertexFormatElement.Type
getType()
getUsage()
int
hashCode()
final boolean
void
setupBufferState
(int p_166966_, long p_166967_, int p_166968_) private boolean
supportsUsage
(int p_86043_, VertexFormatElement.Usage p_86044_) toString()
-
Field Details
-
type
-
usage
-
index
private final int index -
count
private final int count -
byteSize
private final int byteSize
-
-
Constructor Details
-
VertexFormatElement
public VertexFormatElement(int p_86037_, VertexFormatElement.Type p_86038_, VertexFormatElement.Usage p_86039_, int p_86040_)
-
-
Method Details
-
supportsUsage
-
getType
-
getUsage
-
getCount
public final int getCount() -
getIndex
public final int getIndex() -
toString
-
getByteSize
public final int getByteSize() -
isPosition
public final boolean isPosition() -
equals
-
hashCode
public int hashCode() -
setupBufferState
public void setupBufferState(int p_166966_, long p_166967_, int p_166968_) -
clearBufferState
public void clearBufferState(int p_166964_)
-