RenderWare V2.1

Previous Page Index Next Page

RwBool

RwDestroyUserDraw(RwUserDraw *userdraw);

Description

Destroys the user-draw.

Arguments

userdraw Pointer to the user-draw.

Return Value

TRUE if successful, and FALSE otherwise.

Comments

If userdraw is owned by a clump it will be removed from the clump prior to being destroyed.

Note that RwDestroyClump() destroys any user-draw objects that belong to the clump being destroyed.

See Also

RwAddUserDrawToClump()

RwCreateUserDraw()

RwDestroyClump()

RwDuplicateUserDraw()

RwRemoveUserDrawFromClump()