render_plugin: Autocreate swapchain and update
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 9m45s

This commit is contained in:
Florian RICHER 2025-05-18 21:00:22 +02:00
parent ae0a2be097
commit 62d12f2ab8
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
5 changed files with 201 additions and 147 deletions

View file

@ -1,7 +1,6 @@
use std::sync::Arc;
use bevy_ecs::resource::Resource;
use engine_window::raw_handle::WindowWrapper;
use utils::{device::create_and_insert_device, instance::create_and_insert_instance};
use vulkano::{
command_buffer::allocator::StandardCommandBufferAllocator,
@ -10,12 +9,10 @@ use vulkano::{
instance::Instance,
memory::allocator::StandardMemoryAllocator,
};
use window_render_context::WindowRenderContext;
use bevy_app::{App, Plugin};
mod utils;
mod window_render_context;
#[derive(Resource, Clone)]
pub struct VulkanInstance(pub Arc<Instance>);