rprShapeSetShadowColor

Sets shadow color.

rpr_status rprShapeSetShadowColor(

rpr_shape shape,

rpr_float r,

rpr_float g,

rpr_float b);

Parameters

Parameter

Description

shape

The shape to set shadow color for.

r

Red component of the color.

g

Green component of the color.

b

Blue component of the color.

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.