rprShapeSetVolumeMaterial
Sets shape volume material.
| rpr_status rprShapeSetVolumeMaterial( | rpr_shape shape, | 
| rpr_material_node node); | 
Parameters
| Parameter | Description | 
|---|---|
| shape | The shape to set volume material for. | 
| node | The volume material node to set. | 
Notes
The only volume material is RPR_MATERIAL_NODE_VOLUME.
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.