1al_create_vertex_decl(3)                              al_create_vertex_decl(3)
2
3
4

NAME

6       al_create_vertex_decl - Allegro 5 API
7

SYNOPSIS

9              #include <allegro5/allegro_primitives.h>
10
11              ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* elements, int stride)
12

DESCRIPTION

14       Creates a vertex declaration, which describes a custom vertex format.
15
16       Parameters:
17
18       · elements - An array of ALLEGRO_VERTEX_ELEMENT(3) structures.
19
20       · stride - Size of the custom vertex structure
21
22       Returns: Newly created vertex declaration.
23

SEE ALSO

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)
Impressum