D3D12_INDIRECT_ARGUMENT_DESC structure

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

Syntax

typedef struct D3D12_INDIRECT_ARGUMENT_DESC {
  D3D12_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;
  };
};

Members

Type

A single D3D12_INDIRECT_ARGUMENT_TYPE enumeration constant.

__unnamed_union_0727_11

__unnamed_union_0727_11.VertexBuffer

__unnamed_union_0727_11.VertexBuffer.Slot

__unnamed_union_0727_11.Constant

__unnamed_union_0727_11.Constant.RootParameterIndex

__unnamed_union_0727_11.Constant.DestOffsetIn32BitValues

__unnamed_union_0727_11.Constant.Num32BitValuesToSet

__unnamed_union_0727_11.ConstantBufferView

__unnamed_union_0727_11.ConstantBufferView.RootParameterIndex

__unnamed_union_0727_11.ShaderResourceView

__unnamed_union_0727_11.ShaderResourceView.RootParameterIndex

__unnamed_union_0727_11.UnorderedAccessView

__unnamed_union_0727_11.UnorderedAccessView.RootParameterIndex

Remarks

Use this structure with the D3D12_COMMAND_SIGNATURE_DESC structure.

Requirements

   
Header d3d12.h

See Also

Core Structures

Example Root Signatures