D3D12_INDIRECT_ARGUMENT_TYPE Enumeration

Specifies the type of the indirect parameter.

Syntax

typedef enum D3D12_INDIRECT_ARGUMENT_TYPE {
  D3D12_INDIRECT_ARGUMENT_TYPE_DRAW,
  D3D12_INDIRECT_ARGUMENT_TYPE_DRAW_INDEXED,
  D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH,
  D3D12_INDIRECT_ARGUMENT_TYPE_VERTEX_BUFFER_VIEW,
  D3D12_INDIRECT_ARGUMENT_TYPE_INDEX_BUFFER_VIEW,
  D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT,
  D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT_BUFFER_VIEW,
  D3D12_INDIRECT_ARGUMENT_TYPE_SHADER_RESOURCE_VIEW,
  D3D12_INDIRECT_ARGUMENT_TYPE_UNORDERED_ACCESS_VIEW
} ;

Constants

D3D12_INDIRECT_ARGUMENT_TYPE_DRAW Indicates the type is a Draw call.
D3D12_INDIRECT_ARGUMENT_TYPE_DRAW_INDEXED Indicates the type is a DrawIndexed call.
D3D12_INDIRECT_ARGUMENT_TYPE_DISPATCH Indicates the type is a Dispatch call.
D3D12_INDIRECT_ARGUMENT_TYPE_VERTEX_BUFFER_VIEW Indicates the type is a vertex buffer view.
D3D12_INDIRECT_ARGUMENT_TYPE_INDEX_BUFFER_VIEW Indicates the type is an index buffer view.
D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT Indicates the type is a constant.
D3D12_INDIRECT_ARGUMENT_TYPE_CONSTANT_BUFFER_VIEW Indicates the type is a constant buffer view (CBV).
D3D12_INDIRECT_ARGUMENT_TYPE_SHADER_RESOURCE_VIEW Indicates the type is a shader resource view (SRV).
D3D12_INDIRECT_ARGUMENT_TYPE_UNORDERED_ACCESS_VIEW Indicates the type is an unordered access view (UAV).

Remarks

This enum is used by the D3D12_INDIRECT_ARGUMENT_DESC structure.

Requirements

   
Header d3d12.h

See Also

Core Enumerations