public class VertexFormat
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
colorElementOffset |
private java.util.List<VertexFormatElement> |
elements |
private int |
hashCode |
private static org.apache.logging.log4j.Logger |
LOGGER |
private int |
nextOffset |
private int |
normalElementOffset |
private java.util.List<java.lang.Integer> |
offsets |
private java.util.List<java.lang.Integer> |
uvOffsetsById |
Constructor and Description |
---|
VertexFormat() |
VertexFormat(VertexFormat vertexFormatIn) |
Modifier and Type | Method and Description |
---|---|
VertexFormat |
addElement(VertexFormatElement element) |
void |
clear() |
boolean |
equals(java.lang.Object p_equals_1_) |
int |
getColorOffset() |
VertexFormatElement |
getElement(int index) |
int |
getElementCount() |
java.util.List<VertexFormatElement> |
getElements() |
int |
getIntegerSize() |
int |
getNextOffset() |
int |
getNormalOffset() |
int |
getOffset(int index) |
int |
getUvOffsetById(int id) |
boolean |
hasColor() |
int |
hashCode() |
boolean |
hasNormal() |
private boolean |
hasPosition() |
boolean |
hasUvOffset(int id) |
java.lang.String |
toString() |
private static final org.apache.logging.log4j.Logger LOGGER
private final java.util.List<VertexFormatElement> elements
private final java.util.List<java.lang.Integer> offsets
private int nextOffset
private int colorElementOffset
private final java.util.List<java.lang.Integer> uvOffsetsById
private int normalElementOffset
private int hashCode
public VertexFormat(VertexFormat vertexFormatIn)
public VertexFormat()
public void clear()
public VertexFormat addElement(VertexFormatElement element)
public boolean hasNormal()
public int getNormalOffset()
public boolean hasColor()
public int getColorOffset()
public boolean hasUvOffset(int id)
public int getUvOffsetById(int id)
public java.lang.String toString()
toString
in class java.lang.Object
private boolean hasPosition()
public int getIntegerSize()
public int getNextOffset()
public java.util.List<VertexFormatElement> getElements()
public int getElementCount()
public VertexFormatElement getElement(int index)
public int getOffset(int index)
public boolean equals(java.lang.Object p_equals_1_)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object