EXT_disjoint_timer_query: isQueryEXT() method
WebGL
WebGL
The EXT_disjoint_timer_query.isQueryEXT() method of the
WebGL API returns true if the
passed object is a WebGLQuery object.
Syntax
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
const ext = gl.getExtension("EXT_disjoint_timer_query");
const query = ext.createQueryEXT();
// …
ext.isQueryEXT(query);
Specifications
Browser compatibility
See also
- WebGLRenderingContext.getExtension()
- WebGLQuery
- EXT_disjoint_timer_query