Diligent::IQueryD3D11 struct

Exposes Direct3D11-specific functionality of a Query object.

Contents

Base classes

struct IQuery
Query interface.

Public functions

auto GetD3D11Query(Uint32 QueryId) -> ID3D11Query*METHOD() virtual
Returns a pointer to the internal ID3D11Query object.

Function documentation

ID3D11Query*METHOD() Diligent::IQueryD3D11::GetD3D11Query(Uint32 QueryId) virtual

Returns a pointer to the internal ID3D11Query object.

Parameters
QueryId in - Query Id. For most query types this must be 0. An exception is QUERY_TYPE_DURATION, in which case allowed values are 0 for the beginning timestamp query, and 1 for the ending query.
Returns pointer to the ID3D11Query object.