rprSpotLightSetRadiantPower3f

Sets three components for the radiant power of a specified spot light source.

rpr_status rprSpotLightSetRadiantPower3f(

rpr_light light,

rpr_float r,

rpr_float g,

rpr_float b);

Parameters

Parameter

Description

light

The light for which radiant power will be set.

r

The Red component of the radiant power.

g

The Green component of the radiant power.

b

The Blue component of the radiant power.

Notes

AMD Radeon ProRender measures radiant power in Watts, with a close approximation to real-world illuminative powers. Values can be > 1.

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.