14 releases (breaking)

0.11.0 Feb 10, 2023
0.9.2 Dec 13, 2022
0.9.0 Nov 13, 2022
0.5.0 Jul 20, 2022
0.2.0 Mar 21, 2022

#176 in GUI

Download history 18/week @ 2022-11-23 36/week @ 2022-11-30 23/week @ 2022-12-07 26/week @ 2022-12-14 4/week @ 2022-12-21 2/week @ 2022-12-28 22/week @ 2023-01-04 16/week @ 2023-01-11 3/week @ 2023-01-18 7/week @ 2023-01-25 13/week @ 2023-02-01 52/week @ 2023-02-08 28/week @ 2023-02-15 15/week @ 2023-02-22 1/week @ 2023-03-08

59 downloads per month


1.5K SLoC


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. It also adds WindowPlugin and anything that's needed.
  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.


fn main() {
        // Vulkano configs (Modify this if you want to add features to vulkano (vulkan backend).
        // You can also disable primary window opening here
        // Window settings for primary window (if you want no window, modify config above)
        .add_plugin(VulkanoWinitPlugin {
            window_descriptor: WindowDescriptor {
                width: 1920.0,
                height: 1080.0,
                title: "Bevy Vulkano".to_string(),
                present_mode: bevy::window::PresentMode::Immediate,
                resizable: true,
                mode: WindowMode::Windowed,

Creating a pipeline

/// Creates a render pipeline. Add this system with app.add_startup_system(create_pipelines).
fn create_pipelines_system(mut commands: Commands, vulkano_windows: NonSend<VulkanoWindows>) {
    let primary_window = vulkano_windows.get_primary_window_renderer().unwrap();
    // Create your render pass & pipelines (MyRenderPass could contain your pipelines, e.g. draw_circle)
    let my_pipeline = YourPipeline::new(
    // Insert as a resource

Rendering system

/// This system should be added either at `CoreStage::PostUpdate` or `CoreStage::Last`. You could also create your own
/// render stage and place it after `CoreStage::Update`.
fn my_pipeline_render_system(
    mut vulkano_windows: NonSendMut<VulkanoWindows>,
    mut pipeline: ResMut<YourPipeline>,
) {
    let primary_window = vulkano_windows.get_primary_window_renderer_mut().unwrap();
    // Start frame
    let before = match primary_window.acquire() {
        Err(e) => {
            bevy::log::error!("Failed to start frame: {}", e);
        Ok(f) => f,

    // Access the swapchain image directly
    let final_image = primary_window.swapchain_image_view();
    // Draw your pipeline
    let after_your_pipeline = pipeline.draw(final_image);
    // Finish Frame by passing your last future. Wait on the future if needed.
    primary_window.present(after_your_pipeline, true);


This library re-exports egui_winit_vulkano.


cargo run --example multi_window_gui --features example_has_gui
cargo run --example windowless_compute
cargo run --example game_of_life


While you can use bevy_vulkano with bevy 0.9, the windowing features are not quite up to date with latest bevy_window. Feel free to make contributions if some feature is missing.


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


~1.5M SLoC