RenderWare V2.1

Previous Page Index Next Page

RwGeometrySampling

RwGetMaterialGeometrySampling(RwMaterial *material);

Description

Retrieves the material’s geometry sampling type.

Arguments

material Pointer to the material.

Return Value

The material’s geometry sampling type if successful, and rwNAGEOMETRYSAMPLING otherwise.

Comments

The geometry sampling types are:

• rwPOINTCLOUD Render geometry as a cloud of points.

• rwWIREFRAME Render geometry as a wireframe of polygon edges.

• rwSOLID Render geometry as a solid bounded by filled polygons.

See Also

RwGetMaterialLightSampling()

RwGetPolygonGeometrySampling()

RwSetMaterialGeometrySampling()