1.0.1 • Published 9 years ago

glo-texture v1.0.1

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

glo-texture

experimental

A generic WebGL texture interface for 2D, 3D, Cube and 2DArray data.

Experimental and subject to change.

var createTexture = require('glo-texture/2d')

var tex = createTexture(gl, pixels, [ width, height ])
tex.minFilter = gl.LINEAR
tex.magFilter = gl.LINEAR
tex.generateMipmap()
tex.bind()

Usage

NPM

Todo.

See Also

License

MIT, see LICENSE.md for details.