vertex_format_begin()

From ENIGMA

Jump to: navigation, search

Description

Begins the declaration of a new vertex buffer format. This should precede the creation of any vertex buffers and must finish with a call to vertex_format_end.

Parameters

Parameter Description
none This function has no parameters.

Return Values

void: This function does not return anything.

Example Call

// demonstrates beginning and ending a new vertex format
vertex_format_begin();
vertex_format_add_position();
vertex_format_add_color();
vf_position_color = vertex_format_end();
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox