D3D12DDIARG_META_COMMAND_PARAMETER_DESC - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// d3d12umddi.h

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;
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (ns-d3d12umddi-d3d12ddiarg_meta_command_parameter_desc)

D3D12DDIARG_META_COMMAND_PARAMETER_DESC structure

Description

D3D12DDIARG_META_COMMAND_PARAMETER_DESC contains the meta-command parameter descriptions.

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.

See also

PFND3D12DDI_ENUMERATE_META_COMMAND_PARAMETERS_0052