Internal implementation of Mesh reading / writing for the latest version of the .mesh format.
More...
#include <OgreMeshSerializerImpl.h>
Internal implementation of Mesh reading / writing for the latest version of the .mesh format.
- Note
- This mesh format was used from Ogre v1.10.
◆ Endian
The endianness of written files.
| Enumerator |
|---|
| ENDIAN_NATIVE | Use the platform native endian.
|
| ENDIAN_BIG | Use big endian (0x1000 is serialised as 0x10 0x00)
|
| ENDIAN_LITTLE | Use little endian (0x1000 is serialised as 0x00 0x10)
|
◆ MeshSerializerImpl()
| Ogre::MeshSerializerImpl::MeshSerializerImpl |
( |
| ) |
|
◆ ~MeshSerializerImpl()
| virtual Ogre::MeshSerializerImpl::~MeshSerializerImpl |
( |
| ) |
|
|
virtual |
◆ exportMesh()
Exports a mesh to the file specified.
- Parameters
-
| pMesh | Pointer to the Mesh to export |
| stream | The destination stream |
| endianMode | The endian mode for the written file |
◆ importMesh()
Imports Mesh and (optionally) Material data from a .mesh file DataStream.
- Parameters
-
| 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. |
The documentation for this class was generated from the following file: