42 public Ogre::MaterialManager::Listener
50 Ogre::Viewport* mViewport;
51 Ogre::MaterialPtr mBlackMat;
52 Ogre::MaterialPtr mBlackMatTrans;
54 Ogre::CompositorPtr ogreCompositor;
55 typedef std::vector<SCompositorTechnique*> CompositorTechniquesByIndex;
56 CompositorTechniquesByIndex compositorTechniquesByIndex;
57 typedef std::map<std::string, unsigned int> CompositorTechniquesIndexByName;
58 CompositorTechniquesIndexByName compositorTechniquesIndexByName;
63 SCompositor(
SViewPort* scolViewPort,
const std::string& compositorName,
const std::string& schemeName =
"");
68 SCompositor(
SViewPort* scolViewPort,
const std::string& compositorName,
const bool& isActivated);
73 SCompositor(
const std::string& compositorName,
const std::string& schemeName =
"");
85 void SetEnable(
const bool& enable);
93 int GetNumCompositorTechniques();
101 int GetCompositorTechniqueIndexByName(
const std::string& techname);
105 void SetViewport(Ogre::Viewport* vp);
109 virtual Ogre::Technique* handleSchemeNotFound(
unsigned short schemeIndex,
const Ogre::String& schemeName, Ogre::Material* originalMaterial,
unsigned short lodIndex,
const Ogre::Renderable* rend);
120 void CommonConstructor(
SViewPort* scolViewPort,
const std::string& schemeName,
bool internalCompo,
bool activateCompo);
125 void _AttachToParent();
130 void _DetachFromParent();