getQuery method

WebGLQuery? getQuery(
  1. GLenum target,
  2. GLenum pname
)

The WebGL2RenderingContext.getQuery() method of the WebGL 2 API returns the currently active WebGLQuery for the target, or null.

Implementation

external WebGLQuery? getQuery(
  GLenum target,
  GLenum pname,
);