GLGENQUERIES(3G)
π NAME
glGenQueries β generate query object names. (Yep, bestie, this is manual 3G β weβre folding that in right here at the top β¨)
π§ C SPECIFICATION
void glGenQueries(GLsizei n, GLuint * ids);
π PARAMETERS
nβ Specifies the number of query object names to be generated.idsβ Specifies an array in which the generated query object names are stored.
π¦ DESCRIPTION
okay so glGenQueries returns n query object names in ids. There is no guarantee that the names form a contiguous set of integers β like, they donβt have to be cute and consecutive. However, it is guaranteed that none of the returned names was in use immediately before the call to glGenQueries. no cap π
Query object names returned by a call to glGenQueries are not returned by subsequent calls, unless they are first deleted with glDeleteQueries(). so donβt expect the same names to come back around unless you actually delete them first, bestie.
No query objects are associated with the returned query object names until they are first used by calling glBeginQuery(). literally no object yet β just names chilling until then π«Ά
π ERRORS
GL_INVALID_VALUEis generated ifnis negative. π¨
π₯ ASSOCIATED GETS
glIsQuery()
π VERSION SUPPORT
The support tableβs Function / Feature Name is glGenQueries, and under OpenGL Version it gets a β on every listed version:
- OpenGL Version
2.0: β - OpenGL Version
2.1: β - OpenGL Version
3.0: β - OpenGL Version
3.1: β - OpenGL Version
3.2: β - OpenGL Version
3.3: β - OpenGL Version
4.0: β - OpenGL Version
4.1: β - OpenGL Version
4.2: β - OpenGL Version
4.3: β - OpenGL Version
4.4: β - OpenGL Version
4.5: β
itβs giving βsupported everywhere on this list,β periodt π
πΈ SEE ALSO
glBeginQuery()glDeleteQueries()glEndQuery
π COPYRIGHT
Copyright Β© 2005 Addison-Wesley. Copyright Β© 2010-2014 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
π COPYRIGHT
Copyright Β© 2005 Sams Publishing Copyright Β© 2010-2014 Khronos Group
okay thatβs the whole page, bestie π the source/version tag is [FIXME: source], and itβs dated 08/09/2021 β cute little sign-off for the GLGENQUERIES(3G) page π
π¦ where this page comes from
- centos-stream 9: gl-manpages 1.1-24.20190306.el9 Β· MIT and Open Publication
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms