Radeon ProRender


Gets the current scene attached to the context.

A scene is a collection of objects including geometry, lights, cameras and volumes. It also contains all information required to shade these objects.

rpr_status rprContextGetScene( rpr_context arg0,
  rpr_scene * out_scene);


Parameter Description
context The context from which to obtain the scene.
out_scene A pointer to the scene object returned.


A pointer to a scene object.


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.