1 #ifndef MSP_GL_TEXTURE_BACKEND_H_
2 #define MSP_GL_TEXTURE_BACKEND_H_
4 #include <msp/core/noncopyable.h>
12 class VulkanTexture: public NonCopyable
14 friend class VulkanFramebuffer;
15 friend class VulkanPipelineState;
20 VkImageView view_handle = 0;
22 std::string debug_name;
24 VulkanTexture(unsigned);
25 VulkanTexture(VulkanTexture &&);
29 void require_swizzle() { }
31 void generate_mipmap();
33 void set_debug_name(const std::string &);
34 void set_vulkan_object_names() const;
37 using TextureBackend = VulkanTexture;