D3D12_COMMAND_QUEUE_DESC structure (d3d12.h)

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_PRIORITY enumeration 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 systems.

Remarks

This structure is passed into CreateCommandQueue.

This structure is returned by ID3D12CommandQueue::GetDesc.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures