rprObjectDelete

Deletes an object from memory.

rpr_status rprObjectDelete(

void * obj);

Parameters

Parameter

Description

obj

The object to delete.

Notes

Make sure that the deleted object will not be used after calling rprObjectDelete. This will cause errors.

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.

Errors

Possible error codes:

  • RPR_ERROR_OUT_OF_SYSTEM_MEMORY

  • RPR_ERROR_OUT_OF_VIDEO_MEMORY