|
| | 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)
|
| |
Definition at line 800 of file globjects.hh.
◆ QueryObject()
| ACG::QueryObject::QueryObject |
( |
GLenum |
_type = GL_SAMPLES_PASSED | ) |
|
◆ ~QueryObject()
| ACG::QueryObject::~QueryObject |
( |
| ) |
|
|
virtual |
◆ available()
| bool ACG::QueryObject::available |
( |
| ) |
const |
check if the result is available (does not wait for gpu to finish)
Definition at line 1171 of file globjects.cc.
◆ begin()
| void ACG::QueryObject::begin |
( |
| ) |
|
◆ end()
| void ACG::QueryObject::end |
( |
| ) |
|
◆ result()
| GLuint ACG::QueryObject::result |
( |
| ) |
const |
◆ id_
| GLuint ACG::QueryObject::id_ |
|
private |
◆ state_
| int ACG::QueryObject::state_ |
|
private |
◆ type_
| GLenum ACG::QueryObject::type_ |
|
private |
The documentation for this class was generated from the following files: