glDeleteQueries.3G - Man Page

delete named query objects

C Specification

void glDeleteQueries(GLsizei n, const GLuint * ids);

Parameters

n

Specifies the number of query objects to be deleted.

ids

Specifies an array of query objects to be deleted.

Description

glDeleteQueries deletes n query objects named by the elements of the array ids. After a query object is deleted, it has no contents, and its name is free for reuse (for example by glGenQueries()).

glDeleteQueries silently ignores 0's and names that do not correspond to existing query objects.

Errors

GL_INVALID_VALUE is generated if n is negative.

Associated Gets

glIsQuery()

Version Support

OpenGL Version
Function / Feature Name2.02.13.03.13.23.34.04.14.24.34.44.5
glDeleteQueries

See Also

glBeginQuery(),

glEndQuery, glGenQueries(), glGetQueryiv(), glGetQueryObject()

Referenced By

glBeginConditionalRender.3G(3), glBeginQuery.3G(3), glBeginQueryIndexed,_glEndQueryIndexed.3G(3), glCreateQueries.3G(3), glGenQueries.3G(3), glIsQuery.3G(3), glQueryCounter.3G(3).

01/24/2024