Aether3D Game Engine
Texture.hpp
1 #ifndef TEXTURE_H
2 #define TEXTURE_H
3 
4 #include <string>
5 
7 class Texture
8 {
9  public:
11  enum class Filter { Point, Linear, Anisotropic8, Anisotropic16 };
13  enum class Tiling { Repeat, Clamp };
14 
16  virtual ~Texture() {}
17 
19  virtual int Height() const = 0;
20 
22  virtual int Width() const = 0;
23 };
24 #endif
virtual int Height() const =0
2D or Cube Map texture.
Definition: Texture.hpp:7
virtual int Width() const =0
Filter
Filter.
Definition: Texture.hpp:11
Tiling
Tiling.
Definition: Texture.hpp:13
virtual ~Texture()
Destructor.
Definition: Texture.hpp:16