Go to the documentation of this file.
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) {}
Superclass for all objects that wish to use custom memory allocators when their new / delete operator...
Class for serialising mesh data to/from an OGRE .mesh file.
virtual void processMaterialName(Mesh *mesh, String *name)=0
Called to override the loading of the given named material.
vector< MeshVersionData * >::type MeshVersionDataList
MeshSerializerListener * mListener
virtual void processSkeletonName(Mesh *mesh, String *name)=0
Called to override the reference to a skeleton.
virtual ~MeshSerializerListener()
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.
MeshSerializerImpl * impl
Latest version available.
Resource holding data about 3D mesh.
Generic class for serialising data to / from binary stream-based files.
Internal implementation of Mesh reading / writing for the latest version of the .mesh format.
Legacy versions, DO NOT USE for writing.
Endian
The endianness of written files.
Copyright © 2012 Torus Knot Software Ltd

This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.