Device &device;
VkImage handle = 0;
VkImageView view_handle = 0;
+ unsigned memory_id = 0;
unsigned view_type;
std::string debug_name;
~VulkanTexture();
void allocate();
+ virtual void fill_image_info(void *) const = 0;
void require_swizzle() { }
+ void stage_pixels(void *, const void *, size_t);
+
void generate_mipmap();
+ virtual void fill_mipmap_blit(unsigned, void *) = 0;
+
+ void change_layout(int, unsigned, bool) const;
void set_debug_name(const std::string &);
void set_vulkan_object_names() const;