1GLDELETETEXTURES(3G) [FIXME: manual] GLDELETETEXTURES(3G)
2
3
4
6 glDeleteTextures - delete named textures
7
9 void glDeleteTextures(GLsizei n, const GLuint * textures);
10
12 n
13 Specifies the number of textures to be deleted.
14
15 textures
16 Specifies an array of textures to be deleted.
17
19 glDeleteTextures deletes n textures named by the elements of the array
20 textures. After a texture is deleted, it has no contents or
21 dimensionality, and its name is free for reuse (for example by
22 glGenTextures()). If a texture that is currently bound is deleted, the
23 binding reverts to 0 (the default texture).
24
25 glDeleteTextures silently ignores 0's and names that do not correspond
26 to existing textures.
27
29 GL_INVALID_VALUE is generated if n is negative.
30
32 glIsTexture()
33
35 ┌─────────────────┬───────────────────────────────────────────────────────────────────────┐
36 │ │ OpenGL Version │
37 ├─────────────────┼─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┬─────┤
38 │Function │ 2.0 │ 2.1 │ 3.0 │ 3.1 │ 3.2 │ 3.3 │ 4.0 │ 4.1 │ 4.2 │ 4.3 │ 4.4 │ 4.5 │
39 │/ │ │ │ │ │ │ │ │ │ │ │ │ │
40 │Feature │ │ │ │ │ │ │ │ │ │ │ │ │
41 │Name │ │ │ │ │ │ │ │ │ │ │ │ │
42 ├─────────────────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┼─────┤
43 │glDeleteTextures │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │ ✔ │
44 └─────────────────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┴─────┘
45
47 glBindTexture(), glCopyTexImage1D(), glCopyTexImage2D(),
48 glGenTextures(), glGet(), glGetTexParameter(), glTexImage1D(),
49 glTexImage2D(), glTexParameter()
50
52 Copyright © 1991-2006 Silicon Graphics, Inc. Copyright © 2010-2014
53 Khronos Group. This document is licensed under the SGI Free Software B
54 License. For details, see http://oss.sgi.com/projects/FreeB/.
55
57 Copyright © 1991-2006 Silicon Graphics, Inc.
58 Copyright © 2010-2014 Khronos Group
59
60
61
62[FIXME: source] 07/13/2018 GLDELETETEXTURES(3G)