Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glDeleteTexturesEXT(3gl) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

GLDELETETEXTURESEXT()

NAME

glDeleteTexturesEXT − delete named textures
 

C SPECIFICATION

void glDeleteTexturesEXT( GLsizei n,

const GLuint ∗textures )

 

PARAMETERS

n The number of textures to be deleted. 

textures An array in which each element is the name of a texture to be deleted. 

DESCRIPTION

glDeleteTexturesEXT deletes n textures named by the elements of the array textures.  After a texture is deleted, it has no contents or dimensionality, and its name is free for reuse (by glGenTexturesEXT, for example).  If a texture that is currently bound is deleted, the binding reverts to zero (the default texture). 

glDeleteTexturesEXT silently ignores zeros and names that do not correspond to existing textures. 

glDeleteTexturesEXT is not included in display lists. 

NOTES

glDeleteTexturesEXT is part of the EXT_texture_object extension, not part of the core GL command set.  If GL_EXT_texture_object is included in the string returned by glGetString, when called with argument GL_EXTENSIONS, extension EXT_texture_object is supported by the connection. 

ERRORS

GL_INVALID_VALUE is generated if n is negative. 

GL_INVALID_OPERATION is generated if glDeleteTexturesEXT is executed between the execution of glBegin and the corresponding execution of glEnd. 

ASSOCIATED GETS

glIsTextureEXT

SEE ALSO

glBindTextureEXT, glGenTexturesEXT, glGet, glGetTexParameter, glTexImage1D, glTexImage2D, glTexImage3DEXT, glTexParameter. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026