public enum VertexAttribute.Usage
- Object
- Enum<VertexAttribute.Usage>
- VertexAttribute.Usage
ImplementsComparable<VertexAttribute.Usage>
The semantic meaning of a vertex attribute. The engine binds each usage
to a known shader input and a known purpose in the generated materials.
Enum constants
POSITION | Object space vertex position. |
NORMAL | Object space vertex normal. |
TEXCOORD | Primary texture coordinate. |
COLOR | Per vertex color. |
Methods
public static VertexAttribute.Usage[] values() | |
public static VertexAttribute.Usage valueOf(String name) |
Inherited methods
Enum constant details
POSITION
POSITIONObject space vertex position. Typically 3 float components.
NORMAL
NORMALObject space vertex normal. Typically 3 float components.
TEXCOORD
TEXCOORDPrimary texture coordinate. Typically 2 float components.
COLOR
COLORPer vertex color. Typically 4 components.
Method details
values
public static VertexAttribute.Usage[] values()valueOf
public static VertexAttribute.Usage valueOf(String name)