EXT_disjoint_timer_query: createQueryEXT() method
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("WebGL")}}{{AvailableInWorkers}}
The **EXT_disjoint_timer_query.createQueryEXT()** method of the WebGL API creates and initializes {{domxref("WebGLQuery")}} objects, which track the time needed to fully complete a set of GL commands.
Syntax
js-nolint
createQueryEXT()Parameters
None.
Return value
A {{domxref("WebGLQuery")}} object.
Examples
js
const ext = gl.getExtension("EXT_disjoint_timer_query");
const query = ext.createQueryExt();Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
- {{domxref("WebGLRenderingContext.getExtension()")}}
- {{domxref("WebGLQuery")}}
- {{domxref("EXT_disjoint_timer_query")}}