rprSceneDetachShape

Detaches a shape object from a scene.

rpr_int rprSceneDetachShape(

rpr_scene scene,

rpr_shape shape);

Parameters

Parameter

Description

scene

The scene to detach a shape from.

shape

The shape to detach.

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.