RenderWare V2.1

Previous Page Index Next Page

RwUserDraw *

RwSetUserDrawData(RwUserDraw *userdraw, void *data);

Description

Sets the user-draw’s user data pointer.

Arguments

userdraw Pointer to the user-draw.

data User data pointer.

Return Value

The argument userdraw if successful, and NULL otherwise.

Comments

data is passed as the fourth parameter to the user-draw’s call-back function when the user-draw is being rendered.

See Also

RwGetUserDrawData()

RwSetUserDrawCallback()