Texture handler class.
More...
#include <TextureHandler.h>
List of all members.
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Load texture.
- Parameters:
-
[in] | cTextureManager | Texture manager to use |
[in] | sFilename | Texture filename. It's also possible to create textures dynamically. "Create PLRenderer::TextureCreatorASCII3D Name=\"ASCII3D" ASCIIFilename="Data/Textures/PostProcess/Font.dds"" For instance will use the texture creator class 'PLRenderer::TextureCreatorASCII3D' to create a texture with the name 'ASCII3D' and some parameters. |
[in] | bReloadTexture | Force texture itself to be reloaded? |
- Returns:
- 'true' if all went fine, else 'false'
Unload texture.
- Returns:
- 'true' if all went fine, else 'false'
Makes the texture handlers texture to the current renderer texture.
- Parameters:
-
[in] | nStage | Which texture stage? |
- Returns:
- 'true' if all went fine, else 'false'
- Note:
- The texture handlers texture transformation matrix is also set!
Returns the texture handlers texture.
- Returns:
- Pointer to the texture handlers texture, can be a null pointer
Copy operator.
- Parameters:
-
[in] | cSource | Source to copy from |
- Returns:
- This instance
Returns the texture animation state object (if there's one :)
- Returns:
- The texture animation state object, a null pointer if there's no such object
The documentation for this class was generated from the following files: