8.0.1 • Published 6 years ago

webgl-simple v8.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

Build Status

WebGl-Simple

A barebones, framework-agnostic wrapper to make working with webgl a little simpler, more efficient, and fun!

This library is not an engine. Rather, it's a foundation that an optimized engine would build upon to make its own choices (e.g. culling meshes) - without wishing for different choices at this level.

That's the goal anyway!

Approach

The optimizations are generally only low-level things that aren't too opinionated. Specific examples include:

  1. Grouping functions that always travel together (e.g. shader compilation steps)
  2. Caching and memoization (e.g. uniform location lookups)
  3. Preventing native switching (e.g. skipping bindBuffer if its already active, skipping switching a shader if its active, etc.)

That's the basic idea - to keep it simple and help reduce api calls where it's a definite win :)

Usage

Since the core of the library is just a thin layer over native webgl, it can be used to render anything, just write a renderer and you're off to the races (see the example source)

In the wild

8.0.1

6 years ago

8.0.0

6 years ago

7.0.0

6 years ago

6.0.0

6 years ago

5.1.0

6 years ago

5.0.1

6 years ago

5.0.0

6 years ago

4.0.0

6 years ago

3.0.0

6 years ago

2.0.3

6 years ago

2.0.2

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.2.5-alpha

6 years ago

0.2.4-alpha

6 years ago

0.2.3-alpha

6 years ago

0.2.1-alpha

6 years ago

0.2.0-alpha

6 years ago

0.1.9-alpha

6 years ago

0.1.8-alpha

6 years ago

0.1.7-alpha

6 years ago

0.1.6-alpha

6 years ago

0.1.5-alpha

6 years ago

0.1.3-alpha

6 years ago

0.1.2-alpha

6 years ago

0.1.1-alpha

6 years ago

0.1.0-alpha

6 years ago

0.0.9-alpha

6 years ago

0.0.8-alpha

6 years ago

0.0.7-alpha

6 years ago

0.0.6-alpha

6 years ago

0.0.5-alpha

6 years ago

0.0.4-alpha

6 years ago

0.0.3-alpha

6 years ago

0.0.2-alpha

6 years ago

0.0.1-alpha

6 years ago