Radeon ProRender


Detaches a light from a scene.

rpr_status rprSceneDetachLight( rpr_scene scene,
  rpr_light light);


Parameter Description
scene The scene to detach a light from.
light The light to detach.


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.