Radeon ProRender


Creates a context.

rml_status rmlCreateDefaultContext( const rml_context_params* params);
  rml_context* context);




Parameter Input/Output Description
params input Context creation parameters, optional.
context output A pointer to a resulting context handle.

Return and Status Codes

Returns a valid context handle in case of success and status:

  • RML_OK if the operation is successful
  • RML_ERROR_BAD_PARAMETER if params->device_idx is incorrect or the context is NULL
  • RML_ERROR_INTERNAL in case of an internal error

To get more details in case of failure, call rmlGetLastError().

The context should be released with rmlReleaseContext().