GLDELETETEXTURES(3G)

πŸ“¦ version 24.3.3, in opensuse-leap 16.0

🌸 NAME 🌸

okay so welcome to the 3G manual page for glDeleteTextures, bestie πŸ’…

<span pink>glDeleteTextures</span> β€” delete named textures.


✨ C SPECIFICATION ✨

void glDeleteTextures( GLsizei n,
                              const GLuint *textures )

πŸ’… PARAMETERS πŸ’…

  • n β€” specifies the number of textures to be deleted.
  • textures β€” specifies an array of textures to be deleted.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so glDeleteTextures deletes n textures named by the elements of the array textures. the way it works is: after a texture is deleted, it has no contents or dimensionality, and its name is free for reuse (for example by glGenTextures). iconic cleanup behavior, no cap ✨

if a texture that is currently bound is deleted, the binding reverts to 0 (the default texture). lowkey important, bestie 🫢

glDeleteTextures silently ignores 0's and names that do not correspond to existing textures. no drama, no error, just silence πŸ’€


🌸 NOTES 🌸

  • glDeleteTextures is available only if the GL version is 1.1 or greater.

πŸ’€ ERRORS πŸ’€

  • GL_INVALID_VALUE is generated if n is negative.
  • GL_INVALID_OPERATION is generated if glDeleteTextures is executed between the execution of glBegin and the corresponding execution of glEnd.

πŸ”₯ ASSOCIATED GETS πŸ”₯

  • glIsTexture

🌈 SEE ALSO 🌈

  • glAreTexturesResident(3G)
  • glBindTexture(3G)
  • glCopyTexImage1D(3G)
  • glCopyTexImage2D(3G)
  • glGenTextures(3G)
  • glGet(3G)
  • glGetTexParameter(3G)
  • glPrioritizeTextures(3G)
  • glTexImage1D(3G)
  • glTexImage2D(3G)
  • glTexParameter(3G)

okay bye bestie 🫢 the footer here is just GLDELETETEXTURES(3G) β€” it didn't include a source/version or date, so I'm not making one up, periodt πŸ’…

πŸ“¦ where this page comes from