Developer Documentation
|
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_ |
Definition at line 800 of file globjects.hh.