A String variable with the WebGL version in use.
webglVersion's value equals one of the following string constants:
WEBGL2whose value is'webgl2',WEBGLwhose value is'webgl', orP2Dwhose value is'p2d'. This is the default for 2D sketches.
See setAttributes() for ways to set the WebGL version.
Examples
Notice any errors or typos? Please let us know. Please feel free to edit src/core/environment.js and open a pull request!