rprHeteroVolumeSetDensityScale

Scales all density lookup values by scale value.

rpr_status rprHeteroVolumeSetDensityScale(

rpr_hetero_volume heteroVolume,

rpr_float scale);

Parameters

Parameter

Description

heteroVolume

The heterogenous volume to set data on.

scale

The amount of scale.

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.