ID3D11Query1 interface

Represents a query object for querying information from the graphics processing unit (GPU).

Members

The ID3D11Query1 interface inherits from ID3D11Query. ID3D11Query1 also has these types of members:

Methods

The ID3D11Query1 interface has these methods.

MethodDescription
GetDesc1

Gets a query description.

 

Remarks

A query can be created with ID3D11Device3::CreateQuery1.

Query data is typically gathered by issuing an ID3D11DeviceContext::Begin command, issuing some graphics commands, issuing an ID3D11DeviceContext::End command, and then calling ID3D11DeviceContext::GetData to get data about what happened in between the Begin and End calls. The data returned by GetData will be different depending on the type of query.

There are, however, some queries that do not require calls to Begin. For a list of possible queries see D3D11_QUERY.

When using a query that does not require a call to Begin, it still requires a call to End. The call to End causes the data returned by GetData to be accurate up until the last call to End.

Requirements

Minimum supported client

Windows 10 [desktop apps | UWP apps]

Minimum supported server

Windows Server 2016 [desktop apps | Windows Store apps]

Header

D3D11_3.h

Library

D3D11.lib

See also

ID3D11Query
Core Interfaces

 

 

Show: