#include <Query.h>
Base class for OpenGL Query objects.
cinder::gl::Query::~Query |
( |
| ) |
|
|
virtual |
cinder::gl::Query::Query |
( |
GLuint |
target | ) |
|
|
protected |
QueryRef cinder::gl::Query::create |
( |
GLenum |
target | ) |
|
|
static |
GLuint cinder::gl::Query::getId |
( |
| ) |
const |
Returns the id of this object.
GLenum cinder::gl::Query::getTarget |
( |
| ) |
const |
Returns the target of this object.
void cinder::gl::Query::begin |
( |
| ) |
|
|
virtual |
void cinder::gl::Query::end |
( |
| ) |
|
|
virtual |
GLint cinder::gl::Query::getValueInt |
( |
| ) |
const |
Returns the value of the underlying query with GLint precision.
GLuint cinder::gl::Query::getValueUInt |
( |
| ) |
const |
Returns the value of the underlying query with GLuint precision.
GLint64 cinder::gl::Query::getValueInt64 |
( |
| ) |
const |
Returns the value of the underlying query with GLint64 precision.
GLuint64 cinder::gl::Query::getValueUInt64 |
( |
| ) |
const |
Returns the value of the underlying query with GLuint64 precision.
bool cinder::gl::Query::isReady |
( |
| ) |
const |
Returns whether the query object is ready.
bool cinder::gl::Query::isValid |
( |
| ) |
const |
Returns whether the query's id is valid (corresponds to an actual query object).
GLenum cinder::gl::Query::mTarget |
|
protected |
The documentation for this class was generated from the following files: