rprHeteroVolumeSetDensityGrid

Sets density data for a heterogenous volume. Grid data gives a lookup key to be used with lookup data.

rpr_status rprHeteroVolumeSetDensityGrid(

rpr_hetero_volume heteroVolume,

rpr_grid grid);

Parameters

Parameter

Description

heteroVolume

The heterogenous volume to set data on.

grid

Grid data to set.

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.