Developer Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
ACG::QueryCounter Class Reference

Public Member Functions

void restart ()
 
void stop ()
 
GLuint64 elapsedNs ()
 elapsed gpu time since restart() in nanosecs
 
GLuint64 elapsedMs ()
 elapsed gpu time in millisecs
 
float elapsedSecs ()
 elapsed gpu time in seconds
 

Static Public Member Functions

static bool isSupported ()
 check hw support
 

Private Attributes

GLuint queryObjects_ [2]
 
int state_
 

Static Private Attributes

static int supportStatus_ = -1
 

Detailed Description

Definition at line 774 of file globjects.hh.


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