Radeon ProRender

rprHeteroVolumeSetEmissionLookup

Sets a lookup map array on the volume for light emission.

Values from the emission grid will reference a value in this mapping array. If a grid value is between two lookup array values, it will be linearly interpolated.

rpr_status rprHeteroVolumeSetEmissionLookup( rpr_hetero_volume heteroVolume,
  rpr_float const * ptr),
  rpr_uint n);

Parameters

Parameter Description
heteroVolume The heterogenous volume to set mapping on.
ptr An array of values to set.
n Length of the array.

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.