webgl2-core-extensions

2.0.1 • Public • Published

webgl2-core-extensions

stable

This module provides an array of extension names that have been promoted to core in WebGL2.

var core = require('webgl2-core-extensions')
 
core.indexOf('EXT_blend_minmax') >= 0
//=> true
 
core.indexOf('WEBGL_compressed_texture_s3tc') >= 0
//=> false

See WebGL Extension Registry for details. PRs welcome.

Usage

NPM

extensions = require('webgl2-core-extensions')

Provides an array of strings, extensions.

License

MIT, see LICENSE.md for details.

Package Sidebar

Install

npm i webgl2-core-extensions

Weekly Downloads

6

Version

2.0.1

License

MIT

Last publish

Collaborators

  • mattdesl