// d3d12umddi.h
PFND3D12DDI_RESOLVE_QUERY_DATA Pfnd3d12ddiResolveQueryData;
VOID Pfnd3d12ddiResolveQueryData(
D3D12DDI_HCOMMANDLIST unnamedParam1,
D3D12DDI_HQUERYHEAP unnamedParam2,
D3D12DDI_QUERY_TYPE unnamedParam3,
UINT StartElement,
UINT ElementCount,
D3D12DDI_HRESOURCE hDrvDestinationBuffer,
UINT64 DestinationOffset
)
{...}
View the official Windows Driver Kit DDI referenceNo description available.
The pfnResolveQueryData callback function transforms a previously stored query into an API defined format.
unnamedParam1hCommandList
A handle to the driver's data for the command list. The driver uses this region of memory to store internal data structures that are related to its command list.
unnamedParam2hQueryHeap
The handle of a query heap.
unnamedParam3QueryType
A query type.
StartElementThe value of the start element.
ElementCountThe element count.
hDrvDestinationBufferThe handle of a destination buffer.
DestinationOffsetThe destination offset.
Resolve functionality is used by applications to transform a query result previously stored in a query heap into the API defined format. The resolved data is stored in a buffer. The results can then be consumed by a shader, predication, or mapped and read on the CPU.