UGDK
|
#include <texture.h>
Public Member Functions | |
~Texture () | |
GLuint | gltexture () const |
const int | width () const |
const int | height () const |
Static Public Member Functions | |
static Texture * | CreateFromFile (const std::string &filepath) |
static Texture * | CreateFromSurface (SDL_Surface *data) |
static Texture * | CreateRawTexture (int texture_width, int texture_height) |
Texture * ugdk::graphic::Texture::CreateFromFile | ( | const std::string & | filepath | ) | [static] |
Texture * ugdk::graphic::Texture::CreateFromSurface | ( | SDL_Surface * | data | ) | [static] |
Texture * ugdk::graphic::Texture::CreateRawTexture | ( | int | texture_width, |
int | texture_height | ||
) | [static] |
GLuint ugdk::graphic::Texture::gltexture | ( | ) | const [inline] |
const int ugdk::graphic::Texture::height | ( | ) | const [inline] |
const int ugdk::graphic::Texture::width | ( | ) | const [inline] |