Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ion::gfx::TimerInfo< T > Struct Template Reference

A TimerInfo corresponds to an OpenGL Timer Query Object. More...

#include "openglobjects.h"

Inheritance diagram for ion::gfx::TimerInfo< T >:
Collaboration diagram for ion::gfx::TimerInfo< T >:

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...
 

Detailed Description

template<typename T>
struct ion::gfx::TimerInfo< T >

A TimerInfo corresponds to an OpenGL Timer Query Object.

Definition at line 377 of file openglobjects.h.

Member Enumeration Documentation

template<typename T >
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.

Constructor & Destructor Documentation

template<typename T >
ion::gfx::TimerInfo< T >::TimerInfo ( )
inline

Definition at line 378 of file openglobjects.h.

Member Data Documentation

template<typename T >
bool ion::gfx::TimerInfo< T >::deleted

Was deleted.

Definition at line 399 of file openglobjects.h.

template<typename T >
uint64 ion::gfx::TimerInfo< T >::duration

Duration data, if used as a begin/end query pair.

Definition at line 397 of file openglobjects.h.

template<typename T >
bool ion::gfx::TimerInfo< T >::is_data_available

Is timestamp or duration available.

Definition at line 401 of file openglobjects.h.

template<typename T >
Mode ion::gfx::TimerInfo< T >::mode

The usage mode of this timer query.

Definition at line 393 of file openglobjects.h.

template<typename T >
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.


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