Refactor image_loader

This commit is contained in:
Guillaume Meunier
2024-02-18 09:03:46 +01:00
parent ab2d1f02ce
commit 0a7f830249
8 changed files with 66 additions and 49 deletions
+1 -2
View File
@@ -42,8 +42,7 @@ class imgui_context
struct texture_data
{
vk::raii::Sampler sampler;
std::shared_ptr<vk::Image> image;
vk::raii::ImageView image_view;
std::shared_ptr<vk::raii::ImageView> image_view;
vk::raii::DescriptorSet descriptor_set;
};