Public Member Functions | |
MeshProcessor (AssetGroup *parent) | |
Constructor. | |
~MeshProcessor () | |
Deconstructor. | |
IAnimatedMesh * | getMesh (const std::string &fileName) |
Gets the mesh with the given filename. | |
bool | reloadAsset (const std::string &fileName) |
Reloads the asset with the given filename. | |
void | reloadAssets () |
Reloads all assets. | |
bool | removeAsset (const std::string &fileName) |
Removes the asset with the given filename. | |
void | removeAssets () |
Removes all assets. | |
Static Public Member Functions | |
static AssetProcessor * | createProcessor (AssetGroup *parent) |
Creates a new MeshProcessor. | |
Protected Member Functions | |
bool | loadAsset (const std::string &fileName) |
Loads the asset with the given filename. | |
void | loadAssets () |
Loads all assets. |
Definition at line 30 of file MeshProcessor.h.
MeshProcessor::MeshProcessor | ( | AssetGroup * | parent | ) |
MeshProcessor::~MeshProcessor | ( | ) |
AssetProcessor * MeshProcessor::createProcessor | ( | AssetGroup * | parent | ) | [static] |
Creates a new MeshProcessor.
Definition at line 222 of file MeshProcessor.cpp.
IAnimatedMesh * MeshProcessor::getMesh | ( | const std::string & | fileName | ) |
Gets the mesh with the given filename.
fileName | Filename of the mesh. |
Definition at line 35 of file MeshProcessor.cpp.
bool MeshProcessor::loadAsset | ( | const std::string & | fileName | ) | [protected, virtual] |
Loads the asset with the given filename.
fileName | Filename of the asset. |
Reimplemented from AssetProcessor.
Definition at line 46 of file MeshProcessor.cpp.
void MeshProcessor::loadAssets | ( | ) | [protected, virtual] |
Loads all assets.
Reimplemented from AssetProcessor.
Definition at line 88 of file MeshProcessor.cpp.
bool MeshProcessor::reloadAsset | ( | const std::string & | fileName | ) | [virtual] |
Reloads the asset with the given filename.
fileName | Filename of the asset. |
Reimplemented from AssetProcessor.
Definition at line 142 of file MeshProcessor.cpp.
void MeshProcessor::reloadAssets | ( | ) | [virtual] |
Reloads all assets.
Reimplemented from AssetProcessor.
Definition at line 155 of file MeshProcessor.cpp.
bool MeshProcessor::removeAsset | ( | const std::string & | fileName | ) | [virtual] |
Removes the asset with the given filename.
fileName | Filename of the asset. |
Reimplemented from AssetProcessor.
Definition at line 166 of file MeshProcessor.cpp.
void MeshProcessor::removeAssets | ( | ) | [virtual] |
Removes all assets.
Reimplemented from AssetProcessor.
Definition at line 196 of file MeshProcessor.cpp.