GL_APICALL void GL_APIENTRY glDeleteTextures(
GLsizei n,
const GLuint * textures
);
| Name | Description | |
|---|---|---|
| in | n | Number of texture objects to delete |
| in | textures | Array storing the texture objects to delete |
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_VALUE | The n argument was set to a negative value. |
|---|
CONFIDENTIAL