rprContextCreateHeteroVolume

Creates an empty heterogeneous volume object.

rpr_status rprContextCreateHeteroVolume(

rpr_context context,

rpr_hetero_volume * out_heteroVolume);

Parameters

Parameter

Description

context

The current rendering context.

out_heteroVolume

A pointer to the created heterogeneous volume object.

Notes

Data for the heterogeneous volume can be set with rprHeteroVolumeSet*() functions.

Output

A pointer to a heterogeneous volume object.

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.