mesh loading, broken mesh
This commit is contained in:
parent
f6276bfdf6
commit
31d4a139ef
9 changed files with 16153 additions and 27 deletions
src
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue