Developer Documentation

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
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 globjects.hh.

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

- ACG/GL/globjects.hh
- ACG/GL/globjects.cc