RenderWare V2.1

Previous Page Index Next Page

RwBool

RwAddHint(RwClumpHints hints);

Description

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

Arguments

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

Return Value

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

This function can only be called within the context of an RwClumpBegin()RwClumpEnd() block.

See Also

RwAddHintToClump()

RwClumpBegin()

RwClumpEnd()

RwRemoveHint()

RwSetHints()