Refactor vertex buffer creations
This commit is contained in:
parent
1169c76b41
commit
11a5083513
7 changed files with 132 additions and 108 deletions
|
@ -1,7 +1,7 @@
|
|||
mod render_context;
|
||||
mod app;
|
||||
mod vertex;
|
||||
mod pipelines;
|
||||
mod render_context;
|
||||
mod vertex;
|
||||
pub use app::App;
|
||||
pub use pipelines::create_triangle_pipeline;
|
||||
|
||||
|
@ -10,8 +10,8 @@ pub use scene::Scene;
|
|||
pub use vertex::Vertex2D;
|
||||
|
||||
use std::sync::Arc;
|
||||
use vulkano::image::Image;
|
||||
use vulkano::image::view::ImageView;
|
||||
use vulkano::image::Image;
|
||||
|
||||
/// 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>> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue