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