9 releases
0.1.8 | May 24, 2023 |
---|---|
0.1.7 | May 23, 2023 |
#113 in Graphics APIs
297 downloads per month
1.5MB
5.5K
SLoC
Mepeyew
Computer graphics has gotten to the point where you can't just draw pixels onto the screen directly anymore. Instead, rendering APIs are used for drawing in order to efficiently utilize the hardware. Each platform has its own preferred APIs (DirectX on Windows, Metal on MacOS, etc), where each platform has its own little quirks and tricks.
Built in rust, mepeyew
is meant to hide away these quirks in a nice and neat package while
trying to give you as much power as possible!
The classic hello triangle!
Getting Started
⚠️ Warning!
Currently, this project is going through many changes and isn't stable!
As of v0.1, you can assume that every version bump will break things.
Add this to your Cargo.toml
:
mepeyew = "0.1"
Examples
Hey, welcome to the world of graphics programming. I'm deeply sorry, but in this strange world, there is no such thing as "basic usage". I'd like to put the classic triangle example code, but that would completely fill your screen. Instead, I'd recommend checking out this quick example in the docs. Or, for a more comprehensive set of examples, check out out the examples here on github.
Road Map
This project is a work in progress! The API is designed to be stable, but I can't guarentee anything of course.
- Basic Uniforms
- Textures
- Shader Attachments
- Documentation
- v0.1 Release!
- WGSL and Naga
- WebGPU
- (Tested) Depth Buffers
- (Tested) Stencil Buffers
- MSAA
- More Attachment Formats
- Dynamic Viewport + Scissor
- Compute
- More Documentation
- (Debug, Clone, Copy)-ify Everything
- v0.2 Release!
Dependencies
~0–5MB
~109K SLoC