Radeon ProRender

rprContextClearMemory

Clears all video memory used by the context.

This function should be called after all context objects have been destroyed. It guarantees that all context memory is freed, and returns the context to its initial state.

rpr_status rprContextClearMemory( rpr_context context);

Parameters

Parameter Description
context The current rendering context.

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_INTERNAL_ERROR