ALLEGRO_PRIM_ATTR
typedef enum ALLEGRO_PRIM_ATTR
Introduced in 5.0.0
Enumerates the types of vertex attributes that a custom vertex may have.
ALLEGRO_PRIM_POSITION - Position information, can be stored in any supported fashion
ALLEGRO_PRIM_COLOR_ATTR - Color information, stored in an ALLEGRO_COLOR. The storage field of ALLEGRO_VERTEX_ELEMENT is ignored
ALLEGRO_PRIM_TEX_COORD - Texture coordinate information, can be stored only in ALLEGRO_PRIM_FLOAT_2 and ALLEGRO_PRIM_SHORT_2. These coordinates are normalized by the width and height of the texture, meaning that the bottom-right corner has texture coordinates of (1, 1).
ALLEGRO_PRIM_TEX_COORD_PIXEL - Texture coordinate information, can be stored only in ALLEGRO_PRIM_FLOAT_2 and ALLEGRO_PRIM_SHORT_2. These coordinates are measured in pixels.
See also: ALLEGRO_VERTEX_DECL, ALLEGRO_PRIM_STORAGE