OGRE-Next  4.0.0unstable
Object-Oriented Graphics Rendering Engine
Ogre::GpuNamedConstantsSerializer Class Reference

Simple class for loading / saving GpuNamedConstants. More...

#include <OgreGpuProgramParams.h>

+ Inheritance diagram for Ogre::GpuNamedConstantsSerializer:

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...
 

Detailed Description

Simple class for loading / saving GpuNamedConstants.

Constructor & Destructor Documentation

◆ GpuNamedConstantsSerializer()

Ogre::GpuNamedConstantsSerializer::GpuNamedConstantsSerializer ( )

◆ ~GpuNamedConstantsSerializer()

Ogre::GpuNamedConstantsSerializer::~GpuNamedConstantsSerializer ( )
override

Member Function Documentation

◆ exportNamedConstants() [1/2]

void Ogre::GpuNamedConstantsSerializer::exportNamedConstants ( const GpuNamedConstants pConsts,
const String filename,
Endian  endianMode = ENDIAN_NATIVE 
)

◆ exportNamedConstants() [2/2]

void Ogre::GpuNamedConstantsSerializer::exportNamedConstants ( const GpuNamedConstants pConsts,
DataStreamPtr  stream,
Endian  endianMode = ENDIAN_NATIVE 
)

◆ importNamedConstants()

void Ogre::GpuNamedConstantsSerializer::importNamedConstants ( DataStreamPtr stream,
GpuNamedConstants pDest 
)

The documentation for this class was generated from the following file: