Simple class for loading / saving GpuNamedConstants.
More...
#include <OgreGpuProgramParams.h>
|
| | GpuNamedConstantsSerializer () |
| |
| virtual | ~GpuNamedConstantsSerializer () |
| |
| void | exportNamedConstants (const GpuNamedConstants *pConsts, const String &filename, Endian endianMode=ENDIAN_NATIVE) |
| |
| void | exportNamedConstants (const GpuNamedConstants *pConsts, DataStreamPtr stream, Endian endianMode=ENDIAN_NATIVE) |
| |
| void | importNamedConstants (DataStreamPtr &stream, GpuNamedConstants *pDest) |
| |
| 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
|
| |
|
| virtual void | determineEndianness (DataStreamPtr &stream) |
| | Determine the endianness of the incoming stream compared to native.
|
| |
| virtual void | determineEndianness (Endian requestedEndian) |
| | Determine the endianness to write with based on option.
|
| |
| virtual void | flipFromLittleEndian (void *pData, size_t size, size_t count=1) |
| |
| virtual void | flipToLittleEndian (void *pData, size_t size, size_t count=1) |
| |
| void | readBools (DataStreamPtr &stream, bool *pDest, size_t count) |
| |
| virtual unsigned short | readChunk (DataStreamPtr &stream) |
| |
| virtual void | readFileHeader (DataStreamPtr &stream) |
| |
| void | readFloats (DataStreamPtr &stream, double *pDest, size_t count) |
| |
| void | readFloats (DataStreamPtr &stream, float *pDest, size_t count) |
| |
| void | readInts (DataStreamPtr &stream, uint32 *pDest, size_t count) |
| |
| void | readObject (DataStreamPtr &stream, Quaternion &pDest) |
| |
| void | readObject (DataStreamPtr &stream, Vector3 &pDest) |
| |
| void | readShorts (DataStreamPtr &stream, uint16 *pDest, size_t count) |
| |
| String | readString (DataStreamPtr &stream) |
| |
| String | readString (DataStreamPtr &stream, size_t numChars) |
| |
| void | writeBools (const bool *const pLong, size_t count) |
| |
| virtual void | writeChunkHeader (uint16 id, size_t size) |
| |
| void | writeData (const void *const buf, size_t size, size_t count) |
| |
| virtual void | writeFileHeader (void) |
| | Default to native endian, derive from header.
|
| |
| void | writeFloats (const double *const pfloat, size_t count) |
| |
| void | writeFloats (const float *const pfloat, size_t count) |
| |
| void | writeInts (const uint32 *const pInt, size_t count) |
| |
| void | writeObject (const Quaternion &q) |
| |
| void | writeObject (const Vector3 &vec) |
| |
| void | writeShorts (const uint16 *const pShort, size_t count) |
| |
| void | writeString (const String &string) |
| |
Simple class for loading / saving GpuNamedConstants.
Definition at line 416 of file OgreGpuProgramParams.h.
◆ 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)
|
Definition at line 57 of file OgreSerializer.h.
◆ GpuNamedConstantsSerializer()
| Ogre::GpuNamedConstantsSerializer::GpuNamedConstantsSerializer |
( |
| ) |
|
◆ ~GpuNamedConstantsSerializer()
| virtual Ogre::GpuNamedConstantsSerializer::~GpuNamedConstantsSerializer |
( |
| ) |
|
|
virtual |
◆ determineEndianness() [1/2]
|
|
protectedvirtualinherited |
Determine the endianness of the incoming stream compared to native.
◆ determineEndianness() [2/2]
|
|
protectedvirtualinherited |
Determine the endianness to write with based on option.
◆ exportNamedConstants() [1/2]
◆ exportNamedConstants() [2/2]
◆ flipFromLittleEndian()
|
|
protectedvirtualinherited |
◆ flipToLittleEndian()
|
|
protectedvirtualinherited |
◆ importNamedConstants()
◆ 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]
◆ operator new() [3/3]
◆ operator new[]() [1/2]
◆ operator new[]() [2/2]
◆ readBools()
◆ readChunk()
|
|
protectedvirtualinherited |
◆ readFileHeader()
|
|
protectedvirtualinherited |
◆ readFloats() [1/2]
◆ readFloats() [2/2]
◆ readInts()
◆ readObject() [1/2]
◆ readObject() [2/2]
◆ readShorts()
◆ readString() [1/2]
◆ readString() [2/2]
◆ writeBools()
◆ writeChunkHeader()
|
|
protectedvirtualinherited |
◆ writeData()
◆ writeFileHeader()
|
|
protectedvirtualinherited |
Default to native endian, derive from header.
◆ writeFloats() [1/2]
◆ writeFloats() [2/2]
◆ writeInts()
◆ writeObject() [1/2]
◆ writeObject() [2/2]
◆ writeShorts()
◆ writeString()
◆ mCurrentstreamLen
| uint32 Ogre::Serializer::mCurrentstreamLen |
|
protectedinherited |
◆ mFlipEndian
| bool Ogre::Serializer::mFlipEndian |
|
protectedinherited |
◆ mStream
◆ mVersion
| String Ogre::Serializer::mVersion |
|
protectedinherited |
The documentation for this class was generated from the following file: