]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/vulkan/texture_backend.h
Implement mipmap generation for the Vulkan backend
[libs/gl.git] / source / backends / vulkan / texture_backend.h
index 123c6e4b278efd1d9f3325c351737241800f9d49..9d0435000f45578c8815bd428869e98b9cc056d8 100644 (file)
@@ -30,7 +30,9 @@ protected:
        virtual void fill_image_info(void *) const = 0;
        void require_swizzle() { }
 
-       void generate_mipmap();
+       virtual void generate_mipmap() = 0;
+       void generate_mipmap_levels(unsigned);
+       virtual void fill_mipmap_blit(unsigned, void *) = 0;
 
        void change_layout(unsigned, int, unsigned, bool) const;