Radeon ProRender

rprSceneGetEnvironmentLight

Gets environment override as active in scene.

rpr_int rprSceneGetEnvironmentLight( rpr_scene scene,
  rpr_light out_light);

Parameters

Parameter Description
scene The scene to get environment light to for.
out_light Environment light.

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.