RenderWare V2.1

Previous Page Index Next Page

RwGeometrySampling

RwGetPolygonGeometrySampling(RwPolygon3d *polygon);

Description

Retrieves the geometry sampling type of the polygon’s material.

Arguments

polygon Pointer to the polygon.

Return Value

The geometry sampling type of the polygon’s material 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

RwGetMaterialGeometrySampling()

RwGetPolygonLightSampling()

RwSetPolygonGeometrySampling()