};
private:
- unsigned width;
- unsigned height;
- unsigned levels;
+ unsigned width = 0;
+ unsigned height = 0;
+ unsigned levels = 0;
public:
- Texture2D();
virtual ~Texture2D();
/** Defines storage structure for the texture. If lv is zero, the number
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; }