rprShapeSetReflectionCatcher

Sets reflection catcher flag. This overrides the material on an object and makes it a reflection catcher for compositing reflections onto the background.

rpr_status rprShapeSetReflectionCatcher(

rpr_shape shape,

rpr_bool reflectionCatcher);

Parameters

Parameter

Description

shape

The shape to set the reflection catcher flag for.

reflectionCatcher

Determines if the shape behaves as a reflection catcher.

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.