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.

MDN Reference

Properties

Link copied to clipboard
external val count: GPUSize32Out

The count read-only property of the GPUQuerySet interface is a number specifying the number of queries managed by the GPUQuerySet.

Link copied to clipboard
open external var label: String
Link copied to clipboard
external val type: GPUQueryType

The type read-only property of the GPUQuerySet interface is an enumerated value specifying the type of queries managed by the GPUQuerySet.

Functions

Link copied to clipboard
external fun destroy()

The destroy() method of the GPUQuerySet interface destroys the GPUQuerySet.