Signature
Parameters
Variables | Description |
---|---|
target |
Specifies the target type of query object established between
glBeginQuery
and the subsequent
glEndQuery
.
The symbolic constant must be one of
GL_SAMPLES_PASSED
,
GL_ANY_SAMPLES_PASSED
,
GL_ANY_SAMPLES_PASSED_CONSERVATIVE
,
GL_PRIMITIVES_GENERATED
,
GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN
, or
GL_TIME_ELAPSED
.
|
id |
Specifies the name of a query object.
|
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.
glBeginQuery
glEndQuery