fenceSync method

WebGLSync? fenceSync(
  1. GLenum condition,
  2. GLbitfield flags
)

The WebGL2RenderingContext.fenceSync() method of the WebGL 2 API creates a new WebGLSync object and inserts it into the GL command stream.

Implementation

external WebGLSync? fenceSync(
  GLenum condition,
  GLbitfield flags,
);