<canvas>
elements. This conformance makes it possible for the API to take advantage of hardware graphics acceleration provided by the user's device.WebGL2RenderingContext
interface.<canvas>
element is also used by the Canvas API to do 2D graphics on web pages.WebGL2RenderingContext
interface. It is based on OpenGL ES 3.0 and new features include:Specification | Status | Comment |
---|---|---|
OpenGL ES 3.0 | Standard | |
OpenGL ES 2.0 | Standard | |
WebGL 2.0 | Editor's Draft | Builds on top of WebGL 1. Based on OpenGL ES 3.0. |
WebGL 1.0 | Recommendation | Initial definition. Based on OpenGL ES 2.0 |
webgl
context name, but older ones need experimental-webgl
as well. In addition, the upcoming WebGL 2 is fully backwards-compatible and will have the context name webgl2
.webgl.min_capability_mode
true
, enables a minimum capability mode. When in this mode, WebGL is configured to only support the bare minimum feature set and capabilities required by the WebGL specification. This lets you ensure that your WebGL code will work on any device or browser, regardless of their capabilities. This is false
by default.webgl.disable_extensions
true
, disables all WebGL extensions. This is false
by default.