https://github.com/kvark/blade
Sharp and simple graphics library
https://github.com/kvark/blade
graphics rust-library
Last synced: about 1 year ago
JSON representation
Sharp and simple graphics library
- Host: GitHub
- URL: https://github.com/kvark/blade
- Owner: kvark
- License: mit
- Created: 2022-11-18T08:13:41.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-03-27T03:52:59.000Z (over 1 year ago)
- Last Synced: 2025-04-12T12:08:24.923Z (about 1 year ago)
- Topics: graphics, rust-library
- Language: Rust
- Homepage:
- Size: 4.98 MB
- Stars: 604
- Watchers: 7
- Forks: 46
- Open Issues: 39
-
Metadata Files:
- Readme: docs/README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blade
[](https://matrix.to/#/#blade-dev:matrix.org)
[](https://github.com/kvark/blade/actions)
[](https://docs.rs/blade)
[](https://crates.io/crates/blade)
[](https://crates.io/crates/blade-graphics)
[](https://crates.io/crates/blade-render)

Blade is an innovative rendering solution for Rust. It starts with a lean low-level GPU abstraction focused at ergonomics and fun. It then grows into a high-level rendering library that utilizes hardware ray-tracing. It's accompanied by a [task-parallel asset pipeline](https://youtu.be/1DiA3OYqvqU) together with [egui](https://www.egui.rs/) support, turning into a minimal rendering engine. Finally, the top-level Blade engine combines all of this with Rapier3D-based physics and hides them behind a concise API. Talks:
- [In GPU we Rust](https://youtu.be/92mwRCXvMVk) (Rust AI meetup, 2024)
- [Blade - lean and mean graphics library](https://youtu.be/63dnzjw4azI?t=623) (Rust Graphics meetup, 2023)
- [Blade asset pipeline](https://youtu.be/1DiA3OYqvqU) (Rust Gamedev meetup, 2023)
- [Blade scene editor](https://www.youtube.com/watch?v=Q5IUOvuXoC8) (Rust Gamedev meetup, 2023)

## Examples




## Instructions
Just the usual :crab: workflow. E.g. to run the bunny-mark benchmark run:
```bash
cargo run --release --example bunnymark
```
## Platforms
The full-stack Blade Engine can only run on Vulkan with hardware Ray Tracing support.
However, on secondary platforms, such as Metal and GLES/WebGL2, one can still use Blde-Graphics and Blade-Egui.