glQueryCounter

record the GL time into a query object after all previous commands have reached the GL server but have not yet necessarily executed.

Signature

glQueryCounter( GLuint ( id ) , GLenum ( target ) )-> void
glQueryCounter( id , target )

Parameters

VariablesDescription
id
Specify the name of a query object into which to record the GL time.
target
Specify the counter to query. target must be GL_TIMESTAMP .