Skip to content

GPUQuerySet

Stores the results of a configured kind and count of GPU queries.

Properties

count

abstract val count: GPUSize32Out
The number of queries managed by this GPUQuerySet. See [GPUQuerySet.count in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuqueryset-count).

label

abstract var label: String
A developer-provided label which is used in an implementation-defined way. It can be used by the browser, OS, or other tools to help identify the underlying internal object to the developer. Examples include displaying the label in GPUError messages, console warnings, browser developer tools, and platform debugging utilities.

type

abstract val type: GPUQueryType
The type of the queries managed by this GPUQuerySet.

Functions

close

expect abstract fun close()