VertexAttribute.Role

Role of this vertex attribute.

Values

ValueMeaning
POSITION

This attribute is a position.

COLOR

This attribute is a color.

TEX_COORD

This attribute is a texture coordinate.

NORMAL

This attribute is a normal.

GENERIC

This attribute is a generic vertex attribute

Meta