29 #ifndef __MeshSerializer_H__
30 #define __MeshSerializer_H__
39 class MeshSerializerListener;
104 void exportMesh(
const Mesh* pMesh,
const String& filename,
105 Endian endianMode = ENDIAN_NATIVE);
118 void exportMesh(
const Mesh* pMesh,
const String& filename,
120 Endian endianMode = ENDIAN_NATIVE);
131 Endian endianMode = ENDIAN_NATIVE);
146 Endian endianMode = ENDIAN_NATIVE);
172 : version(_ver), versionString(_string), impl(_impl) {}
MeshSerializerImpl * impl
Generic class for serialising data to / from binary stream-based files.
Class for serialising mesh data to/from an OGRE .mesh file.
vector< MeshVersionData * >::type MeshVersionDataList
virtual void processMaterialName(Mesh *mesh, String *name)=0
Called to override the loading of the given named material.
MeshVersionDataList mVersionData
MeshVersionData(MeshVersion _ver, const String &_string, MeshSerializerImpl *_impl)
virtual void processMeshCompleted(Mesh *mesh)=0
Allows to do changes on mesh after it's completely loaded. For example you can generate LOD levels he...
MeshVersion
Mesh compatibility versions.
Endian
The endianness of written files.
MeshSerializerListener * mListener
Internal implementation of Mesh reading / writing for the latest version of the .mesh format...
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
virtual void processSkeletonName(Mesh *mesh, String *name)=0
Called to override the reference to a skeleton.
Legacy versions, DO NOT USE for writing.
virtual ~MeshSerializerListener()
Resource holding data about 3D mesh.
Latest version available.