WebGLRenderingContext.finish()

The WebGLRenderingContext.finish() method of the WebGL API blocks execution until all previously called commands are finished.

Syntax

void gl.finish();

Parameters

None.

Return value

None.

Specifications

Specification Status Comment
WebGL 1.0
The definition of 'finish' in that specification.
Recommendation Initial definition.
OpenGL ES 2.0
The definition of 'glFinish' in that specification.
Standard Man page of the OpenGL API.

Browser compatibility

BCD tables only load in the browser

See also