public class VertexFormat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableList<VertexFormatElement> |
elements |
private it.unimi.dsi.fastutil.ints.IntList |
offsets |
private int |
vertexSize |
Constructor and Description |
---|
VertexFormat(com.google.common.collect.ImmutableList<VertexFormatElement> elementsIn) |
Modifier and Type | Method and Description |
---|---|
void |
clearBufferState() |
boolean |
equals(java.lang.Object p_equals_1_) |
com.google.common.collect.ImmutableList<VertexFormatElement> |
getElements() |
int |
getIntegerSize() |
int |
getOffset(int index) |
int |
getSize() |
boolean |
hasColor() |
int |
hashCode() |
boolean |
hasNormal() |
boolean |
hasPosition() |
boolean |
hasUV(int which) |
void |
setupBufferState(long pointerIn) |
java.lang.String |
toString() |
private final com.google.common.collect.ImmutableList<VertexFormatElement> elements
private final it.unimi.dsi.fastutil.ints.IntList offsets
private final int vertexSize
public VertexFormat(com.google.common.collect.ImmutableList<VertexFormatElement> elementsIn)
public java.lang.String toString()
toString
in class java.lang.Object
public int getIntegerSize()
public int getSize()
public com.google.common.collect.ImmutableList<VertexFormatElement> getElements()
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)
public void clearBufferState()
public int getOffset(int index)
public boolean hasPosition()
public boolean hasNormal()
public boolean hasColor()
public boolean hasUV(int which)