CLmodel Struct Reference

Defines a model. More...

#include <cl.h>


Data Fields

CLcontextcontext
unsigned int num_meshes
CLmesh ** meshes


Detailed Description

The CLmodel struct defines a model: a collection of meshes. The meshes are defined as indices to the meshes array of a CLcontext struct and a pointer to the context is stored so that the model can access them. This struct is provided because a CLmesh cannot represent an object with many different surface properties. The meshes defined by mesh_indices are not owned by the CLmodel. Thus when a model is deleted it does not delete the meshes it references.

For more information see CLcontext and CLmesh.

Definition at line 749 of file cl.h.


Generated on Thu Dec 27 13:53:41 2007 for CL by  doxygen 1.4.6