rprShapeDetachRenderLayer

Removes a shape from a render layer. Also see rprContextDetachRenderLayer().

rpr_status rprShapeDetachRenderLayer(

rpr_shape shape,

rpr_char const * renderLayerString);

Parameters

Parameter

Description

shape

The shape to detach the render layer from.

renderLayerString

Render layer name 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.