8000 GitHub - nstoddard/webgl-wrapper: A stateless wrapper around WebGL 2, to make it easier to use and more type-safe
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

nstoddard/webgl-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This library is deprecated, use gl-wrapper instead

A stateless wrapper around WebGL 2, to make it easier to use and more type-safe.

This library is somewhat similar to glium; the main differences are that this library supports WebGL through web-sys while AFAIK glium only supports WebGL through stdweb, this library only implements a subset of OpenGL functionality (though more functionality can be added as needed), and some parts of the API (such as meshes) are higher-level.

Current features:

  • Programs, meshes, 2D textures, and basic support for framebuffers and renderbuffers
  • State caching to reduce the number of redundant OpenGL calls
  • Instancing

Features not yet implemented:

  • An easier way to implement the Vertex and Uniforms traits
  • More usage examples
  • More types of textures

About

A stateless wrapper around WebGL 2, to make it easier to use and more type-safe

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0