This class allows users to hook into the mesh loading process and modify references within the mesh as they are loading.
More...
#include <OgreMeshSerializer.h>
This class allows users to hook into the mesh loading process and modify references within the mesh as they are loading.
Material and skeletal references can be processed using this interface which allows finer control over resources.
◆ ~MeshSerializerListener()
virtual Ogre::MeshSerializerListener::~MeshSerializerListener |
( |
| ) |
|
|
inlinevirtual |
◆ processMaterialName()
virtual void Ogre::MeshSerializerListener::processMaterialName |
( |
Mesh * |
mesh, |
|
|
String * |
name |
|
) |
| |
|
pure virtual |
Called to override the loading of the given named material.
◆ processSkeletonName()
virtual void Ogre::MeshSerializerListener::processSkeletonName |
( |
Mesh * |
mesh, |
|
|
String * |
name |
|
) |
| |
|
pure virtual |
Called to override the reference to a skeleton.
◆ processMeshCompleted()
virtual void Ogre::MeshSerializerListener::processMeshCompleted |
( |
Mesh * |
mesh | ) |
|
|
pure virtual |
Allows to do changes on mesh after it's completely loaded. For example you can generate LOD levels here.
The documentation for this class was generated from the following file: