1GLDELETETEXTURES(3G) GLDELETETEXTURES(3G)
2
3
4
6 glDeleteTextures - delete named textures
7
8
10 void glDeleteTextures( GLsizei n,
11 const GLuint *textures )
12
13
15 n Specifies the number of textures to be deleted.
16
17 textures Specifies an array of textures to be deleted.
18
20 glDeleteTextures deletes n textures named by the elements of the array
21 textures. After a texture is deleted, it has no contents or dimensionā
22 ality, and its name is free for reuse (for example by glGenTextures).
23 If a texture that is currently bound is deleted, the binding reverts to
24 0 (the default texture).
25
26 glDeleteTextures silently ignores 0's and names that do not correspond
27 to existing textures.
28
30 glDeleteTextures is available only if the GL version is 1.1 or greater.
31
33 GL_INVALID_VALUE is generated if n is negative.
34
35 GL_INVALID_OPERATION is generated if glDeleteTextures is executed
36 between the execution of glBegin and the corresponding execution of
37 glEnd.
38
40 glIsTexture
41
43 glAreTexturesResident(3G), glBindTexture(3G), glCopyTexImage1D(3G),
44 glCopyTexImage2D(3G), glGenTextures(3G), glGet(3G),
45 glGetTexParameter(3G), glPrioritizeTextures(3G), glTexImage1D(3G),
46 glTexImage2D(3G), glTexParameter(3G)
47
48
49
50 GLDELETETEXTURES(3G)