37 if(ogreCompositorPass->getType() == Ogre::CompositionPass::PT_RENDERQUAD)
39 Ogre::Technique* ogreTechnique = 0;
40 Ogre::Material::Techniques suptechs = ogreCompositorPass->getMaterial()->getSupportedTechniques();
41 if (suptechs.size() > 0)
42 ogreTechnique = suptechs[0];
47 Ogre::Any bindedSTechnique = ogreTechnique->getUserObjectBindings().getUserAny(
"STechnique");
48 if(bindedSTechnique.has_value())
50 STechnique* matTechnique = Ogre::any_cast<STechnique*> (bindedSTechnique);