RwSetMaterialModes(RwMaterial *material, RwMaterialModes modes);
Description
Sets the Material modes of the material.
Arguments
material Pointer to the material.
modes A bitfield representing a Material mode (or "bitwise or" of modes).
Return Value
The argument material if successful, and NULL otherwise.
Comments
The following material modes are supported:
rwDOUBLE The material will be rendered double sided.
For further information see the Material Modes section in Chapter 2: Data Types.
Unlike RwAddMaterialModeToMaterial(), which simply adds one or more Material modes to a materials set of modes, RwSetMaterialModes() replaces a materials entire set of modes with those specified.
See Also