GPUQuerySet
The GPUQuerySet interface of the WebGPU API is used to record the results of queries on passes, such as occlusion or timestamp queries.
Available only in secure contexts.
Extends
Methods
destroy()
destroy(): void;
The destroy() method of the GPUQuerySet interface destroys the GPUQuerySet.
Returns
void
Properties
count
readonly count: number;
The count read-only property of the GPUQuerySet interface is a number specifying the number of queries managed by the GPUQuerySet.
label
label: string;
Inherited from
type
readonly type: GPUQueryType;
The type read-only property of the GPUQuerySet interface is an enumerated value specifying the type of queries managed by the GPUQuerySet.