OgreMeshFactory Class Reference
#include <OgreMeshFactory.hh>
Public Member Functions | |
OgreMeshFactory (OgreScenePtr _scene) | |
virtual | ~OgreMeshFactory () |
void | ClearMaterialsCache (const std::string &_name) |
Remove internal material cache for a specific material. | |
virtual OgreMeshPtr | Create (const MeshDescriptor &_desc) |
Protected Member Functions | |
virtual bool | IsLoaded (const MeshDescriptor &_desc) |
virtual bool | Load (const MeshDescriptor &_desc) |
virtual bool | LoadImpl (const MeshDescriptor &_desc) |
virtual std::string | MeshName (const MeshDescriptor &_desc) |
virtual Ogre::Entity * | OgreEntity (const MeshDescriptor &_desc) |
virtual bool | Validate (const MeshDescriptor &_desc) |
Protected Attributes | |
std::vector< MaterialPtr > | materialCache |
Vector with the template materials, we keep the pointer to be able to remove it when nobody is using it. | |
OgreScenePtr | scene |
Constructor & Destructor Documentation
◆ OgreMeshFactory()
|
explicit |
◆ ~OgreMeshFactory()
|
virtual |
Member Function Documentation
◆ ClearMaterialsCache()
void ClearMaterialsCache | ( | const std::string & | _name | ) |
Remove internal material cache for a specific material.
- Parameters
-
[in] _name Name of the template material to remove.
◆ Create()
|
virtual |
◆ IsLoaded()
|
protectedvirtual |
◆ Load()
|
protectedvirtual |
◆ LoadImpl()
|
protectedvirtual |
◆ MeshName()
|
protectedvirtual |
◆ OgreEntity()
|
protectedvirtual |
◆ Validate()
|
protectedvirtual |
Member Data Documentation
◆ materialCache
|
protected |
Vector with the template materials, we keep the pointer to be able to remove it when nobody is using it.
◆ scene
|
protected |
The documentation for this class was generated from the following file: