Extracts data from a query. Works with all heap types (default, upload, and readback).
public:
void ResolveQueryData(
ID3D12QueryHeap *pQueryHeap,
D3D12_QUERY_TYPE Type,
UINT StartElement,
UINT ElementCount,
ID3D12Resource *pDestinationBuffer,
UINT64 AlignedDestinationBufferOffset
)
pQueryHeap
Type: ID3D12QueryHeap *
[in] The queries to resolve, as a pointer to ID3D12QueryHeap.
Type
Type: D3D12_QUERY_TYPE
[in] The type of query, as a D3D12_QUERY_TYPE enumeration constant.
StartElement
Type: UINT
[in] An index of the first query to resolve.
ElementCount
Type: UINT
[in] The number of queries to resolve.
pDestinationBuffer
Type: ID3D12Resource *
[in] An ID3D12Resource destination buffer, which must be in the state D3D12_RESOURCE_STATE_COPY_DEST.
AlignedDestinationBufferOffset
Type: UINT64
[in] An alignment offset into the destination buffer. Must be a multiple of 8 bytes.
Type: void
This method does not return a value.
Header: Declared in d3d12_x.h.
Library: Use d3d12_x.lib.