vertex_format_end()

From ENIGMA

Jump to: navigation, search

Description

Ends the declaration of a vertex buffer format and finalizes the declaration to be used for a call to vertex_submit. The function will return the id of the vertex format that has been declared since vertex_format_begin was first called.

Parameters

Parameter Description
none This function has no parameters.

Return Values

integer: Returns the id of the new vertex format declaration.

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