17 #ifndef GZ_RENDERING_OGRE_OGRRENDERTARGETMATERIAL_HH_
18 #define GZ_RENDERING_OGRE_OGRRENDERTARGETMATERIAL_HH_
22 #include "gz/rendering/config.hh"
25 #include "gz/rendering/ogre/Export.hh"
31 #pragma warning(disable:4275)
38 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
53 public Ogre::RenderTargetListener,
54 public Ogre::MaterialManager::Listener
61 Ogre::RenderTarget *_renderTarget, Ogre::Material *_material);
69 private:
virtual void preRenderTargetUpdate(
70 const Ogre::RenderTargetEvent &_evt)
override;
75 private:
virtual void postRenderTargetUpdate(
76 const Ogre::RenderTargetEvent &_evt)
override;
88 public:
virtual Ogre::Technique *handleSchemeNotFound(
89 uint16_t _schemeIndex,
const Ogre::String &_schemeName,
90 Ogre::Material *_originalMaterial, uint16_t _lodIndex,
91 const Ogre::Renderable *_rend)
override;
97 private: Ogre::RenderTarget *renderTarget;
100 private: Ogre::Material *material;
103 private: Ogre::String schemeName;