public class VertexFormatElement
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
VertexFormatElement.Type |
static class |
VertexFormatElement.Usage |
Modifier and Type | Field and Description |
---|---|
private int |
elementCount |
private int |
index |
private static org.apache.logging.log4j.Logger |
LOGGER |
private int |
sizeBytes |
private VertexFormatElement.Type |
type |
private VertexFormatElement.Usage |
usage |
Constructor and Description |
---|
VertexFormatElement(int indexIn,
VertexFormatElement.Type typeIn,
VertexFormatElement.Usage usageIn,
int count) |
Modifier and Type | Method and Description |
---|---|
void |
clearBufferState() |
boolean |
equals(java.lang.Object p_equals_1_) |
int |
getElementCount() |
int |
getIndex() |
int |
getSize() |
VertexFormatElement.Type |
getType() |
VertexFormatElement.Usage |
getUsage() |
int |
hashCode() |
private boolean |
isFirstOrUV(int indexIn,
VertexFormatElement.Usage usageIn) |
boolean |
isPositionElement() |
void |
setupBufferState(long pointerIn,
int strideIn) |
java.lang.String |
toString() |
private static final org.apache.logging.log4j.Logger LOGGER
private final VertexFormatElement.Type type
private final VertexFormatElement.Usage usage
private final int index
private final int elementCount
private final int sizeBytes
public VertexFormatElement(int indexIn, VertexFormatElement.Type typeIn, VertexFormatElement.Usage usageIn, int count)
private boolean isFirstOrUV(int indexIn, VertexFormatElement.Usage usageIn)
public final VertexFormatElement.Type getType()
public final VertexFormatElement.Usage getUsage()
public final int getElementCount()
public final int getIndex()
public java.lang.String toString()
toString
in class java.lang.Object
public final int getSize()
public final boolean isPositionElement()
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setupBufferState(long pointerIn, int strideIn)
public void clearBufferState()