render_plugin: Autocreate swapchain and update
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 9m45s
Some checks failed
Build legacy Nix package on Ubuntu / build (push) Failing after 9m45s
This commit is contained in:
parent
ae0a2be097
commit
62d12f2ab8
5 changed files with 201 additions and 147 deletions
|
@ -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>);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue