Design.Rendering.BatchesAndGroups - lidavidm/jsglet GitHub Wiki
Batch
A grouping of several buffer objects intended to be rendered together.
- Use an allocator like Pyglet? (One block of memory/array for each vertex attribute description)
- Only one program per batch
Group
A way to temporarily set and unset OpenGL state, such as textures, as well as order the drawing of objects.