iterami/Docs.htm/common HTM Projects/webgl.js/webgl_context_lost(event)
- Handles WebGL context loss.
- When context is restored, webgl_context_restored() is called.
- Context loss can be tested in the MultiverseEditor.htm UI, or the following lines pasted into the browser console:
test = webgl.getExtension('WEBGL_lose_context');
test.loseContext();
test.restoreContext();