![]() |
OGRE 2.3.3
Object-Oriented Graphics Rendering Engine
|
Class for serialising skeleton data to/from an OGRE .skeleton file. More...
#include <OgreSkeletonSerializer.h>
Public Types | |
| enum | Endian { ENDIAN_NATIVE , ENDIAN_BIG , ENDIAN_LITTLE } |
| The endianness of written files. More... | |
Public Member Functions | |
| SkeletonSerializer () | |
| virtual | ~SkeletonSerializer () |
| void | exportSkeleton (const Skeleton *pSkeleton, const String &filename, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE) |
| Exports a skeleton to the file specified. | |
| void | exportSkeleton (const Skeleton *pSkeleton, DataStreamPtr stream, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE) |
| Exports a skeleton to the stream specified. | |
| void | importSkeleton (DataStreamPtr &stream, Skeleton *pDest) |
| Imports Skeleton and animation data from a .skeleton 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 | |
Class for serialising skeleton data to/from an OGRE .skeleton file.
|
inherited |
| Ogre::v1::SkeletonSerializer::SkeletonSerializer | ( | ) |
|
virtual |
| void Ogre::v1::SkeletonSerializer::exportSkeleton | ( | const Skeleton * | pSkeleton, |
| const String & | filename, | ||
| SkeletonVersion | ver = SKELETON_VERSION_LATEST, | ||
| Endian | endianMode = ENDIAN_NATIVE ) |
Exports a skeleton to the file specified.
| pSkeleton | Weak reference to the Skeleton to export |
| filename | The destination filename |
| endianMode | The endian mode to write in |
References Ogre::Serializer::ENDIAN_NATIVE, and Ogre::v1::SKELETON_VERSION_LATEST.
| void Ogre::v1::SkeletonSerializer::exportSkeleton | ( | const Skeleton * | pSkeleton, |
| DataStreamPtr | stream, | ||
| SkeletonVersion | ver = SKELETON_VERSION_LATEST, | ||
| Endian | endianMode = ENDIAN_NATIVE ) |
Exports a skeleton to the stream specified.
| pSkeleton | Weak reference to the Skeleton to export |
| stream | The destination stream |
| endianMode | The endian mode to write in |
References Ogre::Serializer::ENDIAN_NATIVE, and Ogre::v1::SKELETON_VERSION_LATEST.
| void Ogre::v1::SkeletonSerializer::importSkeleton | ( | DataStreamPtr & | stream, |
| Skeleton * | pDest ) |
Imports Skeleton and animation data from a .skeleton file DataStream.
| stream | The DataStream holding the .skeleton data. Must be initialised (pos at the start of the buffer). |
| pDest | Weak reference to the Skeleton object which will receive the data. Should be blank already. |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
|
inlineinherited |
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info