Radeon ProRender

rprSceneAttachLight

Attaches a light to a scene.

rpr_status rprSceneAttachLight( rpr_scene scene,
  rpr_light light);

Parameters

Parameter Description
scene The scene to attach a light to.
light The light to attach.

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.