rprCurveSetVisibility

Sets all RPR_CURVE_VISIBILITY_* flags to the visible argument value.

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

rpr_status rprCurveSetVisibility(

rpr_curve curve,

rpr_bool visible);

Parameters

Parameter

Description

curve

The curve 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.