GLGETQUERYOBJECT(3gl)GLGETQUERYOBJECT(3gl)NAME
glGetQueryObjectiv, glGetQueryObjectuiv, - return query object parame‐
ter values
C SPECIFICATION
void glGetQueryObjectiv( GLenum id,
GLenum pname,
GLint *params )
void glGetQueryObjectuiv( GLenum id,
GLenum pname,
GLint *params )
PARAMETERS
id Specifies the query object id.
pname Specifies the parameter of the query object. Accepted symbolic
names are GL_QUERY_RESULT, GL_QUERY_RESULT_AVAILABLE.
params Returns the requested data.
DESCRIPTION
glGetQueryObject returns in params the value of a query object parame‐
ter.
The following parameters are defined:
GL_QUERY_RESULT params returns an integer value representing the
query object's result value.
GL_QUERY_RESULT_AVAILABLE
params returns an integer value indicating whether
or not a wait would occur if the result of that
query object were to be queried presently. A value
of TRUE means no wait would be required; a value of
FALSE means that some wait would occur. If the
result for one query is available, the result for
all previous queries must also be available at that
point in time.
ERRORS
GL_INVALID_ENUM is generated if pname is not an accepted value.
SEE ALSO
glGetQuery
09 Jan 04 GLGETQUERYOBJECT(3gl)