webgl-specs
0.0.0 • Public • Published webgl-hardware
Detect the specs of a device
Install
yarn add webgl-hardware
npm install webgl-hardware
Usage
If you have a module loader (webpack or rollup)
import WebGLHardware from 'webgl-hardware';
const report = WebGLHardware();
report.unMaskedRenderer
report.unMaskedVendor
report.glVersion
If you're not:
<html>
<body>
<script type="module">
import WebglHardware from 'https://unpkg.com/webgl-hardware@latest/index.js';
const report = WebGLHardware();
report.unMaskedRenderer
report.unMaskedVendor
report.glVersion
</script>
</body>
</html>
Prior Art
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.0
1
Version History
- VersionDownloads (Last 7 Days)
- 0.0.0
1
Package Sidebar
Install
Weekly Downloads