[ Previous | Next | Contents | Glossary | Home | Search ]
OpenGL 1.1 for AIX: Reference Manual

glDeleteTexturesEXT Subroutine

Purpose

Deletes named textures.

Library

OpenGL and GL3.2 Version 4.1 for AIX C bindings library: libGL.a

C Syntax

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

File

/usr/include/GL/glext.h Contains extensions to C language constants, variable type definitions, and ANSI function prototypes for OpenGL.

Related Information

The glBindTextureEXT subroutine, glGenTexturesEXT subroutine, glGet subroutine, glGetTexParameter subroutine, glTexParameter subroutine, glTexSubImage1D subroutine, glTexSubImage2D subroutine, glTexSubImage3DEXT subroutine.


[ Previous | Next | Contents | Glossary | Home | Search ]