RenderWare V2.1

Previous Page Index Next Page

RwBool

RwSetSurfaceGeometrySampling(RwGeometrySampling type);

Description

Sets the geometry sampling type of the current material.

Arguments

type The geometry sampling type.

Return Value

TRUE if successful, and FALSE 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.

This function can only be called within the context of an RwModelBegin()RwModelEnd() block.

See Also

RwModelBegin()

RwModelEnd()

RwSetMaterialGeometrySampling()

RwSetPolygonGeometrySampling()

RwSetSurfaceLightSampling()