glDeleteTextures Function

Syntax

GL_APICALL void GL_APIENTRY glDeleteTextures(
     GLsizei n,
     const GLuint * textures
);

Arguments

Name Description
in n Number of texture objects to delete
in textures Array storing the texture objects to delete

Return Values

No values are returned.

Description

Deletes texture objects, lookup table objects, and texture collection objects.

Set n to the number of objects stored in textures.

Set textures to an array storing the texture objects, lookup table objects, and texture collection objects to delete. If you delete a currently bound object, object 0 is bound in its place.

This function generates the following errors.

GL_INVALID_VALUEThe n argument was set to a negative value.

Revision History

2010/01/07
Initial version.

CONFIDENTIAL