Crates.io | pigeon-2d |
lib.rs | pigeon-2d |
version | 0.5.0 |
source | src |
created_at | 2022-05-31 16:46:05.0171 |
updated_at | 2022-07-25 14:26:25.621806 |
description | A simple, flexable, cross-platform 2D rendering library. |
homepage | |
repository | https://github.com/Chameko/pigeon |
max_upload_size | |
id | 597614 |
size | 913,564 |
A simple, flexable, cross-platform 2D rendering library.
Pigeon's development is primarily driven by the need for a graphical backend for AVN. However I also wanted to keep it seperate from AVN so it could be used for other projects.
I wanted it to be simple, small, portable and flexable. Pigeon isn't designed to manage your application and create windows, it just draws shapes to a screen real good (or as good as I can make it).
You can see some examples in the example folder
Pigeon implements a form of auto-batching where all the graphics that are rendered with the same pipeline are grouped together into one large vertex and index array. They are then sorted by texture to minimise the swapping of texture bind groups during rendering.
Pigeon designed to come with very little build in, but instead with the ability to expand with your own pipelines using parrot and your own graphics using pigeon.
Looking into web assembly
I am very new to graphics programming and this is more or less an effort to increase my understanding. Use at your own risk. Also, the API is still unstable and succeptable to changes