Package com.mojang.blaze3d.vertex
Class VertexFormatElement
java.lang.Object
com.mojang.blaze3d.vertex.VertexFormatElement
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private int
private VertexFormatElement.Type
private 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
int
int
getCount()
int
int
getIndex()
getType()
getUsage()
int
hashCode()
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_) -
getElementCount
public int getElementCount()
-