Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Detect WebGL

License

NotificationsYou must be signed in to change notification settings

uupaa/WebGLDetector.js

Repository files navigation

npm

Detect WebGL.

This module made ofWebModule.

Documentation

Browser, NW.js and Electron

<scriptsrc="<module-dir>/lib/WebModule.js"></script><scriptsrc="<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>

About

Detect WebGL

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp