1 #ifndef MSP_GL_TEXTURE2D_BACKEND_H_
2 #define MSP_GL_TEXTURE2D_BACKEND_H_
11 class OpenGLTexture2D: public Texture
19 void sub_image(unsigned, int, int, unsigned, unsigned, const void *);
20 void sub_image(unsigned, int, int, unsigned, unsigned, const Buffer &, unsigned);
23 virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
24 virtual std::size_t get_data_size() const;
25 virtual void unload();
28 using Texture2DBackend = OpenGLTexture2D;