GPUQuerySet

class wgpu.GPUQuerySet

Bases: GPUObjectBase

An object to store the results of queries on passes.

You can obtain a query set object via GPUDevice.create_query_set.

property count

The number of the queries managed by this queryset.

destroy()

Destroy the QuerySet.

This cleans up all its resources and puts it in an unusable state. Note that all objects get cleaned up properly automatically; this is only intended to support explicit destroying.

NOTE: not yet implemented; for the moment this does nothing.

property type

The type of the queries managed by this queryset.