Main Page   Modules   Alphabetical List   Data Structures   Data Fields  

RpToonMaterial
[RpToon]


Data Structures

struct   RpToonMaterial

Functions

RpToonMaterial RpToonMaterialCreate (void)
void  RpToonMaterialDestroy (RpToonMaterial *mat)
void  RpToonMaterialSetPaintID (RpMaterial *mat, const RwChar *name)

Function Documentation

RpToonMaterial* RpToonMaterialCreate void   
 

RpToonMaterialCreate Creates a toon material with default values.

Returns:
A pointer to new material or NULL if there is an error.
See also:
RpToonMaterialDestroy
void RpToonMaterialDestroy RpToonMaterial   mat
 

RpToonMaterialDestroy Destroys a Toon Material.

Parameters:
mat  The new toon material to destroy.
Returns:
none.
See also:
RpToonMaterialCreate
void RpToonMaterialSetPaintID RpMaterial   mat,
const RwChar   name
 

RpToonMaterialSetPaintID is used to set a paint name to be associated with a material. This paint will then take precedence over the default paint associated with an RpToonGeo.

Parameters:
mat  the material
name  the paint name (NULL is allowed)
See also:
RpToonGeoForAllPaintIDs , RpToonGeoApplyPaintsInPaintDictionary

Criterion Software © 1993-2003 Criterion Software Limited. All rights reserved. Built Tue Apr 22 12:46:32 2003. Send Feedback
Converted from CHM to HTML with chm2web Pro 2.85 (unicode)