Refactor image_loader

This commit is contained in:
Guillaume Meunier
2024-02-18 09:03:46 +01:00
parent de95204879
commit 7ab68210f6
6 changed files with 249 additions and 192 deletions
+1 -3
View File
@@ -61,10 +61,8 @@ struct scene_data
{
struct image
{
std::variant<image_allocation, std::pair<VkDevice, ktxVulkanTexture>> image_;
std::shared_ptr<vk::Image> image_;
vk::raii::ImageView image_view = nullptr;
~image();
};
struct texture