- class arcade.gl.Query(ctx: Context)
A query object to perform low level measurements of OpenGL rendering calls.
The best way to create a program instance is through
query = ctx.query() with query: geometry.render(..) print('samples_passed:', query.samples_passed) print('time_elapsed:', query.time_elapsed) print('primitives_generated:', query.primitives_generated)
Destroy the underlying OpenGL resource. Don’t use this unless you know exactly what you are doing.
- static delete_glo(ctx, glos) None
Delete this query object. This is automatically called when the object is garbage collected.
- property primitives_generated: int
How many primitives a vertex or geometry shader processed