Ion
|
A TimerInfo corresponds to an OpenGL Timer Query Object. More...
#include "openglobjects.h"
Public Types | |
enum | Mode { kNone, kIsQueryCounter, kIsBeginEndQuery } |
Public Member Functions | |
TimerInfo () | |
Public Attributes | |
Mode | mode |
The usage mode of this timer query. More... | |
uint64 | timestamp |
Timestamp data, if used as a query counter or begin query. More... | |
uint64 | duration |
Duration data, if used as a begin/end query pair. More... | |
bool | deleted |
Was deleted. More... | |
bool | is_data_available |
Is timestamp or duration available. More... | |
A TimerInfo corresponds to an OpenGL Timer Query Object.
Definition at line 377 of file openglobjects.h.
enum ion::gfx::TimerInfo::Mode |
Enumerator | |
---|---|
kNone |
Unused, so no known mode yet. |
kIsQueryCounter |
Is used as a query counter. |
kIsBeginEndQuery |
Is active, in use for begin/end query. |
Definition at line 384 of file openglobjects.h.
|
inline |
Definition at line 378 of file openglobjects.h.
bool ion::gfx::TimerInfo< T >::deleted |
Was deleted.
Definition at line 399 of file openglobjects.h.
uint64 ion::gfx::TimerInfo< T >::duration |
Duration data, if used as a begin/end query pair.
Definition at line 397 of file openglobjects.h.
bool ion::gfx::TimerInfo< T >::is_data_available |
Is timestamp or duration available.
Definition at line 401 of file openglobjects.h.
Mode ion::gfx::TimerInfo< T >::mode |
The usage mode of this timer query.
Definition at line 393 of file openglobjects.h.
uint64 ion::gfx::TimerInfo< T >::timestamp |
Timestamp data, if used as a query counter or begin query.
Definition at line 395 of file openglobjects.h.