MDN self-hosted library · e01.org

WebGLRenderingContext: flush() method

WebGL

no runnable cells web-api-instance-method upstream source

WebGL

The WebGLRenderingContext.flush() method of the WebGL API empties different buffer commands, causing all commands to be executed as quickly as possible.

Syntax

flush()

Parameters

None.

Return value

None (undefined).

Specifications

Browser compatibility

See also

  • WebGLRenderingContext.finish()