Skip to main content
Describes the purpose of a query heap. A query heap contains an array of individual queries.

Syntax

Members

Type
Type: D3D12_QUERY_HEAP_TYPE
Specifies one member of D3D12_QUERY_HEAP_TYPE. Count
Type: UINT
Specifies the number of queries the heap should contain. NodeMask
Type: UINT
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 systems.

Remarks

Use this structure with CreateQueryHeap.

Requirements

Header: d3d12_xs.h or d3d12_x.h
Library: d3d12_xs.lib or d3d12_x.lib
Supported Platforms: XBOX Series consoles and XBOX One family

See Also

Core Structures
Last modified on August 20, 2026