A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/WebGLContextEvent/WebGLContextEvent below:

WebGLContextEvent: WebGLContextEvent() constructor - Web APIs

WebGLContextEvent: WebGLContextEvent() constructor

Baseline Widely available

Note: This feature is available in Web Workers.

The WebGLContextEvent() constructor creates a new WebGLContextEvent object.

Note: You typically don't need to call this constructor; the browser creates these objects automatically when WebGL context events get fired. To manually trigger a webglcontextlost event, use WEBGL_lose_context.loseContext().

Syntax
new WebGLContextEvent(type, options)
Parameters
type

A string indicating the type of the event. It is case-sensitive and should be one of webglcontextcreationerror, webglcontextlost, or webglcontextrestored.

options Optional

An object that, in addition to the properties defined in Event(), has the following properties:

statusMessage Optional

A string with additional status information. It defaults to the empty string ("").

Return value

A new WebGLContextEvent object.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4