clNew functions
[Standard functions]

Standard functions for allocating memory for CL structs. More...

Functions

CLcolourclNewColour (GLvoid)
CLvertexclNewVertex (GLvoid)
CLnormalclNewNormal (GLvoid)
CLtexcoordclNewTexCoord (GLvoid)
CLedgeflagclNewEdgeFlag (GLvoid)
CLmatrixclNewMatrix (GLvoid)
CLimageclNewImage (GLvoid)
CLlightclNewLight (GLvoid)
CLmaterialclNewMaterial (GLvoid)
CLtextureclNewTexture (GLvoid)
CLprimitivesetclNewPrimitiveSet (GLvoid)
CLmeshclNewMesh (GLvoid)
CLcontextclNewContext (GLvoid)
CLmodelclNewModel (GLvoid)

Detailed Description

The clNew functions are of the form:

  CL[name]* clNew[Name](GLvoid)
  

allocate memory for a CL struct. These functions are analogous to the standard "malloc" function. They return a pointer to the malloced space or NULL if the request fails. Unlike malloc, these functions do not return a a void* since the memory is known to be for a certain struct. These functions call their respective clInit functions to ensure that the variables are initialised to "safe" values.


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