XEngine::ModelFileFactory Class Reference
[XEngine]
#include <ModelFileFactory.h>
List of all members.
Detailed Description
- Author:
- Koray Balci
- Version:
- 1.0
- Date:
- Nov 2003
This class is used to keep track of which mesh files are currently loaded through
MeshManager and in memory. It is a Monolithic design pattern impl where all members are static.
- Todo:
- I guess this is only necessary for XFaceEd, so we might consider moving this class there.
Member Function Documentation
const MeshInfo * XEngine::ModelFileFactory::isFileLoaded |
( |
const std::string & |
filename |
) |
[static] |
|
|
Checks is the file is already loaded or not. - Returns:
- 0 pointer if it is not loaded, pointer to MeshInfo already loaded otherwise.
|
std::list< boost::shared_ptr< Drawable > > XEngine::ModelFileFactory::loadModelFile |
( |
const std::string & |
filename, |
|
|
const std::string & |
path = "./" |
|
) |
[static] |
|
void XEngine::ModelFileFactory::unloadAllFiles |
( |
|
) |
[static] |
|
|
UnLoads all the mesh files from memory. |
MeshInfo XEngine::ModelFileFactory::unloadModelFile |
( |
const std::string & |
filename |
) |
[static] |
|
|
UnLoad a single mesh file from here. filenames should be unique regardless of the path they have. i.e. you cannot have a mesh file with the same file name located at different paths! |
The documentation for this class was generated from the following files:
Generated on Mon Aug 28 15:39:26 2006 for Xface Core Library by
1.4.6-NO