XEngine::TextureLoaderGL Class Reference
[XEngine]
#include <TextureLoaderGL.h>
Inheritance diagram for XEngine::TextureLoaderGL:
Detailed Description
- Author:
- Koray Balci
- Version:
- 1.0
- Date:
- August 2002
- Note:
- Do NOT destroy the instance of this class if you still want to use the textures created by it. It DELETEs all the textures created by this instance.
Public Member Functions | |
void | unLoad (const ITexture *pTexture) |
Unloads the OpenGL texture from the ITexture instance. | |
bool | load (const std::string &filename, ITexture *pTexture) |
Loads the texture with the filename to the ITexture instance. | |
TextureLoaderGL () | |
Default constructor. | |
virtual | ~TextureLoaderGL () |
Constructor & Destructor Documentation
|
IMPORTANT: Clears the texture list and deletes the textures if there are any. |
Member Function Documentation
|
Loads a texture from a file and attaches it to an ITexture object.
Implements XEngine::ITextureLoader. |
|
Unloads a texture attached to a Texture object. Implements XEngine::ITextureLoader. |
The documentation for this class was generated from the following files:
- TextureLoaderGL.h
- TextureLoaderGL.cpp
Generated on Mon Aug 28 15:39:26 2006 for Xface Core Library by 1.4.6-NO