RwAddMaterialModeToPolygon(RwPolygon3d
*polygon,
RwMaterialModes mode);
Description
Adds the given material mode (or modes) to the polygons material.
Arguments
polygon Pointer to the polygon.
Mode A bitfield representing a material mode (or "bitwise or" of modes).
Return Value
The argument polygon 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.
See Also