Manager for textures.
More...
#include <TextureManager.h>
List of all members.
Detailed Description
Manager for textures.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Member Function Documentation
Creates an emptey texture.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
iWidth | The width. |
iHeight | The height. |
d3dFormat | The 3d format. |
- Returns:
- null if it fails, else.
Creates an empty texture as a render target.
- Author:
- Christian Knobloch
- Date:
- 27.04.2010
- Parameters:
-
iWidth | The width. |
iHeight | The height. |
d3dFormat | The 3d format. |
- Returns:
- null if it fails, else.
Deletes an instance.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Gets the instance.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- null if it fails, else the instance.
Gets a texture by identifier.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
- Returns:
- null if it fails, else the texture by identifier.
Gets a texture by name.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
fileName | Filename of the file. |
- Returns:
- null if it fails, else the texture by name.
Loads a texture.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
fileName | Filename of the file. |
createMipMaps | true to create mip maps. |
- Returns:
- null if it fails, else the texture.
Removes the texture by identifier described by id.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
- Returns:
- true if it succeeds, false if it fails.
Removes the texture by name described by fileName.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
fileName | Filename of the file. |
- Returns:
- true if it succeeds, false if it fails.
Removes the texture by texture described by texture.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
[in,out] | texture | If non-null, the texture. |
- Returns:
- true if it succeeds, false if it fails.
The documentation for this class was generated from the following files: