rifContextCreateCommandQueue

Creates a new command queue object associated with the context.

rif_int rifContextCreateCommandQueue(

rif_context context,

rif_command_queue* command_queue);

Parameters

Parameter

Input/Output

Description

context

input

A valid context object.

command_queue

output

A pointer to the command queue object which will be created if the function performs successfully.

Output

A pointer to a command queue object.

Return

Returns RIF_SUCCESS if the function is executed successfully, or RIF_ERROR code if a problem is encountered.

Errors

Possible error codes:

  • RIF_ERROR_INVALID_CONTEXT - context is not a valid context object.

  • RIF_ERROR_INVALID_PARAMETER - command_queue is nullptr.