web api instance method
WebGLRenderingContext: finish() method
Available in workers
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
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
flush()- WebGL best practices (which recommends avoiding
finish()as it may slow down your main rendering loop)