OGRE  2.0
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Ogre::CgFxScriptLoader::CgStateListener Class Referenceabstract

#include <OgreCgFxScriptLoader.h>

+ Inheritance diagram for Ogre::CgFxScriptLoader::CgStateListener:
+ Collaboration diagram for Ogre::CgFxScriptLoader::CgStateListener:

Public Member Functions

 CgStateListener (CGtype cgType)
 
virtual ~CgStateListener ()
 
CGstate getCgState () const
 
virtual void init ()
 
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)
 

Protected Member Functions

void addStateEnumerant (int value, const char *name)
 
virtual void createState ()=0
 
virtual CGstatecallback getCgCallBackReset ()
 
virtual CGstatecallback getCgCallBackSet ()
 
virtual CGstatecallback getCgCallBackValidate ()
 
CGparameter getCgParameter (CGstateassignment cgStateAssignment)
 

Static Protected Member Functions

static CGbool cgCallBackReset (CGstateassignment cgStateAssignment)
 
static CGbool cgCallBackSet (CGstateassignment cgStateAssignment)
 
static CGbool cgCallBackValidate (CGstateassignment cgStateAssignment)
 

Protected Attributes

CGcontext mCgContext
 
CGstate mCgState
 
CGtype mCgType
 

Detailed Description

Definition at line 551 of file OgreCgFxScriptLoader.h.

Constructor & Destructor Documentation

Ogre::CgFxScriptLoader::CgStateListener::CgStateListener ( CGtype  cgType)
virtual Ogre::CgFxScriptLoader::CgStateListener::~CgStateListener ( )
virtual

Member Function Documentation

void Ogre::CgFxScriptLoader::CgStateListener::addStateEnumerant ( int  value,
const char *  name 
)
protected
static CGbool Ogre::CgFxScriptLoader::CgStateListener::cgCallBackReset ( CGstateassignment  cgStateAssignment)
staticprotected
static CGbool Ogre::CgFxScriptLoader::CgStateListener::cgCallBackSet ( CGstateassignment  cgStateAssignment)
staticprotected
static CGbool Ogre::CgFxScriptLoader::CgStateListener::cgCallBackValidate ( CGstateassignment  cgStateAssignment)
staticprotected
virtual void Ogre::CgFxScriptLoader::CgStateListener::createState ( )
protectedpure virtual

Implemented in Ogre::CgFxScriptLoader::CgTextureAddressSamplerStateListener, Ogre::CgFxScriptLoader::CgMipFilterSamplerStateListener, Ogre::CgFxScriptLoader::CgMagFilterSamplerStateListener, Ogre::CgFxScriptLoader::CgMinFilterSamplerStateListener, Ogre::CgFxScriptLoader::CgDepthModeSamplerStateListener, Ogre::CgFxScriptLoader::CgCompareFuncSamplerStateListener, Ogre::CgFxScriptLoader::CgCompareModeSamplerStateListener, Ogre::CgFxScriptLoader::CgWrapSamplerStateListener, Ogre::CgFxScriptLoader::CgSamplerStateListener, Ogre::CgFxScriptLoader::CgStencilOpSeparateGlobalStateListener, Ogre::CgFxScriptLoader::CgStencilMaskSeparateGlobalStateListener, Ogre::CgFxScriptLoader::CgStencilFuncSeparateGlobalStateListener, Ogre::CgFxScriptLoader::CgStencilOpGlobalStateListener, Ogre::CgFxScriptLoader::CgStencilFuncGlobalStateListener, Ogre::CgFxScriptLoader::CgPolygonModeGlobalStateListener, Ogre::CgFxScriptLoader::CgColorMaterialGlobalStateListener, Ogre::CgFxScriptLoader::CgBlendEquationSeparateGlobalStateListener, Ogre::CgFxScriptLoader::CgBlendFuncSeparateGlobalStateListener, Ogre::CgFxScriptLoader::CgBlendFuncGlobalStateListener, Ogre::CgFxScriptLoader::CgAlphaFuncGlobalStateListener, Ogre::CgFxScriptLoader::CgFogCoordSrcGlobalStateListener, Ogre::CgFxScriptLoader::CgCullFaceGlobalStateListener, Ogre::CgFxScriptLoader::CgFrontFaceGlobalStateListener, Ogre::CgFxScriptLoader::CgMagFilterGlobalStateListener, Ogre::CgFxScriptLoader::CgMinFilterGlobalStateListener, Ogre::CgFxScriptLoader::CgTextureEnvModeGlobalStateListener, Ogre::CgFxScriptLoader::CgTexGenModeGlobalStateListener, Ogre::CgFxScriptLoader::CgShadeModelGlobalStateListener, Ogre::CgFxScriptLoader::CgPointSpriteRModeGlobalStateListener, Ogre::CgFxScriptLoader::CgPointSpriteCoordOriginGlobalStateListener, Ogre::CgFxScriptLoader::CgLogicOpGlobalStateListener, Ogre::CgFxScriptLoader::CgLightModelColorControlGlobalStateListener, Ogre::CgFxScriptLoader::CgFogModeGlobalStateListener, Ogre::CgFxScriptLoader::CgFogDistanceModeGlobalStateListener, Ogre::CgFxScriptLoader::CgDepthFuncGlobalStateListener, Ogre::CgFxScriptLoader::CgBlendEquationGlobalStateListener, and Ogre::CgFxScriptLoader::CgGlobalStateListener.

virtual CGstatecallback Ogre::CgFxScriptLoader::CgStateListener::getCgCallBackReset ( )
protectedvirtual
virtual CGstatecallback Ogre::CgFxScriptLoader::CgStateListener::getCgCallBackSet ( )
protectedvirtual
virtual CGstatecallback Ogre::CgFxScriptLoader::CgStateListener::getCgCallBackValidate ( )
protectedvirtual
CGparameter Ogre::CgFxScriptLoader::CgStateListener::getCgParameter ( CGstateassignment  cgStateAssignment)
protected
CGstate Ogre::CgFxScriptLoader::CgStateListener::getCgState ( ) const
virtual void Ogre::CgFxScriptLoader::CgStateListener::init ( )
virtual
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.

Member Data Documentation

CGcontext Ogre::CgFxScriptLoader::CgStateListener::mCgContext
protected

Definition at line 556 of file OgreCgFxScriptLoader.h.

CGstate Ogre::CgFxScriptLoader::CgStateListener::mCgState
protected

Definition at line 554 of file OgreCgFxScriptLoader.h.

CGtype Ogre::CgFxScriptLoader::CgStateListener::mCgType
protected

Definition at line 555 of file OgreCgFxScriptLoader.h.


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