#include <TextureOGL.h>
Public Member Functions | |
TextureOGL () | |
TextureOGL (class GraphicsManager *pGraphicsManager) | |
virtual | ~TextureOGL () |
virtual void | Cleanup () |
virtual bool | Initialize (std::string sName, std::string sFilePath, SDL_Surface *pSDLSurface, bool bExclusive=false, bool bEditable=false) |
virtual bool | UpdateTexture () |
virtual GLuint | BuildGLTexture (SDL_Surface *pSDLSurface, bool bRemove=true) |
GLuint | GetGLTexture () |
bool | IsEditable () |
Protected Member Functions | |
void | SetGLTexture (GLuint hTexture) |
virtual bool | RebuildGLTexture () |
Protected Attributes | |
bool | m_bEditable |
GLuint | m_hTexture |
TextureOGL::TextureOGL | ( | ) |
TextureOGL::TextureOGL | ( | class GraphicsManager * | pGraphicsManager | ) |
TextureOGL::~TextureOGL | ( | ) | [virtual] |
void TextureOGL::Cleanup | ( | ) | [virtual] |
Reimplemented from EPOC::Texture.
virtual bool EPOC::TextureOGL::Initialize | ( | std::string | sName, | |
std::string | sFilePath, | |||
SDL_Surface * | pSDLSurface, | |||
bool | bExclusive = false , |
|||
bool | bEditable = false | |||
) | [virtual] |
bool TextureOGL::UpdateTexture | ( | ) | [virtual] |
Reimplemented from EPOC::Texture.
GLuint TextureOGL::BuildGLTexture | ( | SDL_Surface * | pSDLSurface, | |
bool | bRemove = true | |||
) | [virtual] |
GLuint EPOC::TextureOGL::GetGLTexture | ( | ) | [inline] |
bool EPOC::TextureOGL::IsEditable | ( | ) | [inline] |
void EPOC::TextureOGL::SetGLTexture | ( | GLuint | hTexture | ) | [inline, protected] |
bool TextureOGL::RebuildGLTexture | ( | ) | [protected, virtual] |
bool EPOC::TextureOGL::m_bEditable [protected] |
GLuint EPOC::TextureOGL::m_hTexture [protected] |