unsigned width = 0;
unsigned height = 0;
unsigned depth = 0;
- unsigned levels = 0;
Texture3D(unsigned);
public:
unsigned get_height() const { return height; }
unsigned get_depth() const { return depth; }
protected:
- unsigned get_n_levels() const;
LinAl::Vector<unsigned, 3> get_level_size(unsigned) const;
-
-public:
- virtual AsyncLoader *load(IO::Seekable &, const Resources * = 0) { return 0; }
- virtual std::size_t get_data_size() const;
- virtual void unload() { }
};
} // namespace GL