rprShapeSetVisibility

Sets all RPR_SHAPE_VISIBILITY_* flags to the visible argument value.

Calling rprShapeSetVisibilityFlag(xxx,visible); on each flag would lead to the same result.

rpr_status rprShapeSetVisibility(

rpr_shape shape,

rpr_bool visible);

Parameters

Parameter

Description

shape

The shape to set visibility for.

visible

Determines if the shape is visible or not.

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.