rprContextSetScene
Assigns a scene to the current rendering context.
The scene is a collection of objects and lights along with all the data required to shade those. The scene is used by the context to render the image.
rpr_status rprContextSetScene( |
rpr_context context, |
rpr_scene scene); |
Parameters
Parameter |
Description |
---|---|
context |
The context to which the scene will be attached. |
scene |
The scene to be set. |
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.