GLISQUERY(3G)

πŸ’… glIsQuery β€” GLISQUERY(3G) πŸ’…

okay bestie, the header still has a [FIXME: manual] placeholder in it β€” not me forgetting, that's literally what's there πŸ™ˆ

🌸 NAME 🌸

glIsQuery β€” determine if a name corresponds to a query object. That's the mission. πŸ’–

✨ C SPECIFICATION ✨

GLboolean glIsQuery(GLuint id);

πŸŽ€ PARAMETERS πŸŽ€

  • id β€” Specifies a value that may be the name of a query object. Like, maybe it's the name, maybe it's not; we're checking. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so glIsQuery returns GL_TRUE if id is currently the name of a query object. Periodt.

If id is zero, or is a non-zero value that is not currently the name of a query object, or if an error occurs, glIsQuery returns GL_FALSE. Yep, all those cases get the GL_FALSE treatment.

A name returned by glGenQueries(), but not yet associated with a query object by calling glBeginQuery(), is not the name of a query object. So don't get it twisted, bestie. 🧚

πŸ‘‘ VERSION SUPPORT πŸ‘‘

The original table says Function / Feature Name is glIsQuery, and across the OpenGL Version columns it's giving all checkmarks:

  • OpenGL 2.0: βœ”
  • OpenGL 2.1: βœ”
  • OpenGL 3.0: βœ”
  • OpenGL 3.1: βœ”
  • OpenGL 3.2: βœ”
  • OpenGL 3.3: βœ”
  • OpenGL 4.0: βœ”
  • OpenGL 4.1: βœ”
  • OpenGL 4.2: βœ”
  • OpenGL 4.3: βœ”
  • OpenGL 4.4: βœ”
  • OpenGL 4.5: βœ”

Slay, it's supported everywhere listed. πŸ”₯

🌈 SEE ALSO 🌈

  • glBeginQuery()
  • glDeleteQueries()
  • glEndQuery
  • glGenQueries()

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 Β© 2005 Sams Publishing
  • Copyright Β© 2010-2014 Khronos Group

okay that's the whole page!! the footer tea is [FIXME: source], 08/09/2021, and GLISQUERY(3G) β€” bye bestie, go check those query names and slay πŸ’–βœ¨

πŸ“¦ where this page comes from