D3D12DDIARG_META_COMMAND_PARAMETER_DESC structure (d3d12umddi.h)

D3D12DDIARG_META_COMMAND_PARAMETER_DESC contains the 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

A [D3D12DDI_META_COMMAND_PARAMETER_TYPE] value that indicates the type of meta-command parameter.

Flags

A [D3D12DDI_META_COMMAND_PARAMETER_FLAGS] value that indicate whether the resource is used for input or output.

RequiredResourceState

A D3D12DDI_RESOURCE_STATES value that indicates the expected state of the resource. This is specified for each resource in the meta-command definition.

Remarks

The debug layer validates the type and state to ensure the parameters supplied during creation are set up correctly.

The driver reports the list of parameters and their type and the runtime calculates a 4-byte aligned offset in a structure that the user developer passes these parameters in.

Requirements

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

See also

PFND3D12DDI_ENUMERATE_META_COMMAND_PARAMETERS_0052