WebGL
The EXT_disjoint_timer_query.createQueryEXT() method of
the WebGL API creates and initializes
WebGLQuery objects, which track the time needed to fully complete
a set of GL commands.
Syntax
createQueryEXT()
Parameters
None.
Return value
A WebGLQuery object.
Examples
const ext = gl.getExtension("EXT_disjoint_timer_query");
const query = ext.createQueryExt();
Specifications
Browser compatibility
See also
- WebGLRenderingContext.getExtension()
- WebGLQuery
- EXT_disjoint_timer_query
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
