D3D12_COMMAND_SIGNATURE_DESC structure (d3d12.h)

Describes the arguments (parameters) of a command signature.

Syntax

typedef struct D3D12_COMMAND_SIGNATURE_DESC {
  UINT                               ByteStride;
  UINT                               NumArgumentDescs;
  const D3D12_INDIRECT_ARGUMENT_DESC *pArgumentDescs;
  UINT                               NodeMask;
} D3D12_COMMAND_SIGNATURE_DESC;

Members

ByteStride

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

NumArgumentDescs

Specifies the number of arguments in the command signature.

pArgumentDescs

An array of 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

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.

Remarks

Use this structure by CreateCommandSignature.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures