image must match the defined storage. */
virtual void image(const Graphics::Image &, unsigned lv = 0);
- using Texture::image;
-
unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
public:
virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
- virtual std::uint64_t get_data_size() const;
+ virtual std::size_t get_data_size() const;
using Texture2DBackend::unload;
};