WEBGL_lose_context

sealed interface WEBGL_lose_context(source)

Functions

Link copied to clipboard
abstract fun loseContext()

The WEBGL_lose_context.loseContext() method is part of the WebGL API and allows you to simulate losing the context of a WebGLRenderingContext context.

Link copied to clipboard
abstract fun restoreContext()

The WEBGL_lose_context.restoreContext() method is part of the WebGL API and allows you to simulate restoring the context of a WebGLRenderingContext object.