Radeon ProRender

rprHeteroVolumeSetFilter

Sets the filter for a heterogenous volume to nearest or linear.

rpr_int rprHeteroVolumeSetFilter( rpr_hetero_volume heteroVolume,
  rpr_hetero_volume_filter filter);

Parameters

Parameter Description
heteroVolume The heterogenous volume to set filter value for.
filter The type of filter to set.

Notes

This affects the interpolation of points within voxels of the volume: nearest is faster, linear is more accurate.

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.