diff options
Diffstat (limited to 'src/vk/texture.hpp')
-rw-r--r-- | src/vk/texture.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/vk/texture.hpp b/src/vk/texture.hpp index c489e90..22711eb 100644 --- a/src/vk/texture.hpp +++ b/src/vk/texture.hpp @@ -21,12 +21,15 @@ #include "core.hpp" #include "font.hpp" +#include "queue_family.hpp" namespace VK { struct Texture { + QueueFamily *queue_family; + VkImage image; VkSampler sampler; VkImageView view; @@ -34,6 +37,9 @@ struct Texture uint32_t width, height; uint32_t mip_levels; + VkDescriptorPool descriptor_pool; + std::vector<VkDescriptorSet> descriptor_sets; + Texture(Font *font, const char *str); Texture(std::string texture_path); Texture(const char* texture_path); |