rprShapeSetSubdivisionCreaseWeight
Sets a subdivision crease weight factor for a shape.
rpr_status rprShapeSetSubdivisionCreaseWeight( |
rpr_shape shape, |
rpr_float factor); |
Parameters
Parameter |
Description |
---|---|
shape |
The shape to set subdivision crease weight for. |
factor |
The subdivision crease weight factor to set. |
Notes
Greater values make corners and edges more pointy.
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.