web api instance property
GPUQuerySet: type property
Secure contextAvailable in workers
The type read-only property of the
GPUQuerySet interface is an enumerated value specifying the type of queries managed by the GPUQuerySet.
Value
An enumerated value. Possible values are:
"occlusion"- : The
GPUQuerySetmanages occlusion queries.
- : The
"timestamp"Experimental- : The
GPUQuerySetmanages timestamp queries.
- : The
[!NOTE] The
timestamp-queryfeature needs to be enabled to use timestamp queries.
Examples
See the main GPUQuerySet page for an example.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
- The WebGPU API