WebGLDetector.js
Detect WebGL.
This module made of WebModule.
Documentation
Browser, NW.js and Electron
<script src="<module-dir>/lib/WebModule.js"></script><script src="<module-dir>/lib/WebGLDetector.js"></script><script>WebGLDetector;WebGLDetectorWEBGL_CONTEXT // -> "wegbl"WebGLDetectorWEBGL_VERSION // -> "WebGL 1.0 (OpenGL ES 2.0 Chromium)"WebGLDetectorWEBGL_VERNDOR // -> "WebKit"WebGLDetectorWEBGL_RENDERER // -> "WebKit WebGL"WebGLDetectorWEBGL_SL_VERSION // -> "WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)"WebGLDetectorMAX_TEXTURE_SIZE // -> 16384</script>