Ib Green 7c9f422335 Capability management (#171)
* State and capability management

* Transform feedback fixes (updates to @gnavvy tf-feedback example_

* Documentation and Demo improvements
2017-05-29 08:49:24 -07:00
..
2017-05-15 09:36:58 -07:00
2017-05-29 08:49:24 -07:00
2017-05-15 09:36:58 -07:00
2017-05-29 08:49:24 -07:00
2017-05-29 08:49:24 -07:00

Core API Reference

The core module, with the signature Model class, represent a set of fairly traditional 3D library classes on a slightly higher abstraction level than the WebGL2 API, that can serve as the basic building blocks for most applications.

Also contains a limited scene graph system that provides primitive hierarchy of 3D objects with positioning, grouping, traversal and scene support.

  • Model - A renderable object with attributes and uniforms. |
  • Geometry - Holds attributes and drawType for a geometric primitive |
  • Group - Supports recursive travesal and matrix transformation |
  • AnimationFrame - render loop / app life cycle support |
  • Object3D - Base class, golds position, rotation, scale (TBD) |

Note the Model class is in many ways the quintessential luma.gl class. It ties together many concepts in luma.gl and is a good place to start reading if you are new to the framework.