glGetQueryObject

return parameters of a query object

Signature

glGetQueryObject( )->
glGetQueryObjecti64v( GLuint ( id ) , GLenum ( pname ) , GLint64 * ( params ) )-> void
glGetQueryObjecti64v( id , pname , params )
glGetQueryObjectiv( GLuint ( id ) , GLenum ( pname ) , GLint * ( params ) )-> void
glGetQueryObjectiv( id , pname , params )
glGetQueryObjectui64v( GLuint ( id ) , GLenum ( pname ) , GLuint64 * ( params ) )-> void
glGetQueryObjectui64v( id , pname , params )
glGetQueryObjectuiv( GLuint ( id ) , GLenum ( pname ) , GLuint * ( params ) )-> void
glGetQueryObjectuiv( id , pname , params )

Parameters

VariablesDescription
id
Specifies the name of a query object.
pname
Specifies the symbolic name of a query object parameter. Accepted values are GL_QUERY_RESULT or GL_QUERY_RESULT_AVAILABLE .
params
If a buffer is bound to the GL_QUERY_RESULT_BUFFER target, then params is treated as an offset to a location within that buffer's data store to receive the result of the query. If no buffer is bound to GL_QUERY_RESULT_BUFFER , then params is treated as an address in client memory of a variable to receive the resulting data.

Sample Code References

The following code samples have been found which appear to reference the functions described here. Take care that the code may be old, broken or not even use PyOpenGL.

glGetQueryObjectiv
OpenGLContext tests/arbocclusionquery.py Lines: 17, 17, 18, 50
OpenGLContext OpenGLContext/scenegraph/boundingvolume.py Lines: 42, 42, 43
glGetQueryObjectuiv
OpenGLContext tests/arbocclusionquery.py Lines: 18, 54