RenderWare V2.1

Previous Page Index Next Page

RwClump *

RwAddHintToClump(RwClump *clump, RwClumpHints hint);

Description

Adds a hint (or set of hints) to the clump. A clump’s hints enable RenderWare to render a scene containing that clump more efficiently.

Arguments

clump Pointer to the clump.

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

Return Value

The argument clump if successful, and NULL otherwise.

Comments

Currently, the following hints are supported:

• 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

RwAddHint()

RwGetClumpHints()

RwRemoveHintFromClump()

RwSetClumpHints()