rprObjectSetName

Sets an object name.

rpr_status rprObjectSetName(

void * node,

rpr_char const * name);

Parameters

Parameter

Description

node

The node to set the name for.

name

NULL terminated string name.

Notes

Any rpr_object type can have a name 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.