GLBEGINQUERY(3gl)GLBEGINQUERY(3gl)NAME
glBeginQuery, glEndQuery - delimit the query of a group of query primi‐
tives
C SPECIFICATION
void glBeginQuery( GLenum target, GLuint id )
PARAMETERS
target Specifies the type of query that will be created between glBe‐
ginQuery and the subsequent glEndQuery. Currently, the only
symbolic constant accepted is: GL_SAMPLES_PASSED
id Specifies the id of query that will be created.
C SPECIFICATION
void glEndQuery( GLenum target)
DESCRIPTION
glBeginQuery and glEndQuery delimit the query to be created.
There is no limit to the number of GL commands that can be defined
between glBeginQuery and glEndQuery.
ERRORS
GL_INVALID_ENUM is generated if target is set to an unaccepted value.
GL_INVALID_OPERATION is generated if glBeginQuery is executed between a
glBeginQuery and the corresponding execution of glEndQuery.
GL_INVALID_OPERATION is generated if glEndQuery is executed without
being preceded by a glBeginQuery.
SEE ALSO
glGenQueries, glDeleteQueries
09 Jan 04 GLBEGINQUERY(3gl)