Radeon ProRender


Sets a subdivision factor for a shape. The shape will be subdivided factor times.

rpr_status rprShapeSetSubdivisionFactor( rpr_shape shape,
  rpr_uint factor);


Parameter Description
shape The shape to set a subdivision factor for.
factor The number of subdivision steps to do (rarely more than 3-5).


In most cases, using the adaptive subdivision is preferred. The reason is that it will always subdivide objects N times, even if they occupy less than a pixel in the image.


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.