> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_COMMAND_QUEUE_DESC

> Describes a command queue.

Describes a command queue.

## Syntax

```cpp theme={null}
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*\
Type: D3D12\_COMMAND\_LIST\_TYPE

Specifies one member of [D3D12\_COMMAND\_LIST\_TYPE](/reference/graphics/d3d12_x/enums/d3d12_command_list_type).

*Priority*\
Type: INT

The priority for the command queue, as a
[D3D12\_COMMAND\_QUEUE\_PRIORITY](/reference/graphics/d3d12/enums/d3d12_command_queue_priority_public) enumeration constant to select normal or high priority.

*Flags*\
Type: D3D12\_COMMAND\_QUEUE\_FLAGS

Specifies any flags from the [D3D12\_COMMAND\_QUEUE\_FLAGS](/reference/graphics/d3d12_x/enums/d3d12_command_queue_flags) enumeration.

*NodeMask*\
Type: UINT

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](https://learn.microsoft.com/en-us/windows/win32/direct3d12/multi-engine).

## Remarks

This structure is passed into [CreateCommandQueue](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createcommandqueue_public).

This structure is returned by [ID3D12CommandQueue::GetDesc](/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_getdesc_public).

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Structures](https://learn.microsoft.com/en-us/windows/win32/direct3d12/direct3d-12-structures)


## Related topics

- [ID3D12CommandQueue::GetDesc](/reference/graphics/d3d12/interfaces/id3d12commandqueue/methods/id3d12commandqueue_getdesc_public.md)
- [CreateCommandQueue](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createcommandqueue_public.md)
- [CreateCommandQueue1 (XBOX Series consoles)](/reference/graphics/d3d12/interfaces/id3d12device9/methods/id3d12device9_createcommandqueue1_public.md)
- [D3D12_COMMAND_QUEUE_PRIORITY](/reference/graphics/d3d12/enums/d3d12_command_queue_priority_public.md)
- [D3D12_META_COMMAND_DESC](/reference/graphics/d3d12/structs/d3d12_meta_command_desc_public.md)
