adds mipmapping

This commit is contained in:
zomseffen 2024-04-27 10:52:06 +02:00
parent 8afb2d2a3c
commit b5d3864d01
4 changed files with 167 additions and 12 deletions

View file

@ -48,6 +48,7 @@ pub struct AppData {
pub descriptor_pool: vk::DescriptorPool,
pub descriptor_sets: Vec<vk::DescriptorSet>,
pub mip_levels: u32,
pub texture_image: vk::Image,
pub texture_image_memory: vk::DeviceMemory,
pub texture_image_view: vk::ImageView,