rprShapeSetSubdivisionAutoRatioCap
Enables or disables the auto ratio cap for subdivision.
rpr_status rprShapeSetSubdivisionAutoRatioCap( |
rpr_shape shape, |
rpr_float autoRatioCap); |
Parameters
Parameter |
Description |
---|---|
shape |
The shape to set an auto ratio cap for. |
autoRatioCap |
A value from 0.0 to 1.0. |
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.