rprLightSetGroupId

Sets an integer light group ID.

This parameter can be used with RPR_AOV_LIGHT_GROUP0, RPR_AOV_LIGHT_GROUP1

rpr_status rprLightSetGroupId(

rpr_light light,

rpr_uint groupId);

Parameters

Parameter

Description

light

The light to set group ID for.

groupId

Group ID value between 0 and 3, or -1 to remove the group ID.

Notes

Setting a groupID to 0,1,2 or 3 will allow using the corresponding AOV to show only the lighting from that light group.

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.