-> Click here to learn how to get live help <-
NAMEglDeleteTextures - delete named textures
C SPECIFICATIONvoid f3glDeleteTexturesfP( GLsizei fInfP,
f2nfP Specifies the number of textures to be deleted.
DESCRIPTION%f3glDeleteTexturesfP deletes f2nfP textures named by the elements of the array f2texturesfP. After a texture is deleted, it has no contents or dimensionality, and its name is free for reuse (for example by %f3glGenTexturesfP). If a texture that is currently bound is deleted, the binding reverts to 0 (the default texture). %f3glDeleteTexturesfP silently ignores 0's and names that do not correspond to existing textures.
NOTES%f3glDeleteTexturesfP is available only if the GL version is 1.1 or greater.
ERRORS%f3GL_INVALID_VALUEfP is generated if f2nfP is negative. %f3GL_INVALID_OPERATIONfP is generated if %f3glDeleteTexturesfP is executed between the execution of %f3glBeginfP and the corresponding execution of %f3glEndfP.
SEE ALSO%f3glAreTexturesResident(3G)fP, %f3glBindTexture(3G)fP, %f3glCopyTexImage1D(3G)fP, %f3glCopyTexImage2D(3G)fP, %f3glGenTextures(3G)fP, %f3glGet(3G)fP, %f3glGetTexParameter(3G)fP, %f3glPrioritizeTextures(3G)fP, %f3glTexImage1D(3G)fP, %f3glTexImage2D(3G)fP, %f3glTexParameter(3G)fP