14 releases
0.6.0 | Dec 15, 2020 |
---|---|
0.5.1 | Jan 25, 2020 |
0.4.1 | Jan 19, 2020 |
0.3.1 | Jan 18, 2020 |
0.1.3 | Jan 10, 2020 |
#25 in #vertex
62 downloads per month
Used in egaku2d
62KB
1.5K
SLoC
Overview
A library that lets you draw various simple 2d geometry primitives and sprites fast using Vertex buffer objects with a safe api. Uses the builder pattern for a convinient api. The main design goal is to be able to draw thousands of shapes efficiently. Uses glutin and opengl es 3.0.
Screenshot

Example
See the github example, or see the crate documentation.
Demo
Demo sprites are provided courtesy of:
- Henry Software - https://henrysoftware.itch.io/pixel-food
- rvros - https://rvros.itch.io/animated-pixel-hero
- savvycow - https://savvycow.itch.io/loudypixelsky
lib.rs
:
Overview
This crate provides the opengl internals without the opengl context creation functionality. So this crate does not depend on glutin.
Dependencies
~0.5–1.2MB
~26K SLoC