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.
Ejemplos
This page is generated from the comments in src/core/environment.js . Please feel free to edit it and submit a pull request!
Referencias Relacionadas
deltaTime
A Number variable that tracks the number of milliseconds it took to draw the last frame.
describeElement
Creates a screen reader-accessible description of elements in the canvas.
displayDensity
Returns the display's current pixel density.
displayHeight
A Number variable that stores the height of the screen display.