GLDELETETEXTURES(3G)
π GLDELETETEXTURES (3G) π
okay bestie, welcome to the 3G manual page for glDeleteTextures β yes that's the manual name, and yes she's iconic. buckle up, this one's short and sweet and honestly a little unhinged (affectionate). π
β¨ NAME β¨
glDeleteTextures β delete named textures. that's it. that's the whole job. girlboss behavior fr fr. ποΈ
πΈ C SPECIFICATION πΈ
void glDeleteTextures(GLsizei n, const GLuint * textures);
look at her. two params, zero drama. π
π PARAMETERS π
nβ the number of textures you want to delete. how many we yeeting. count them.texturesβ an array of textures to be deleted. the actual list of victims π
π¦ DESCRIPTION π¦
okay so glDeleteTextures deletes n textures named by the elements of the array textures. the way that it goes through your whole list and justβ¦ deletes them. no cap. π«Ά
after a texture is deleted, it has no contents or dimensionality β like genuinely empty, she's giving void, she's giving nothing left β and its name is free for reuse (for example by glGenTextures()). recycling era! β»οΈ
and here's the tea π: if a texture that is currently bound is deleted, the binding reverts to 0 (the default texture). so you're never left hanging with a ghost binding. she's clean like that.
also, glDeleteTextures silently ignores 0's and names that do not correspond to existing textures. silent. like she saw nothing, she heard nothing, she is not getting involved π. no error, no fuss.
π ERRORS π
GL_INVALID_VALUEis generated ifnis negative. bestie you can't delete a negative number of textures, that's not a thing, she WILL call you out π
β ASSOCIATED GETS β
glIsTexture()
the vibe check function. use her to check if a name is still a texture. iykyk π
π VERSION SUPPORT π
here's the whole grid, faithfully preserved, no details dropped:
- Feature name:
glDeleteTextures - 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 β β
every single one. she ate and left absolutely no crumbs π₯π
π₯ SEE ALSO π₯
glBindTexture()glCopyTexImage1D()glCopyTexImage2D()glGenTextures()glGet()glGetTexParameter()glTexImage1D()glTexImage2D()glTexParameter()
the whole friend group. go say hi. πΈ
π COPYRIGHT π
Copyright Β© 1991-2006 Silicon Graphics, Inc. Copyright Β© 2010-2014 Khronos Group. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.
π COPYRIGHT (the sequel, legal said keep both) π
Copyright Β© 1991-2006 Silicon Graphics, Inc. Copyright Β© 2010-2014 Khronos Group
and that's the page!! πβ¨ shoutout to [FIXME: source] (yes the source field literally says FIXME, we love an unfinished queen π), dated 08/09/2021, and we're out here repping GLDELETETEXTURES(3G) β mwah, stay hydrated, bind responsibly, bye bestie ππ«Ά
π¦ 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