.\" Automatically generated by Pandoc 3.1.3 .\" .\" Define V font for inline verbatim, using C font in formats .\" that render this, and otherwise B font. .ie "\f[CB]x\f[]"x" \{\ . ftr V B . ftr VI BI . ftr VB B . ftr VBI BI .\} .el \{\ . ftr V CR . ftr VI CI . ftr VB CB . ftr VBI CBI .\} .TH "al_create_vertex_decl" "3alleg5" "" "Allegro reference manual" "" .hy .SH NAME .PP al_create_vertex_decl - Allegro 5 API .SH SYNOPSIS .IP .nf \f[C] #include ALLEGRO_VERTEX_DECL* al_create_vertex_decl(const ALLEGRO_VERTEX_ELEMENT* elements, int stride) \f[R] .fi .SH DESCRIPTION .PP Creates a vertex declaration, which describes a custom vertex format. .PP \f[I]Parameters:\f[R] .IP \[bu] 2 elements - An array of ALLEGRO_VERTEX_ELEMENT(3alleg5) structures. .IP \[bu] 2 stride - Size of the custom vertex structure .PP \f[I]Returns:\f[R] Newly created vertex declaration. .SH SEE ALSO .PP ALLEGRO_VERTEX_ELEMENT(3alleg5), ALLEGRO_VERTEX_DECL(3alleg5), al_destroy_vertex_decl(3alleg5)