OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Simple class for loading / saving GpuNamedConstants. More...
#include <OgreGpuProgramParams.h>
Public Member Functions | |
GpuNamedConstantsSerializer () | |
~GpuNamedConstantsSerializer () override | |
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) |
Public Member Functions inherited from Ogre::Serializer | |
Serializer () | |
virtual | ~Serializer () |
Additional Inherited Members | |
Public Types inherited from Ogre::Serializer | |
enum | Endian { ENDIAN_NATIVE , ENDIAN_BIG , ENDIAN_LITTLE } |
The endianness of written files. More... | |
Simple class for loading / saving GpuNamedConstants.
Ogre::GpuNamedConstantsSerializer::GpuNamedConstantsSerializer | ( | ) |
|
override |
void Ogre::GpuNamedConstantsSerializer::exportNamedConstants | ( | const GpuNamedConstants * | pConsts, |
const String & | filename, | ||
Endian | endianMode = ENDIAN_NATIVE |
||
) |
void Ogre::GpuNamedConstantsSerializer::exportNamedConstants | ( | const GpuNamedConstants * | pConsts, |
DataStreamPtr | stream, | ||
Endian | endianMode = ENDIAN_NATIVE |
||
) |
void Ogre::GpuNamedConstantsSerializer::importNamedConstants | ( | DataStreamPtr & | stream, |
GpuNamedConstants * | pDest | ||
) |