Radeon ProRender

rprShapeSetObjectID

Sets object ID (mainly for debugging).

rpr_status rprShapeSetObjectID( rpr_shape shape,
  rpr_uint objectID);

Parameters

Parameter Description
shape The shape to set object ID for.
objectID The object ID to set.

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.