> ## 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_SIGNATURE_DESC

> Describes the arguments (parameters) of a command signature.

Describes the arguments (parameters) of a command signature.

## Syntax

```cpp theme={null}
typedef struct D3D12_COMMAND_SIGNATURE_DESC
{
    UINT ByteStride;
    UINT NumArgumentDescs;
    const D3D12_INDIRECT_ARGUMENT_DESC  pArgumentDescs;
    UINT NodeMask;
} D3D12_COMMAND_SIGNATURE_DESC
```

### Members

*ByteStride*\
Type: UINT

Specifies the size of each command in the drawing buffer, in bytes.

*NumArgumentDescs*\
Type: UINT

Specifies the number of arguments in the command signature.

*pArgumentDescs*\
Type: const D3D12\_INDIRECT\_ARGUMENT\_DESC \*

An array of [D3D12\_INDIRECT\_ARGUMENT\_DESC](/reference/graphics/d3d12_x/structs/d3d12_indirect_argument_desc) structures,
containing details of the arguments, including whether the argument is a vertex buffer, constant, constant buffer view, shader resource view, or unordered access view.

*NodeMask*\
Type: UINT

For single GPU operation, set this to zero. If there are multiple GPU nodes, set bits to identify the nodes (the  device's physical adapters) for which the command signature is to apply.
Each bit in the mask corresponds to a single node.
Refer to [Multi-adapter systems](https://learn.microsoft.com/en-us/windows/win32/direct3d12/multi-engine).

## Remarks

Use this structure by [CreateCommandSignature](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createcommandsignature_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

- [CreateCommandSignature](/reference/graphics/d3d12/interfaces/id3d12device/methods/id3d12device_createcommandsignature_public.md)
- [D3D12_ROOT_SIGNATURE_DESC](/reference/graphics/d3d12/structs/d3d12_root_signature_desc_public.md)
- [D3D12_VERSIONED_ROOT_SIGNATURE_DESC](/reference/graphics/d3d12/structs/d3d12_versioned_root_signature_desc_public.md)
- [D3D12_ROOT_SIGNATURE_DESC1](/reference/graphics/d3d12/structs/d3d12_root_signature_desc1_public.md)
- [ID3D12CommandSignature](/reference/graphics/d3d12/interfaces/id3d12commandsignature/id3d12commandsignature_public.md)
