Radeon ProRender


Sets radiant power of an IES light source. Multiplied by the power in the IES data.

rpr_status rprIESLightSetRadiantPower3f( rpr_light light,
  rpr_float r,
  rpr_float g,
  rpr_float b);


Parameter Description
light The light to set radiant power for.
r The Red component of the radiant power.
g The Green component of the radiant power.
b The Blue component of the radiant power.


RGB values can go behind the range of [0;1].


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.