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) {}
197 virtual void processMaterialName(
Mesh *mesh,
String *name) = 0;
199 virtual void processSkeletonName(
Mesh *mesh,
String *name) = 0;
201 virtual void processMeshCompleted(
Mesh *mesh) = 0;
Generic class for serialising data to / from binary stream-based files.
Legacy versions, DO NOT USE for writing.
Endian
The endianness of written files.
MeshVersionDataList mVersionData
Class for serialising mesh data to/from an OGRE .mesh file.
MeshVersion
Mesh compatibility versions.
Latest version available.
Resource holding data about 3D mesh.
MeshVersionData(MeshVersion _ver, const String &_string, MeshSerializerImpl *_impl)
vector< MeshVersionData * >::type MeshVersionDataList
MeshSerializerImpl * impl
Internal implementation of Mesh reading / writing for the latest version of the .mesh format...
MeshSerializerListener * mListener
virtual ~MeshSerializerListener()
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...