rprSceneDetachLight

Detaches a light from a scene.

rpr_status rprSceneDetachLight(

rpr_scene scene,

rpr_light light);

Parameters

Parameter

Description

scene

The scene to detach a light from.

light

The light to detach.

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.