WebGLQuery - Web APIs | MDN
Examples
Creating a WebGLQuery object
in this example, gl must be a WebGL2RenderingContext. WebGLQuery objects are not available in WebGL 1.
js
const query = gl.createQuery();
Specifications
| Specification |
|---|
| WebGL 2.0 Specification # 3.2 |