public class VertexField extends java.lang.Object implements java.lang.Comparable<VertexField>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VertexField other)
Compares this instance to a specified object and returns an indication of their relative values.
|
boolean |
equals(java.lang.Object obj)
Determines whether this instance and a specified object, which must also be a
VertexField object, have the same value. |
int |
getDataType()
Data type of this field.
|
int |
getIndex()
Index of this field in the vertex's layout with same semantic.
|
int |
getOffset()
The offset in bytes of this field.
|
VertexFieldSemantic |
getSemantic()
The usage semantic of this field.
|
int |
getSize()
The size in bytes of this field
|
int |
hashCode()
Returns the hash code for this string.
|
java.lang.String |
toString()
Gets the string representation of
VertexField |
public boolean equals(java.lang.Object obj)
VertexField
object, have the same value.equals
in class java.lang.Object
public int getDataType()
public VertexFieldSemantic getSemantic()
public int getIndex()
public int getOffset()
public int getSize()
public int compareTo(VertexField other)
compareTo
in interface java.lang.Comparable<VertexField>
public java.lang.String toString()
VertexField
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object