RenderWare V2.1

Previous Page Index Next Page

RwClump *

RwSetClumpHints(RwClump *clump, RwClumpHints hints);

Description

Sets the hints of the clump to those given. A clump’s hints enable RenderWare to render a scene containing that clump more efficiently.

Arguments

clump Pointer to the clump.

hints A bitfield representing a hint (or "bitwise or" of hints).

Return Value

The argument clump if successful, and NULL otherwise.

Comments

Unlike RwAddHintToClump(), which simply adds one or more hints to a clump’s set of hints, RwSetClumpHints() replaces the entire set of hints of a clump with those specified.

The clump hints are:

• rwCONTAINER The clump spatially contains other clumps.

• rwHS Action should be taken to prevent hidden surfaces from being visible when the clump is rendered.

• rwEDITABLE The clump’s geometry is editable (its vertices can be moved and new vertices and polygons added).

See Also

RwAddHintToClump()

RwGetClumpHints()

RwRemoveHintFromClump()

RwSetHints()