OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Internal implementation of Mesh reading / writing for the latest version of the .mesh format. More...
#include <OgreMesh2SerializerImpl.h>
Public Types | |
enum | Endian { ENDIAN_NATIVE , ENDIAN_BIG , ENDIAN_LITTLE } |
The endianness of written files. More... | |
Public Member Functions | |
MeshSerializerImpl (VaoManager *vaoManager) | |
virtual | ~MeshSerializerImpl () |
void | exportMesh (const Mesh *pMesh, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE) |
Exports a mesh to the file specified. | |
void | importMesh (DataStreamPtr &stream, Mesh *pDest, MeshSerializerListener *listener) |
Imports Mesh and (optionally) Material data from a .mesh file DataStream. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
Internal implementation of Mesh reading / writing for the latest version of the .mesh format.
|
inherited |
Ogre::MeshSerializerImpl::MeshSerializerImpl | ( | VaoManager * | vaoManager | ) |
|
virtual |
void Ogre::MeshSerializerImpl::exportMesh | ( | const Mesh * | pMesh, |
DataStreamPtr | stream, | ||
Endian | endianMode = ENDIAN_NATIVE |
||
) |
void Ogre::MeshSerializerImpl::importMesh | ( | DataStreamPtr & | stream, |
Mesh * | pDest, | ||
MeshSerializerListener * | listener | ||
) |
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. |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info