Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QD3D11SwapChainTimestamps Struct Reference

#include <qrhid3d11_p.h>

+ Collaboration diagram for QD3D11SwapChainTimestamps:

Public Member Functions

bool prepare (QRhiD3D11 *rhiD)
 
void destroy ()
 
bool tryQueryTimestamps (int idx, ID3D11DeviceContext *context, double *elapsedSec)
 

Public Attributes

bool active [TIMESTAMP_PAIRS] = {}
 
ID3D11Query * disjointQuery [TIMESTAMP_PAIRS] = {}
 
ID3D11Query * query [TIMESTAMP_PAIRS *2] = {}
 

Static Public Attributes

static const int TIMESTAMP_PAIRS = 2
 

Detailed Description

Definition at line 570 of file qrhid3d11_p.h.

Member Function Documentation

◆ destroy()

void QD3D11SwapChainTimestamps::destroy ( )

Definition at line 4989 of file qrhid3d11.cpp.

References active, and TIMESTAMP_PAIRS.

◆ prepare()

bool QD3D11SwapChainTimestamps::prepare ( QRhiD3D11 * rhiD)

Definition at line 4957 of file qrhid3d11.cpp.

References TIMESTAMP_PAIRS.

◆ tryQueryTimestamps()

bool QD3D11SwapChainTimestamps::tryQueryTimestamps ( int idx,
ID3D11DeviceContext * context,
double * elapsedSec )

Definition at line 5007 of file qrhid3d11.cpp.

References active.

Member Data Documentation

◆ active

bool QD3D11SwapChainTimestamps::active[TIMESTAMP_PAIRS] = {}

Definition at line 574 of file qrhid3d11_p.h.

Referenced by destroy(), and tryQueryTimestamps().

◆ disjointQuery

ID3D11Query* QD3D11SwapChainTimestamps::disjointQuery[TIMESTAMP_PAIRS] = {}

Definition at line 575 of file qrhid3d11_p.h.

◆ query

ID3D11Query* QD3D11SwapChainTimestamps::query[TIMESTAMP_PAIRS *2] = {}

Definition at line 576 of file qrhid3d11_p.h.

◆ TIMESTAMP_PAIRS

const int QD3D11SwapChainTimestamps::TIMESTAMP_PAIRS = 2
static

Definition at line 572 of file qrhid3d11_p.h.

Referenced by destroy(), QRhiD3D11::endFrame(), and prepare().


The documentation for this struct was generated from the following files: