D3D12DDIARG_META_COMMAND_PARAMETER_DESC structure

Meta-command parameter descriptions.

Syntax

typedef struct D3D12DDIARG_META_COMMAND_PARAMETER_DESC {
  LPCWSTR                               Name;
  D3D12DDI_META_COMMAND_PARAMETER_TYPE  Type;
  D3D12DDI_META_COMMAND_PARAMETER_FLAGS Flags;
  D3D12DDI_RESOURCE_STATES              RequiredResourceState;
} D3D12DDIARG_META_COMMAND_PARAMETER_DESC;

Members

Name

The name of the meta-command parameter.

Type

The type of meta-command parameter, such as float or UINT64.

Flags

Flags that indicate whether the resource is used for input or output.

RequiredResourceState

Resources that indicate the expected state of the resource. This is specified for each resource in the meta-command definition.

Remarks

The type and state will be validated by the debug layer to ensure the parameters supplied during creation are setup correctly.

The driver will report the list of parameters and their type and the runtime will calculate a 4-byte aligned offset in a struct the user developer will pass these parameters in.

Requirements

   
Minimum supported client Windows 10, version 1809
Header d3d12umddi.h