Public Member Functions | List of all members
Ogre::MeshSerializerListener Class Referenceabstract

#include <OgreMeshSerializer.h>

Public Member Functions

virtual ~MeshSerializerListener ()
 
virtual void processMaterialName (Mesh *mesh, String *name)=0
 Called to override the loading of the given named material. More...
 
virtual void processMeshCompleted (Mesh *mesh)=0
 Allows to do changes on mesh after it's completely loaded. For example you can generate LOD levels here. More...
 
virtual void processSkeletonName (Mesh *mesh, String *name)=0
 Called to override the reference to a skeleton. More...
 

Detailed Description

Remarks
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.

Definition at line 192 of file OgreMeshSerializer.h.

Constructor & Destructor Documentation

§ ~MeshSerializerListener()

virtual Ogre::MeshSerializerListener::~MeshSerializerListener ( )
virtual

Definition at line 195 of file OgreMeshSerializer.h.

Member Function Documentation

§ processMaterialName()

virtual void Ogre::MeshSerializerListener::processMaterialName ( Mesh mesh,
String name 
)
pure virtual

Called to override the loading of the given named material.

§ 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.

§ processSkeletonName()

virtual void Ogre::MeshSerializerListener::processSkeletonName ( Mesh mesh,
String name 
)
pure virtual

Called to override the reference to a skeleton.


The documentation for this class was generated from the following file:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Mon Jan 2 2017 11:59:35