CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

csModelDataTexture Class Reference

Document me!@. More...

#include <mdldata.h>

Inheritance diagram for csModelDataTexture:

iModelDataTexture iBase List of all members.

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...

iModelDataTextureClone () const
 Clone this texture object. More...


Detailed Description

Document me!@.

@

Definition at line 75 of file cstool/mdldata.h.


Constructor & Destructor Documentation

csModelDataTexture::csModelDataTexture  
 

Constructor.

virtual csModelDataTexture::~csModelDataTexture   [virtual]
 

Destructor.


Member Function Documentation

iModelDataTexture* csModelDataTexture::Clone   const [virtual]
 

Clone this texture object.

Note: The underlying texture or image will not be cloned!

Implements iModelDataTexture.

const char* csModelDataTexture::GetFileName   const [virtual]
 

Return the file name of the texture.

Implements iModelDataTexture.

void csModelDataTexture::LoadImage iVFS   VFS,
iImageIO   ImageIO,
int    Format
[virtual]
 

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.

void csModelDataTexture::Register iTextureList   tl [virtual]
 

Create a texture wrapper from the given texture list.

Implements iModelDataTexture.

void csModelDataTexture::SetFileName const char *    fn [virtual]
 

Set the file name of the texture.

Implements iModelDataTexture.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14