GLDELETEQUERIES(3G)

πŸ’– NAME πŸ’–

okay so this is GLDELETEQUERIES(3G), and it does exactly one iconic thing: delete named query objects. πŸ’… bestie, it's giving cleanup era.


🧚 C SPECIFICATION 🧚

void glDeleteQueries(GLsizei n, const GLuint * ids);

🌸 PARAMETERS 🌸

  • n β€” the number of query objects to be deleted. like, how many are we yeeting.
  • ids β€” an array of query objects to be deleted. the actual list of names, bestie.

✨ DESCRIPTION ✨

glDeleteQueries deletes n query objects named by the elements of the array ids. After a query object is deleted, it has no contents, and its name is free for reuse (for example by glGenQueries()). so cute, so efficient. πŸŽ€

glDeleteQueries silently ignores 0's and names that do not correspond to existing query objects. no drama, no error, just silence. πŸ™ˆ

πŸ’€ ERRORS πŸ’€

GL_INVALID_VALUE is generated if n is negative. that's the warning label, bestie β€” negative n is not the vibe. 😭

πŸ¦‹ ASSOCIATED GETS πŸ¦‹

  • glIsQuery() β€” the associated get, periodt. 🫢

🌈 VERSION SUPPORT 🌈

the table says Function / Feature Name: glDeleteQueries and OpenGL Version: 2.0 through 4.5 β€” and every single one is a βœ”. no skips, no gaps, just full support energy. ✨

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

πŸ”₯ SEE ALSO πŸ”₯

  • glBeginQuery(),
  • glEndQuery, glGenQueries(), glGetQueryiv(), glGetQueryObject()

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

stay slay, bestie β€” source: [FIXME: source], date: 08/09/2021. mwah πŸ’‹

πŸ“¦ where this page comes from