clientWaitSync method

GLenum clientWaitSync(
  1. WebGLSync sync,
  2. GLbitfield flags,
  3. GLuint64 timeout
)

The WebGL2RenderingContext.clientWaitSync() method of the WebGL 2 API blocks and waits for a WebGLSync object to become signaled or a given timeout to be passed.

Implementation

external GLenum clientWaitSync(
  WebGLSync sync,
  GLbitfield flags,
  GLuint64 timeout,
);