- Texture(unsigned int width, unsigned int height, GLenum glformat);
- Texture(SDL_Surface* surface, GLenum glformat);
- virtual ~Texture();
-
- GLuint get_handle() const
+ Texture() : refcount(0), filename() {}
+ virtual ~Texture() {}
+
+ virtual unsigned int get_texture_width() const = 0;
+ virtual unsigned int get_texture_height() const = 0;
+ virtual unsigned int get_image_width() const = 0;
+ virtual unsigned int get_image_height() const = 0;
+
+ std::string get_filename() const