supertux
|
This class is a wrapper around a texture handle. More...
#include <texture.hpp>
Public Types | |
using | Key = std::tuple< std::string, Rect > |
filename, left, top, right, bottom | |
Public Member Functions | |
virtual int | get_texture_width () const =0 |
virtual int | get_texture_height () const =0 |
virtual int | get_image_width () const =0 |
virtual int | get_image_height () const =0 |
Friends | |
class | TextureManager |
This class is a wrapper around a texture handle.
It stores the texture width and height and provides convenience functions for uploading SDL_Surfaces into the texture.