UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NN:d3d11_3.ID3D11Query1 |
ID3D11Query1 (d3d11_3.h) |
Represents a query object for querying information from the graphics processing unit (GPU). |
|
direct3d11\id3d11query1.htm |
direct3d11 |
6DF4364F-A20D-466E-8F26-17C6DD32E84B |
12/05/2018 |
ID3D11Query1, ID3D11Query1 interface [Direct3D 11], ID3D11Query1 interface [Direct3D 11],described, d3d11_3/ID3D11Query1, direct3d11.id3d11query1 |
d3d11_3.h |
Windows |
Windows 10 [desktop apps \| UWP apps] |
Windows Server 2016 [desktop apps \| UWP apps] |
D3D11.lib |
Windows |
19H1 |
|
|
|
|
|
|
Represents a query object for querying information from the graphics processing unit (GPU).
The ID3D11Query1 interface inherits from ID3D11Query. ID3D11Query1 also has these types of members:
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.