Texture.
More...
#include <Texture.h>
List of all members.
Public Member Functions |
| CTexture () |
| Default constructor.
|
virtual | ~CTexture () |
bool | LoadTexture (const std::string &fileName, int id, bool createMipMaps=false) |
| Loads a texture.
|
bool | CreateEmpty (int iWidth, int iHeight, int id, D3DFORMAT d3dFormat) |
| Creates an empty.
|
bool | CreateEmptyRenderTarget (int iWidth, int iHeight, int id, D3DFORMAT d3dFormat) |
| Creates an empty render target.
|
std::string | GetFileName () |
| Gets the file name.
|
LPDIRECT3DTEXTURE9 | GetTexture () |
| Gets the texture.
|
int | GetWidth () |
| Gets the width.
|
int | GetHeight () |
| Gets the height.
|
int | GetId () |
| Gets the identifier.
|
void | SetTexture (LPDIRECT3DTEXTURE9 m_Texture) |
| Sets a texture.
|
Detailed Description
Texture.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Constructor & Destructor Documentation
Default constructor.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
Member Function Documentation
Creates an empty.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
iWidth | The width. |
iHeight | The height. |
id | The identifier. |
d3dFormat | The 3d format. |
- Returns:
- true if it succeeds, false if it fails.
Creates an empty render target.
- Author:
- Christian Knobloch
- Date:
- 01.06.2010
- Parameters:
-
iWidth | The width. |
iHeight | The height. |
id | The identifier. |
d3dFormat | The 3d format. |
- Returns:
- true if it succeeds, false if it fails.
Gets the file name.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- The file name.
Gets the height.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- The height.
Gets the identifier.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- The identifier.
Gets the texture.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- The texture.
Gets the width.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Returns:
- The width.
Loads a texture.
- Author:
- Christian Knobloch
- Date:
- 19.04.2010
- Parameters:
-
fileName | Filename of the file. |
id | The identifier. |
createMipMaps | true to create mip maps. |
- Returns:
- true if it succeeds, false if it fails.
Sets a texture.
- Author:
- Christian Knobloch
- Date:
- 03.12.2010
- Parameters:
-
The documentation for this class was generated from the following files:
- D:/source/c++/Programme/sally/sally/sallyAPI/Texture.h
- D:/source/c++/Programme/sally/sally/sallyAPI/Texture.cpp