RwDestroyMaterial(RwMaterial *material);
Description
Destroys the material.
Arguments
material Pointer to the material.
Return Value
TRUE if successful, and FALSE otherwise.
Comments
This function must not be used to destroy a polygons material (as obtained by a call to RwGetPolygonMaterial()), or a material from the material stack (as obtained by RwCurrentMaterial(), RwPopCurrentMaterial() or RwPushCurrentMaterial()).
See Also