Go to the documentation of this file.
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 IGNITION_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;
Causes all objects in a scene to be rendered with the same material when rendered by a given RenderTa...
Definition: gz/rendering/ogre/OgreRenderTargetMaterial.hh:52