RenderWare V2.1

Previous Page Index Next Page

RwMaterial *

RwSetMaterialGeometrySampling(RwMaterial *material, RwGeometrySampling type);

Description

Sets the material’s geometry sampling type.

Arguments

material Pointer to the material.

type The geometry sampling type.

Return Value

The argument material if successful, and NULL 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()

RwSetMaterialLightSampling()

RwSetPolygonGeometrySampling()

RwSetSurfaceGeometrySampling()