FreeBSD Manual Pages
ALLEGRO_VERTEX(3) Library Functions Manual ALLEGRO_VERTEX(3) NAME ALLEGRO_VERTEX - Allegro 5 API SYNOPSIS #include <allegro5/allegro_primitives.h> typedef struct ALLEGRO_VERTEX ALLEGRO_VERTEX; DESCRIPTION Defines the generic vertex type, with a 3D position, color and texture co- ordinates for a single texture. Note that at this time, the software dri- ver for this addon cannot render 3D primitives. If you want a 2D only primitive, set z to 0. Note that you must initialize all members of this struct when you're using it. One exception to this rule are the u and v variables which can be left uninitialized when you are not using textures. Fields: * x, y, z - Position of the vertex (float) * u, v - Texture coordinates measured in pixels (float) * color - ALLEGRO_COLOR(3) structure, storing the color of the vertex SEE ALSO ALLEGRO_PRIM_ATTR(3) Allegro reference manual ALLEGRO_VERTEX(3)
NAME | SYNOPSIS | DESCRIPTION | SEE ALSO
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ALLEGRO_VERTEX&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>
