rprHeteroVolumeSetAlbedo

Sets the color value (R,G,B) for a heterogenous volume.

rpr_int rprHeteroVolumeSetAlbedo(

rpr_hetero_volume heteroVolume,

rpr_float r,

rpr_float g,

rpr_float b);

Parameters

Parameter

Description

heteroVolume

The heterogenous to set a color value for.

r

The Red component of a color value.

g

The Green component of a color value.

b

The Blue component of a color value.

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.