Radeon ProRender


Sets three components (R,G,B) for the radiant power of a specified point light source.

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


Parameter Description
light The light for which radiant power will be set.
r The Red component of a radiant power.
g The Green component of a radiant power.
b The Blue component of a radiant power.


AMD Radeon ProRender measures radiant power in Watts, with a close approximation to real-world illuminative powers. Note, the RGB values can go beyond 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.