gl.DeleteTextures(texturesArray)
gl.DeleteTextures()
deletes all textures passed in the table texturesArray
. After a texture is
deleted, it has no contents or dimensionality, and its name is free for reuse (for example by gl.GenTextures()).
If a texture that is currently bound is deleted, the binding reverts to 0 (the default texture).
gl.DeleteTextures()
silently ignores 0's and names that do not correspond to existing textures.
Please consult an OpenGL reference manual for more information.
#GL_INVALID_OPERATION
is generated if glDeleteTextures is executed between the execution of gl.Begin() and the corresponding execution of gl.End()