WebGLRenderingContext: finish() method
WebGL
WebGL
The WebGLRenderingContext.finish() method of the WebGL API blocks execution until all
previously called commands are finished.
Syntax
finish()
Parameters
None.
Return value
None (undefined).
Specifications
Browser compatibility
See also
- WebGLRenderingContext.flush()
- WebGL best practices (which recommends avoiding
finish()as it may slow down your main rendering loop)