D3D12_COMMAND_QUEUE_DESC structure

Describes a command queue.

Syntax

typedef struct D3D12_COMMAND_QUEUE_DESC {
  D3D12_COMMAND_LIST_TYPE   Type;
  INT                       Priority;
  D3D12_COMMAND_QUEUE_FLAGS Flags;
  UINT                      NodeMask;
} D3D12_COMMAND_QUEUE_DESC;

Members

Type

Specifies one member of D3D12_COMMAND_LIST_TYPE.

Priority

The priority for the command queue, as a D3D12_COMMAND_QUEUE_PRIORITYenumeration constant to select normal or high priority.

Flags

Specifies any flags from the D3D12_COMMAND_QUEUE_FLAGS enumeration.

NodeMask

For single GPU operation, set this to zero. If there are multiple GPU nodes, set a bit to identify the node (the device's physical adapter) to which the command queue applies. Each bit in the mask corresponds to a single node. Only 1 bit must be set. Refer to Multi-Adapter.

Remarks

This structure is passed into CreateCommandQueue.

This structure is returned by ID3D12CommandQueue::GetDesc.

Requirements

   
Header d3d12.h

See Also

Core Structures