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

Public Member Functions

 QueryObject (GLenum _type=GL_SAMPLES_PASSED)
 
void begin ()
 begin measuring the query
 
void end ()
 stop measuring the query
 
bool available () const
 check if the result is available (does not wait for gpu to finish)
 
GLuint result () const
 get the measurement of the query between the begin() end() calls (waits for the gpu)
 

Private Attributes

GLuint id_
 
int state_
 
GLenum type_
 

Detailed Description

Definition at line 809 of file MeshNode2T.cc.


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