D3D12DDI_INDIRECT_ARGUMENT_DESC structure (d3d12umddi.h)

Describes an indirect argument (an indirect parameter), for use with a command signature.

Syntax

typedef struct D3D12DDI_INDIRECT_ARGUMENT_DESC {
  D3D12DDI_INDIRECT_ARGUMENT_TYPE Type;
  union {
    struct {
      UINT Slot;
    } VertexBuffer;
    struct {
      UINT RootParameterIndex;
      UINT DestOffsetIn32BitValues;
      UINT Num32BitValuesToSet;
    } Constant;
    struct {
      UINT RootParameterIndex;
    } ConstantBufferView;
    struct {
      UINT RootParameterIndex;
    } ShaderResourceView;
    struct {
      UINT RootParameterIndex;
    } UnorderedAccessView;
  };
} D3D12DDI_INDIRECT_ARGUMENT_DESC;

Members

Type

A single D3D12DDI_INDIRECT_ARGUMENT_TYPE enumeration constant.

VertexBuffer

VertexBuffer.Slot

Specifies the slot containing the vertex buffer address.

Constant

Constant.RootParameterIndex

Specifies the root index of the constant.

Constant.DestOffsetIn32BitValues

The offset, in 32-bit values, to set the first constant of the group. Supports multi-value constants at a given root index. Root constant entries must be sorted from smallest to largest DestOffsetIn32BitValues.

Constant.Num32BitValuesToSet

The number of 32-bit constants that are set at the given root index. Supports multi-value constants at a given root index.

ConstantBufferView

ConstantBufferView.RootParameterIndex

Specifies the root index of the CBV.

ShaderResourceView

ShaderResourceView.RootParameterIndex

Specifies the root index of the SRV.

UnorderedAccessView

UnorderedAccessView.RootParameterIndex

Specifies the root index of the UAV.

Remarks

Use this structure with the [D3D12DDIARG_CREATE_COMMAND_SIGNATURE_0001] structure.

See the Mesh Shader Specification for more information.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1903
Header d3d12umddi.h (include D3d12umddi.h)