Developer Documentation

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 800 of file globjects.hh.

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

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