![]() |
Public API Reference |
#include <mdldata.h>
Inheritance diagram for csModelDataTexture:
Public Methods | |
csModelDataTexture () | |
Constructor. More... | |
virtual | ~csModelDataTexture () |
Destructor. More... | |
void | SetFileName (const char *fn) |
Set the file name of the texture. More... | |
const char * | GetFileName () const |
Return the file name of the texture. More... | |
void | LoadImage (iVFS *VFS, iImageIO *ImageIO, int Format) |
Load the image from a file with the current filename (i.e. More... | |
void | Register (iTextureList *tl) |
Create a texture wrapper from the given texture list. More... | |
iModelDataTexture * | Clone () const |
Clone this texture object. More... |
@
Definition at line 75 of file cstool/mdldata.h.
|
Constructor.
|
|
Destructor.
|
|
Clone this texture object. Note: The underlying texture or image will not be cloned! Implements iModelDataTexture. |
|
Return the file name of the texture.
Implements iModelDataTexture. |
|
Load the image from a file with the current filename (i.e. this texture must have a file name) from the CWD of the given file system. Note: This leaves the texture wrapper untouched. Implements iModelDataTexture. |
|
Create a texture wrapper from the given texture list.
Implements iModelDataTexture. |
|
Set the file name of the texture.
Implements iModelDataTexture. |