]> git.tdb.fi Git - libs/gl.git/blobdiff - source/backends/opengl/texture3d_backend.h
Move the Resource function override of Texture classes into backend
[libs/gl.git] / source / backends / opengl / texture3d_backend.h
index 33dcee08257d0737bd9e8dc8d04aadbed5a873a0..9e79f2496617b3c62f4193a10431e1572996228e 100644 (file)
@@ -16,6 +16,11 @@ protected:
        void sub_image(unsigned, int, int, int, unsigned, unsigned, unsigned, const void *);
 
        bool is_array() const;
+
+public:
+       virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
+       virtual std::size_t get_data_size() const;
+       virtual void unload() { }
 };
 
 using Texture3DBackend = OpenGLTexture3D;