EXT_disjoint_timer_query: isQueryEXT() method
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
WebGLQueryobject 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