D3D12_QUERY_HEAP_DESC structure

Describes the purpose of a query heap. A query heap contains an array of individual queries.

Syntax

typedef struct D3D12_QUERY_HEAP_DESC {
  D3D12_QUERY_HEAP_TYPE Type;
  UINT                  Count;
  UINT                  NodeMask;
} D3D12_QUERY_HEAP_DESC;

Members

Type

Specifies one member of D3D12_QUERY_HEAP_TYPE.

Count

Specifies the number of queries the heap should contain.

NodeMask

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

Remarks

Use this structure with CreateQueryHeap.

Requirements

   
Header d3d12.h

See Also

Core Structures