glGetQueryIndexediv

return parameters of an indexed query object target

Signature

glGetQueryIndexediv( GLenum ( target ) , GLuint ( index ) , GLenum ( pname ) , GLint * ( params ) )-> void
glGetQueryIndexediv( target , index , pname , params )

Parameters

VariablesDescription
target
Specifies a query object target. Must be GL_SAMPLES_PASSED , GL_ANY_SAMPLES_PASSED , GL_ANY_SAMPLES_PASSED_CONSERVATIVE GL_PRIMITIVES_GENERATED , GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN , GL_TIME_ELAPSED , or GL_TIMESTAMP .
index
Specifies the index of the query object target.
pname
Specifies the symbolic name of a query object target parameter. Accepted values are GL_CURRENT_QUERY or GL_QUERY_COUNTER_BITS .
params
Returns the requested data.