glGetQueryiv

glGetQueryiv: man2/glGetQueryiv.xml

glGetQueryiv returns in params a selected parameter of the query object target specified by target. pname names a specific query object target parameter. When target is GL_SAMPLES_PASSED, pname can be as follows:

If an error is generated, no change is made to the contents of params. glGetQueryiv is available only if the GL version is 1.5 or greater.

@OpenGL_Version(OGLIntroducedIn.V1P5)
fn_glGetQueryiv glGetQueryiv;

See Also

glGetQueryObject, glIsQuery

Meta