rprShapeAttachRenderLayer

Adds a shape to a string named render layer. Also see rprContextAttachRenderLayer().

rpr_status rprShapeAttachRenderLayer(

rpr_shape shape,

rpr_char const * renderLayerString);

Parameters

Parameter

Description

shape

The shape to attach the render layer to.

renderLayerString

Render layer name to attach.

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.