glDeleteBuffers Function

Syntax

GL_APICALL void GL_APIENTRY glDeleteBuffers(
     GLsizei n,
     const GLuint * buffers
);

Parameters

Name Description
in n Number of vertex buffer objects to delete
in buffers Array storing the vertex buffer objects to delete

Return Values

No values are returned.

Description

Deletes vertex buffer objects and vertex state collection objects.

Set n to the number of objects stored in buffers.

Set buffers to an array storing the vertex buffer objects and vertex state collection objects to delete. Deleting a vertex state collection object does not affect the vertex buffer objects associated with it. 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