Skip to content

QuerySetDescriptor

data class QuerySetDescriptor(
    val type: GPUQueryType, 
    val count: GPUSize32, 
    val label: String = ""
) : GPUQuerySetDescriptor
Describes the query type and number of queries in a GPUQuerySet.

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

open override val label: String

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).