};
protected:
- unsigned width;
- unsigned height;
- unsigned depth;
- unsigned levels;
+ unsigned width = 0;
+ unsigned height = 0;
+ unsigned depth = 0;
+ unsigned levels = 0;
Texture3D(unsigned);
public:
- Texture3D();
+ Texture3D() = default;
/** Defines storage structure for the texture. If lv is zero, the number
of mipmap levels is automatically determined from storage dimensions.
storage. */
virtual void image(const Graphics::Image &, unsigned = 0);
- using Texture::image;
-
unsigned get_width() const { return width; }
unsigned get_height() const { return height; }
unsigned get_depth() const { return depth; }