OGRE  1.9
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::RTShader::SGMaterialSerializerListener Class Reference

This class responsible for translating core features of the RT Shader System for Ogre material scripts. More...

#include <OgreShaderMaterialSerializerListener.h>

+ Inheritance diagram for Ogre::RTShader::SGMaterialSerializerListener:
+ Collaboration diagram for Ogre::RTShader::SGMaterialSerializerListener:

Public Member Functions

void gpuProgramRefEventRaised (MaterialSerializer *ser, SerializeEvent event, bool &skip, const String &attrib, const GpuProgramPtr &program, const GpuProgramParametersSharedPtr &params, GpuProgramParameters *defaultParams)
 Called when GPU program reference section event raised. More...
 
virtual void materialEventRaised (MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Material *mat)
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
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 * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 
virtual void passEventRaised (MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Pass *tech)
 
virtual void techniqueEventRaised (MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const Technique *tech)
 
virtual void textureUnitStateEventRaised (MaterialSerializer *ser, MaterialSerializer::SerializeEvent event, bool &skip, const TextureUnitState *textureUnit)
 

Protected Types

typedef vector
< ShaderGenerator::SGPass * >
::type 
SGPassList
 
typedef SGPassList::const_iterator SGPassListConstIterator
 
typedef SGPassList::iterator SGPassListIterator
 

Protected Member Functions

 SGMaterialSerializerListener ()
 Will be create and destroyed via ShaderGenerator interface. More...
 
 ~SGMaterialSerializerListener ()
 
void createSGPassList (Material *mat, SGPassList &passList)
 Internal method that creates list of SGPass instances composing the given material. More...
 
ShaderGenerator::SGPassgetShaderGeneratedPass (const Pass *srcPass)
 Internal method that returns SGPass instance from a given source pass. More...
 

Protected Attributes

SGPassList mSGPassList
 
MaterialmSourceMaterial
 

Friends

class ShaderGenerator
 

Detailed Description

This class responsible for translating core features of the RT Shader System for Ogre material scripts.

Definition at line 47 of file OgreShaderMaterialSerializerListener.h.

Member Function Documentation

void Ogre::MaterialSerializer::Listener::gpuProgramRefEventRaised ( MaterialSerializer ser,
SerializeEvent  event,
bool &  skip,
const String attrib,
const GpuProgramPtr program,
const GpuProgramParametersSharedPtr params,
GpuProgramParameters defaultParams 
)
inlineinherited

Called when GPU program reference section event raised.

Parameters
serThe MaterialSerializer instance that writes the given material.
eventThe current section writing stage.
skipMay set to true by sub-class instances in order to skip the following section write. This parameter relevant only when stage equals MSE_PRE_WRITE.
attribThe GPU program reference description (vertex_program_ref, fragment_program_ref, etc).
programThe program being written.
paramsThe program parameters.
defaultParamsThe default program parameters.

Definition at line 170 of file OgreMaterialSerializer.h.

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

Definition at line 96 of file OgreMemoryAllocatedObject.h.

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

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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

Definition at line 108 of file OgreMemoryAllocatedObject.h.

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

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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

Definition at line 119 of file OgreMemoryAllocatedObject.h.

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

Definition at line 68 of file OgreMemoryAllocatedObject.h.

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

Definition at line 73 of file OgreMemoryAllocatedObject.h.

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

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

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

Definition at line 86 of file OgreMemoryAllocatedObject.h.

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

Definition at line 91 of file OgreMemoryAllocatedObject.h.


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