d3d_model_create - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Creates a new 3d model and returns the index to it.

Parameters

  • none: This function has no paramaters.

Return Values

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

Example Call

// Create a model and start and end a primitive on it
mod = d3d_model_create();
d3d_model_primitive_begin(mod, pr_trianglestrip);
d3d_model_primitive_end(mod);

NOTOC

⚠️ **GitHub.com Fallback** ⚠️