pre texture

This commit is contained in:
zomseffen 2024-04-23 18:59:45 +02:00
parent ff4302837e
commit 0137d21406
5 changed files with 394 additions and 96 deletions

View file

@ -15,6 +15,7 @@ pub struct AppData {
pub swapchain_image_views: Vec<vk::ImageView>,
pub descriptor_set_layout: vk::DescriptorSetLayout,
pub pipeline_layout: vk::PipelineLayout,
pub render_pass: vk::RenderPass,
pub pipeline: vk::Pipeline,
@ -30,4 +31,14 @@ pub struct AppData {
pub vertex_buffer: vk::Buffer,
pub vertex_buffer_memory: vk::DeviceMemory,
pub index_buffer: vk::Buffer,
pub index_buffer_memory: vk::DeviceMemory,
pub uniform_buffers: Vec<vk::Buffer>,
pub uniform_buffers_memory: Vec<vk::DeviceMemory>,
pub descriptor_pool: vk::DescriptorPool,
pub descriptor_sets: Vec<vk::DescriptorSet>,
}