mesh loading, broken mesh

This commit is contained in:
zomseffen 2024-04-26 18:22:14 +02:00
parent f6276bfdf6
commit 31d4a139ef
9 changed files with 16153 additions and 27 deletions

View file

@ -1,7 +1,14 @@
use vulkanalia::prelude::v1_0::*;
use crate::vertex;
// The Vulkan handles and associated properties used by our Vulkan app.
#[derive(Clone, Debug, Default)]
pub struct AppData {
pub vertices: Vec<vertex::Vertex>,
pub indices: Vec<u32>,
pub surface: vk::SurfaceKHR,
pub messenger: vk::DebugUtilsMessengerEXT,
pub physical_device: vk::PhysicalDevice,