EXT_disjoint_timer_query: isQueryEXT() method

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

The EXT_disjoint_timer_query.isQueryEXT() method of the WebGL API returns true if the passed object is a WebGLQuery object.

Syntax

js
isQueryEXT(query)

Parameters

query

A WebGLQuery object to test.

Return value

A GLboolean indicating whether the given object is a WebGLQuery object (true) or not (false).

Examples

js
const ext = gl.getExtension("EXT_disjoint_timer_query");
const query = ext.createQueryEXT();

// …

ext.isQueryEXT(query);

Specifications

Specification
WebGL EXT_disjoint_timer_query Extension Specification

Browser compatibility

See also