d3d_model_create(vbot)

From ENIGMA

Jump to: navigation, search

Description

Creates a new 3d model with the given vertex buffer type (this parameter does need to be passed) and returns the index to it.

Parameters

Parameter Description
vbot vertex buffer object type

Return Values

integer: Returns the integer index of the newly created model.

Example Call

// Create a model and start and end a primitive on it
mymod = d3d_model_create();
d3d_model_primitive_begin(mymod, pr_trianglestrip);
d3d_model_primitive_end(mymod);
Personal tools
Namespaces
Variants
Actions
Navigation
ENIGMA
Other
Toolbox