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)
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
