rprSceneGetCameraRight

Gets the right camera attached to a scene.

rpr_status rprSceneGetCameraRight(

rpr_scene scene,

rpr_camera * out_camera);

Parameters

Parameter

Description

scene

The scene to get camera from.

out_camera

A pointer to the camera object returned.

Output

A pointer to a camera object, or NULL otherwise.

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.