GLDELETETEXTURES(3G)
πΈ 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 πΈ
glDeleteTexturesis available only if the GL version is1.1or greater.
π ERRORS π
GL_INVALID_VALUEis generated ifnis negative.GL_INVALID_OPERATIONis generated ifglDeleteTexturesis executed between the execution ofglBeginand the corresponding execution ofglEnd.
π₯ 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
- opensuse-leap 16.0: Mesa-libGL-devel 24.1.7-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- opensuse-leap 16.0: Mesa-libGL-devel 24.3.3-160000.3.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms