Go to the documentation of this file.
17 #ifndef GZ_RENDERING_OGRE2_OGRE2RENDERTARGETMATERIAL_HH_
18 #define GZ_RENDERING_OGRE2_OGRE2RENDERTARGETMATERIAL_HH_
22 #include "gz/rendering/config.hh"
24 #include "gz/rendering/ogre2/Export.hh"
30 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
45 public Ogre::RenderTargetListener,
46 public Ogre::MaterialManager::Listener
53 Ogre::RenderTarget *_renderTarget, Ogre::Material *_material);
61 private:
virtual void preRenderTargetUpdate(
62 const Ogre::RenderTargetEvent &_evt)
override;
67 private:
virtual void postRenderTargetUpdate(
68 const Ogre::RenderTargetEvent &_evt)
override;
80 public:
virtual Ogre::Technique *handleSchemeNotFound(
81 uint16_t _schemeIndex,
const Ogre::String &_schemeName,
82 Ogre::Material *_originalMaterial, uint16_t _lodIndex,
83 const Ogre::Renderable *_rend)
override;
86 private: Ogre::SceneManager *scene =
nullptr;
89 private: Ogre::RenderTarget *renderTarget =
nullptr;
92 private: Ogre::Material *material =
nullptr;
95 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/ogre2/Ogre2RenderTargetMaterial.hh:44