1.0.1 • Published 9 years ago
glo-texture v1.0.1
glo-texture
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
Todo.
See Also
License
MIT, see LICENSE.md for details.