RenderWare V2.1

Previous Page Index Next Page

RwMaterialModes

RwGetPolygonMaterialModes(RwPolygon3d *polygon);

Description

Retrieves the Material mode (or modes) of the polygon’s material.

Arguments

polygon Pointer to the polygon.

Return Value

The polygon’s material’s Material modes if successful. Errors can be checked for using RwGetError().

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()