Radeon ProRender

rprShapeSetVisibility

Sets visibility for a shape.

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.