beginQuery method

void beginQuery(
  1. GLenum target,
  2. WebGLQuery query
)

The WebGL2RenderingContext.beginQuery() method of the WebGL 2 API starts an asynchronous query. The target parameter indicates which kind of query to begin.

Implementation

external void beginQuery(
  GLenum target,
  WebGLQuery query,
);