W3cubDocs

/Haxe JavaScript

ExtensionLoseContext

package js.html.webgl

@:native("WEBGL_lose_context") Available on js

The WEBGL_lose_context extension is part of the WebGL API and exposes functions to simulate losing and restoring a WebGLRenderingContext.

Documentation WEBGL_lose_context by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Methods

loseContext ():Void

Simulates losing the context.

restoreContext ():Void

Simulates restoring the context.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/webgl/ExtensionLoseContext.html