Radeon ProRender


Sets the camera for a scene.

This is the main camera which for rays generation for the scene.

rpr_status rprSceneSetCamera( rpr_scene scene,
  rpr_camera camera);


Parameter Description
scene The scene for which the camera will be set
camera The camera to be applied to the scene.


The camera needs to be set before rendering.


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.