Radeon ProRender

rprShapeSetVisibilityInSpecular

Sets visibility flag for specular refleacted/refracted rays.

rpr_status rprShapeSetVisibilityInSpecular( 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.