glo-texture

1.0.1 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    7
  • 1.0.0
    0

Package Sidebar

Install

npm i glo-texture

Weekly Downloads

7

Version

1.0.1

License

MIT

Last publish

Collaborators

  • mattdesl