X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Ftexture2d.h;h=b13b8b3ca3bd8c274c04056d00999bbd26707b4e;hb=3efe3bab1c8290bd49a957ebec0ad97e58a35fcf;hp=02cdade57e30e1b19cc771b2a0df4030d3b0a3fe;hpb=c218e021ede4e91c0fbc22ea9d636283409f847f;p=libs%2Fgl.git diff --git a/source/core/texture2d.h b/source/core/texture2d.h index 02cdade5..b13b8b3c 100644 --- a/source/core/texture2d.h +++ b/source/core/texture2d.h @@ -61,6 +61,8 @@ public: }; private: + class AsyncLoader; + unsigned width = 0; unsigned height = 0; @@ -91,6 +93,9 @@ public: private: unsigned get_n_levels() const; LinAl::Vector get_level_size(unsigned) const; + +public: + virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0); }; } // namespace GL