AnimLoader factory.
More...
#include <MeshLoaderFactory.h>
AnimLoader factory.
AnimLoader factory used to create anim loaders.
◆ createMeshLoader()
AtomsPtr<BaseMeshLoader> Atoms::MeshLoaderFactory::createMeshLoader |
( |
const std::string & |
typeName | ) |
|
Creates an anim loader.
- Parameters
-
- Returns
- Pointer to the anim loader
◆ deregisterMeshLoader()
void Atoms::MeshLoaderFactory::deregisterMeshLoader |
( |
const std::string & |
name | ) |
|
Deregisters an anim loader type from the factory.
- Parameters
-
◆ getRegisteredMeshLoaders()
std::vector<std::string> Atoms::MeshLoaderFactory::getRegisteredMeshLoaders |
( |
| ) |
|
Gets all registered anim loader.
- Returns
- List of all anim loader type registered
◆ isRegistered()
bool Atoms::MeshLoaderFactory::isRegistered |
( |
const std::string & |
name | ) |
|
Checks if an anim loader type with the given name is registered.
- Parameters
-
- Returns
- Return true if the type is already registered
◆ registerMeshLoader()
void Atoms::MeshLoaderFactory::registerMeshLoader |
( |
const std::string & |
name, |
|
|
creatorFn |
funct |
|
) |
| |
Registers a new anim loader type in the factory.
- Parameters
-
The documentation for this class was generated from the following file: