OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::GpuNamedConstantsSerializer Class Reference

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

#include <OgreGpuProgramParams.h>

+ Inheritance diagram for Ogre::GpuNamedConstantsSerializer:

Public Types

enum  Endian { ENDIAN_NATIVE , ENDIAN_BIG , ENDIAN_LITTLE }
 The endianness of written files. More...
 

Public Member Functions

 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 *)
 
voidoperator new (size_t sz)
 
voidoperator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
voidoperator new (size_t sz, void *ptr)
 placement operator new
 
voidoperator new[] (size_t sz)
 
voidoperator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 

Detailed Description

Simple class for loading / saving GpuNamedConstants.

Member Enumeration Documentation

◆ 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)

Constructor & Destructor Documentation

◆ GpuNamedConstantsSerializer()

Ogre::GpuNamedConstantsSerializer::GpuNamedConstantsSerializer ( )

◆ ~GpuNamedConstantsSerializer()

virtual Ogre::GpuNamedConstantsSerializer::~GpuNamedConstantsSerializer ( )
virtual

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 
)

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void ptr,
void  
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void ptr,
const char ,
int  ,
const char  
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ 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]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void * Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ 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: