Expand Minimize

isContextLost method

Returns whether the WebGL context has been lost.

IE11

 

Syntax

var iscontextlost = WebGLRenderingContext.isContextLost();

Parameters

This method has no parameters.

Return value

Type: boolean

Returns true if context lost flag is set, false otherwise.

Remarks

The WebGLContextEvent can signal changes in the context state. The context lost flag is initially unset.

See also

WebGLRenderingContext
WebGLContextEvent

 

 

Show:
© 2014 Microsoft