Radeon ProRender


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);


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.


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


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.