Firefox Tomorrow

web api instance property

GPUQuerySet: type property

View on MDN ↗

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 GPUQuerySet manages occlusion queries.
  • "timestamp" Experimental
    • : The GPUQuerySet manages timestamp queries.

[!NOTE] The timestamp-query feature 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