RenderWare V2.1

Previous Page Index Next Page

RwBool

RwDestroyScene(RwScene *scene);

Description

Destroys the scene and all its clumps and lights.

Arguments

scene Pointer to the scene.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

To prevent a clump or light from being destroyed, use RwRemoveClumpFromScene() or RwRemoveLightFromScene() before calling RwDestroyScene().

The default scene cannot be destroyed.

See Also

RwCreateScene()

RwDefaultScene()

RwDestroyClump()

RwDestroyLight()

RwRemoveClumpFromScene()

RwRemoveLightFromScene()