ID3D12VideoEncodeCommandList::ResolveQueryData method (d3d12video.h)
Extracts data from a query.
Syntax
void ResolveQueryData(
ID3D12QueryHeap *pQueryHeap,
D3D12_QUERY_TYPE Type,
UINT StartIndex,
UINT NumQueries,
ID3D12Resource *pDestinationBuffer,
UINT64 AlignedDestinationBufferOffset
);
Parameters
pQueryHeap
A pointer to an ID3D12QueryHeap specifying the storage containing the queries to resolve.
Type
A member of the D3D12_QUERY_TYPE enumeration specifying the type of the query.
StartIndex
The index of the first query to resolve.
NumQueries
The number of queries to resolve.
pDestinationBuffer
A pointer to an ID3D12Resource representing the destination buffer. The resource must be in the state D3D12_RESOURCE_STATE_COPY_DEST.
AlignedDestinationBufferOffset
The alignment offset into the destination buffer. This must be a multiple of 8 bytes.
Return value
None
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 2004 (10.0; Build 19041) |
Minimum supported server | Windows Server, version 2004 (10.0; Build 19041) |
Header | d3d12video.h |
DLL | d3d12.dll |