D3D12_META_COMMAND_PARAMETER_DESC structure (d3d12.h)

Describes a parameter to a meta command.

Syntax

typedef struct D3D12_META_COMMAND_PARAMETER_DESC {
  LPCWSTR                            Name;
  D3D12_META_COMMAND_PARAMETER_TYPE  Type;
  D3D12_META_COMMAND_PARAMETER_FLAGS Flags;
  D3D12_RESOURCE_STATES              RequiredResourceState;
  UINT                               StructureOffset;
} D3D12_META_COMMAND_PARAMETER_DESC;

Members

Name

Type: LPCWSTR

The parameter name.

Type

Type: D3D12_META_COMMAND_PARAMETER_TYPE

A D3D12_META_COMMAND_PARAMETER_TYPE specifying the parameter type.

Flags

Type: D3D12_META_COMMAND_PARAMETER_FLAGS

A D3D12_META_COMMAND_PARAMETER_FLAGS specifying the parameter flags.

RequiredResourceState

Type: D3D12_RESOURCE_STATES

A D3D12_RESOURCE_STATES specifying the expected state of a resource parameter.

StructureOffset

Type: UINT

The 4-byte aligned offset for this parameter, within the structure containing the parameter values, which you pass when creating/initializing/executing the meta command, as appropriate.

Requirements

Requirement Value
Header d3d12.h