18 #ifndef IGNITION_RENDERING_OGRE_OGREMATERIALSWITCHER_HH_ 19 #define IGNITION_RENDERING_OGRE_OGREMATERIALSWITCHER_HH_ 26 #include "ignition/rendering/config.hh" 27 #include "ignition/rendering/ogre/Export.hh" 35 inline namespace IGNITION_RENDERING_VERSION_NAMESPACE {
38 class OgreSelectionBuffer;
46 #pragma warning(disable:4275) 48 public Ogre::MaterialManager::Listener,
52 Ogre::RenderTargetListener
78 public:
virtual Ogre::Technique *handleSchemeNotFound(
79 uint16_t _schemeIndex,
const Ogre::String &_schemeName,
80 Ogre::Material *_originalMaterial, uint16_t _lodIndex,
81 const Ogre::Renderable *_rend);
86 public:
virtual void preRenderTargetUpdate(
87 const Ogre::RenderTargetEvent &_evt);
92 public:
virtual void postRenderTargetUpdate(
93 const Ogre::RenderTargetEvent &_evt);
102 private: Ogre::Technique *lastTechnique =
nullptr;
112 private:
void NextColor();
119 private: Ogre::Technique *plainTechnique =
nullptr;
122 private: Ogre::Technique *overlayTechnique =
nullptr;
Helper class to assign unique colors to renderables.
Definition: OgreMaterialSwitcher.hh:41
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Generates a selection buffer object for a given camera. The selection buffer is used of entity select...
Definition: OgreSelectionBuffer.hh:47
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING