D3D12_FEATURE_DATA_QUERY_META_COMMAND structure (d3d12.h)

Indicates the level of support that the adapter provides for metacommands.

Syntax

typedef struct D3D12_FEATURE_DATA_QUERY_META_COMMAND {
  GUID       CommandId;
  UINT       NodeMask;
  const void *pQueryInputData;
  SIZE_T     QueryInputDataSizeInBytes;
  void       *pQueryOutputData;
  SIZE_T     QueryOutputDataSizeInBytes;
} D3D12_FEATURE_DATA_QUERY_META_COMMAND;

Members

CommandId

Type: GUID

The fixed GUID that identifies the metacommand to query about.

NodeMask

Type: UINT

For single GPU operation, this is zero. If there are multiple GPU nodes, a bit is set to identify a node (the device's physical adapter). Each bit in the mask corresponds to a single node. Only 1 bit must be set. Refer to Multi-adapter systems.

pQueryInputData

Type: const void*

A pointer to a buffer containing the query input data. Allocate QueryInputDataSizeInBytes bytes.

QueryInputDataSizeInBytes

Type: SIZE_T

The size of the buffer pointed to by pQueryInputData, in bytes.

pQueryOutputData

Type: void*

A pointer to a buffer containing the query output data.

QueryOutputDataSizeInBytes

Type: SIZE_T

The size of the buffer pointed to by pQueryOutputData, in bytes.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12.h