rprShapeSetObjectGroupID

Sets object group ID for output in GroupID AOV for compositing.

rpr_status rprShapeSetObjectGroupID(

rpr_shape shape,

rpr_uint objectGroupID);

Parameters

Parameter

Description

shape

The shape to set object group ID for.

objectGroupID

The object group ID to set.

Notes

The output color of a group ID can be specified with rprContextSetAOVindexLookup().

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.