Aller au contenu

GPUQuerySetDescriptor

Describes the query type and number of queries in a GPUQuerySet.

Properties

count

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

label

abstract val label: String
The initial value of GPUObjectBase.label. See [GPUObjectDescriptorBase.label in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuobjectdescriptorbase-label).

type

abstract val type: GPUQueryType
The type of queries managed by GPUQuerySet. See [GPUQuerySetDescriptor.type in the WebGPU specification](https://www.w3.org/TR/webgpu/#dom-gpuquerysetdescriptor-type).