rprSceneSetEnvironmentLight
Sets and unsets an environment light to a scene. Note that only only one environment light can be attached to the scene.
| rpr_int rprSceneSetEnvironmentLight( | rpr_scene scene, | 
| rpr_light in_light); | 
Parameters
| Parameter | Description | 
|---|---|
| scene | The scene to set the environment light for. | 
| in_light | Environment light to set. | 
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.