ID3D12VideoEncodeCommandList::BeginQuery method (d3d12video.h)

Starts a query running.

Syntax

void BeginQuery(
  ID3D12QueryHeap  *pQueryHeap,
  D3D12_QUERY_TYPE Type,
  UINT             Index
);

Parameters

pQueryHeap

A pointer to an ID3D12QueryHeap specifying the storage for this query.

Type

A member of the D3D12_QUERY_TYPE enumeration specifying the type of the query.

Index

The index of the query within the query heap.

Return value

None

Remarks

Some queries do not use BeginQuery and only have an EndQuery. See each query type in D3D12_QUERY_TYPE to determine proper usage.

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