![]() |
OGRE
1.10.12
Object-Oriented Graphics Rendering Engine
|
Class for providing backwards-compatibility for loading version 1.4 of the .mesh format. More...
#include <OgreMeshSerializerImpl.h>
Inheritance diagram for Ogre::MeshSerializerImpl_v1_4:Public Types | |
| enum | Endian { ENDIAN_NATIVE, ENDIAN_BIG, ENDIAN_LITTLE } |
| The endianness of written files. More... | |
Public Member Functions | |
| MeshSerializerImpl_v1_4 () | |
| ~MeshSerializerImpl_v1_4 () | |
| void | exportMesh (const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE) |
| Exports a mesh to the file specified. More... | |
| void | importMesh (DataStreamPtr &stream, Mesh *pDest, MeshSerializerListener *listener) |
| Imports Mesh and (optionally) Material data from a .mesh file DataStream. More... | |
Class for providing backwards-compatibility for loading version 1.4 of the .mesh format.
This mesh format was used from Ogre v1.4.
|
inherited |
| Ogre::MeshSerializerImpl_v1_4::MeshSerializerImpl_v1_4 | ( | ) |
| Ogre::MeshSerializerImpl_v1_4::~MeshSerializerImpl_v1_4 | ( | ) |
|
inherited |
|
inherited |
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
| stream | The DataStream holding the .mesh data. Must be initialised (pos at the start of the buffer). |
| pDest | Pointer to the Mesh object which will receive the data. Should be blank already. |