rprCurveSetMaterial
Sets material for a curve object.
rpr_status rprCurveSetMaterial( |
rpr_curve curve, |
rpr_material_node material); |
Parameters
Parameter |
Description |
---|---|
curve |
The curve to which the material will be applied. |
material |
The material node to be applied. |
Notes
Similar to rprShapeSetMaterial().
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.