rprContextCreateScene
Creates a scene.
The scene serves as a container for lights and objects.
rpr_status rprContextCreateScene( |
rpr_context context, |
rpr_scene * out_scene); |
Parameters
Parameter |
Description |
---|---|
context |
The context to create a scene for. |
out_scene |
A pointer to the created scene object. |
Notes
rprContextSetScene() must also be run to render a scene.
Output
A pointer to a scene object.
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.