0.1.2 • Published 9 years ago

uupaa.webgldetector.js v0.1.2

Weekly downloads
173
License
MIT
Repository
github
Last release
9 years ago

WebGLDetector.js Build Status

npm

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.detect();
WebGLDetector.WEBGL_CONTEXT     // -> "wegbl"
WebGLDetector.WEBGL_VERSION     // -> "WebGL 1.0 (OpenGL ES 2.0 Chromium)"
WebGLDetector.WEBGL_VERNDOR     // -> "WebKit"
WebGLDetector.WEBGL_RENDERER    // -> "WebKit WebGL"
WebGLDetector.WEBGL_SL_VERSION  // -> "WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)"
WebGLDetector.MAX_TEXTURE_SIZE  // -> 16384
</script>
0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.5

9 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago