QuerySetDescriptor¶
data class QuerySetDescriptor(
val type: GPUQueryType,
val count: GPUSize32,
val label: String = ""
) : GPUQuerySetDescriptor
Constructors¶
QuerySetDescriptor¶
constructor(
type: GPUQueryType,
count: GPUSize32,
label: String = ""
)
Properties¶
count¶
open override 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¶
type¶
open override 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).