Radeon ProRender


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);


Parameter Description
scene The scene to set the environment light for.
in_light Environment light to set.


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.