RenderWare V2.1

Previous Page Index Next Page

RwPolygon3d *

RwRemoveMaterialModeFromPolygon(RwPolygon3d *polygon,
RwMaterialModes mode);

Description

Removes a Material mode (or modes) from the polygon’s 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

RwAddMaterialModeToMaterial()

RwAddMaterialModeToPolygon()

RwAddMaterialModeToSurface()

RwGetMaterialModes()

RwGetPolygonMaterialModes()

RwRemoveMaterialModeFromMaterial()

RwRemoveMaterialModeFromPolygon()

RwRemoveMaterialModeFromSurface()

RwSetMaterialModes()

RwSetPolygonMaterialModes()

RwSetSurfaceMaterialModes()