Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Friends

Texture Class Reference

Inheritance diagram for Texture:
Component Ressource Object

List of all members.

Public Member Functions

virtual const RTTIgetType () const
virtual void load (const string &name)
void bindTexture () const
GLuint getTexId () const
Vec4f getPixel (int u, int v) const
Vec4f getPixel (float u, float v) const
int width () const
int height () const

Static Public Attributes

static const RTTI TYPE

Protected Member Functions

SDL_Surface * flipSurface (SDL_Surface *surface)
GLuint loadTexture (const char *filename, bool useMipMap)

Protected Attributes

GLuint glTexObject
std::string ressourceName
SDL_Surface * textureMemory

Friends

class boost::serialization::access

The documentation for this class was generated from the following files:
All Classes Functions Variables