isContextLost method
The
WebGLRenderingContext.isContextLost()
method returns a
boolean value indicating whether or not the WebGL context has been lost
and
must be re-established before rendering can resume.
Implementation
external bool isContextLost();