glIsQuery

glIsQuery: man2/glIsQuery.xml

glIsQuery returns GL_TRUE if id is currently the name of a query object. If id is zero, or is a non-zero value that is not currently the name of a query object, or if an error occurs, glIsQuery returns GL_FALSE. A name returned by glGenQueries, but not yet associated with a query object by calling glBeginQuery, is not the name of a query object.

glIsQuery is available only if the GL version is 1.5 or greater.

@OpenGL_Version(OGLIntroducedIn.V1P5)
fn_glIsQuery glIsQuery;

See Also

glBeginQuery, glDeleteQueries, glEndQuery, glGenQueries

Meta