Refactorisation de la gestion des pipelines

This commit is contained in:
Florian RICHER 2024-12-11 20:16:38 +01:00
parent f65f45fc9a
commit 1169c76b41
Signed by: florian.richer
GPG key ID: C73D37CBED7BFC77
5 changed files with 155 additions and 143 deletions

View file

@ -1,15 +1,18 @@
mod render_context;
mod app;
mod vertex;
mod pipelines;
pub use app::App;
pub use pipelines::create_triangle_pipeline;
mod scene;
pub use scene::Scene;
pub use vertex::Vertex2D;
use std::sync::Arc;
use vulkano::image::Image;
use vulkano::image::view::ImageView;
/// This function is called once during initialization, then again whenever the window is resized.
fn window_size_dependent_setup(images: &[Arc<Image>]) -> Vec<Arc<ImageView>> {
images