Class for serialising skeleton data to/from an OGRE .skeleton file.
More...
#include <OgreSkeletonSerializer.h>
|
| SkeletonSerializer () |
|
| ~SkeletonSerializer () override |
|
void | exportSkeleton (const Skeleton *pSkeleton, const String &filename, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE) |
| Exports a skeleton to the file specified. More...
|
|
void | exportSkeleton (const Skeleton *pSkeleton, DataStreamPtr stream, SkeletonVersion ver=SKELETON_VERSION_LATEST, Endian endianMode=ENDIAN_NATIVE) |
| Exports a skeleton to the stream specified. More...
|
|
void | importSkeleton (DataStreamPtr &stream, Skeleton *pDest) |
| Imports Skeleton and animation data from a .skeleton file DataStream. More...
|
|
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 More...
|
|
void * | operator new (size_t sz, void *ptr) |
| placement operator new More...
|
|
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 More...
|
|
Class for serialising skeleton data to/from an OGRE .skeleton file.
- To export a Skeleton:
-
Create a Skeleton object and populate it using it's methods.
-
Call the exportSkeleton method
◆ 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)
|
◆ SkeletonSerializer()
Ogre::v1::SkeletonSerializer::SkeletonSerializer |
( |
| ) |
|
◆ ~SkeletonSerializer()
Ogre::v1::SkeletonSerializer::~SkeletonSerializer |
( |
| ) |
|
|
override |
◆ exportSkeleton() [1/2]
Exports a skeleton to the file specified.
- Parameters
-
pSkeleton | Weak reference to the Skeleton to export |
filename | The destination filename |
endianMode | The endian mode to write in |
◆ exportSkeleton() [2/2]
Exports a skeleton to the stream specified.
- Parameters
-
pSkeleton | Weak reference to the Skeleton to export |
stream | The destination stream |
endianMode | The endian mode to write in |
◆ importSkeleton()
Imports Skeleton and animation data from a .skeleton file DataStream.
- Parameters
-
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. |
◆ operator delete() [1/3]
◆ operator delete() [2/3]
◆ operator delete() [3/3]
◆ operator delete[]() [1/2]
◆ operator delete[]() [2/2]
◆ operator new() [1/3]
◆ operator new() [2/3]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
operator new, with debug line info
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] |
( |
size_t |
sz, |
|
|
const char * |
file, |
|
|
int |
line, |
|
|
const char * |
func |
|
) |
| |
|
inlineinherited |
array operator new, with debug line info
The documentation for this class was generated from the following file: