GPUQuerySet: type property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("WebGPU API")}}{{SecureContext_Header}}{{AvailableInWorkers}}
The **type** read-only property of the {{domxref("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. "timestamp"{{experimental_inline}}- : The
GPUQuerySetmanages timestamp queries.
توجه: The timestamp-query feature needs to be enabled to use timestamp queries.
Examples
See the main [GPUQuerySet](/en-US/docs/Web/API/GPUQuerySet#examples) page for an example.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- The WebGPU API