Note: This feature is available in Web Workers.
The WebGLRenderingContext.flush() method of the WebGL API empties different buffer commands, causing all commands to be executed as quickly as possible.
WebGLRenderingContext.flush()
flush()
None.
None (undefined).
undefined
WebGLRenderingContext.finish()