GLGENQUERIES(3gl)GLGENQUERIES(3gl)NAME
glGenQueries - generate query names
C SPECIFICATION
void glGenQueries( GLsizei n,
GLuint *queries )
PARAMETERS
n Specifies the number of query names to be generated.
queries Specifies an array in which the generated query names are
stored.
DESCRIPTION
glGenQueries returns n query names in queries. There is no guarantee
that the names form a contiguous set of integers; however, it is guar‐
anteed that none of the returned names was in use immediately before
the call to glGenQueries.
Query names returned by a call to glGenQueries are not returned by sub‐
sequent calls, unless they are first deleted with glDeleteQueries.
NOTES
glGenQueries is available only if the GL version is 1.5 or greater.
ERRORS
GL_INVALID_VALUE is generated if n is negative.
GL_INVALID_OPERATION is generated if glGenQueries is executed between
the execution of glBegin and the corresponding execution of glEnd.
SEE ALSO
glDeleteQueries, glIsQuery
09 Jan 04 GLGENQUERIES(3gl)