public class VertexField extends Object implements Comparable<VertexField>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(VertexField other) |
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
|
String |
toString()
Gets the string representation of
VertexField |
public int getDataType()
public VertexFieldSemantic getSemantic()
public int getIndex()
public int getOffset()
public int getSize()
public int compareTo(VertexField other)
compareTo
in interface Comparable<VertexField>
public String toString()
VertexField
Copyright © 2018. All rights reserved.