Signature
Parameters
Variables | Description |
---|---|
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.
|