supertux
Public Types | Public Member Functions | Friends | List of all members
Texture Class Referenceabstract

This class is a wrapper around a texture handle. More...

#include <texture.hpp>

Inheritance diagram for Texture:
Inheritance graph
[legend]

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
 

Detailed Description

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.


The documentation for this class was generated from the following files: