rprSceneClear
Removes all objects from a scene. Also detaches the camera.
rpr_status rprSceneClear( |
rpr_scene scene); |
Parameters
Parameter |
Description |
---|---|
scene |
The scene to clear. |
Notes
Be sure to clear the selected scene of all objects: lights, geometry, cameras and textures.
rprSceneClear()
does not delete objects, this happens when an object’s reference counter is set to zero.
Return
Returns RPR_SUCCESS in case of success, or RPR_ERROR code if a problem was encountered.
To learn how to handle errors in AMD Radeon ProRender SDK, see Error Handling.