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.

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

BCD tables only load in the browser

See also