使用中のWebGLバージョンを示すString変数です。
webglVersionの値は、以下の文字列定数のいずれかと等しくなります:
WEBGL2:値は'webgl2'WEBGL:値は'webgl'P2D:値は'p2d'。これは2Dスケッチのデフォルトです。
WebGLバージョンの設定方法については、setAttributes()を参照してください。
実例
Notice any errors or typos? Please let us know. Please feel free to edit src/core/environment.js and open a pull request!