Refactorisation de la gestion des pipelines
This commit is contained in:
parent
f65f45fc9a
commit
1169c76b41
5 changed files with 155 additions and 143 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue