private:
unsigned width = 0;
unsigned height = 0;
- unsigned levels = 0;
public:
+ Texture2D() = default;
+ Texture2D(Texture2D &&) = default;
virtual ~Texture2D();
/** Sets storage format and dimensions and allocates memory for the texture.
private:
unsigned get_n_levels() const;
LinAl::Vector<unsigned, 2> get_level_size(unsigned) const;
-
-public:
- virtual Resource::AsyncLoader *load(IO::Seekable &, const Resources * = 0);
- virtual std::size_t get_data_size() const;
- using Texture2DBackend::unload;
};
} // namespace GL