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.
Copyright 2005 Addison-Wesley. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/.
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.