1GLDELETETEXTURES(3G)             OpenGL Manual            GLDELETETEXTURES(3G)
2
3
4

NAME

6       glDeleteTextures - delete named textures
7

C SPECIFICATION

9       void glDeleteTextures(GLsizei n, const GLuint * textures);
10

PARAMETERS

12       n
13           Specifies the number of textures to be deleted.
14
15       textures
16           Specifies an array of textures to be deleted.
17

DESCRIPTION

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

ERRORS

29       GL_INVALID_VALUE is generated if n is negative.
30

ASSOCIATED GETS

32       glIsTexture()
33

SEE ALSO

35       glBindTexture(), glCopyTexImage1D(), glCopyTexImage2D(),
36       glGenTextures(), glGet(), glGetTexParameter(), glTexImage1D(),
37       glTexImage2D(), glTexParameter()
38
40       Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed
41       under the SGI Free Software B License. For details, see
42       http://oss.sgi.com/projects/FreeB/.
43

AUTHORS

45       opengl.org
46
47
48
49opengl.org                        06/10/2014              GLDELETETEXTURES(3G)
Impressum