17 releases (breaking)

0.14.0 Dec 15, 2023
0.13.0 Sep 14, 2023
0.12.0 Apr 11, 2023
0.11.0 Feb 10, 2023
0.2.0 Mar 21, 2022

#591 in Game dev

31 downloads per month

Apache-2.0

85KB
1.5K SLoC

bevy_vulkano

Crates.io Apache CI

This plugin replaces core loop & rendering in Bevy with Vulkano backend. Basically this allows you to be fully in control of your render pipelines with Vulkano without having to bother yourself with engine architecture much. Just roll your pipelines and have fun.

This makes it extremely easy to do following with Vulkano:

  • Windowless Apps
  • Multiple Windows
  • Event handling

From Vulkano's perspective, this plugin contains functionality for resizing, multiple windows & utility for beginning and ending the frame. However, you'll need to do everything in between yourself. A good way to get started is to look at the examples.

This should be especially useful for learning graphics pipelines from scratch using Vulkano.

  1. Add VulkanoWinitPlugin. (Don't forget to add WindowPlugin, and some basic bevy plugins). Don't add default plugins.
  2. Then create your own rendering systems using vulkano's pipelines (See example.). You'll need to know how to use Vulkano.
  3. If you want to use egui library with this, add egui and bevy_vulkano with feature gui.

Usage

See examples.

Dependencies

This library re-exports egui_winit_vulkano.

Examples:

cargo run --example multi_window_gui --features "gui links clipboard"
cargo run --example windowless_compute
cargo run --example game_of_life

Contributing

Feel free to open a PR to improve or fix anything that you see would be useful.

Dependencies

~80MB
~1.5M SLoC