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 WebGL_API/Types 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
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
