1 #ifndef MSP_GL_TEXTURE2D_BACKEND_H_
2 #define MSP_GL_TEXTURE2D_BACKEND_H_
9 class VulkanTexture2D: public Texture
12 class AsyncTransfer: public NonCopyable
15 AsyncTransfer() = default;
16 AsyncTransfer(AsyncTransfer &&) { }
17 AsyncTransfer &operator=(AsyncTransfer &&) { return *this; }
25 virtual void fill_image_info(void *) const;
26 void sub_image(unsigned, int, int, unsigned, unsigned, const void *);
27 virtual void fill_mipmap_blit(unsigned, void *);
30 virtual std::size_t get_data_size() const;
31 virtual void unload();
34 using Texture2DBackend = VulkanTexture2D;