For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface 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

interface GPUQuerySet {
    count: number;
    label: string;
    type: GPUQueryType;
    destroy(): void;
}

Hierarchy (View Summary)

Index
count: number

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

MDN Reference

label: string

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

MDN Reference

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

    MDN Reference

    Returns void

Was this helpful?