1al_create_vertex_decl(3) Library Functions Manual al_create_vertex_decl(3)
2
3
4
6 al_create_vertex_decl
7
9 #include <allegro5/allegro_primitives.h>
10
11 ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* elements, int stride)
12
14 Creates a vertex declaration, which describes a custom vertex format.
15
16 Parameters:
17
18 · elements - An array of ALLEGRO_VERTEX_ELEMENT structures.
19
20 · stride - Size of the custom vertex structure
21
22 Returns: Newly created vertex declaration.
23
25 ALLEGRO_VERTEX_ELEMENT(3), ALLEGRO_VERTEX_DECL(3), al_destroy_ver‐
26 tex_decl(3)
27
28
29
30Allegro reference manual al_create_vertex_decl(3)