18 #ifndef GZ_RENDERING_OGRE2_OGRE2MATERIALSWITCHER_HH_
19 #define GZ_RENDERING_OGRE2_OGRE2MATERIALSWITCHER_HH_
23 #include <unordered_map>
27 #include <gz/math/Color.hh>
28 #include "gz/rendering/config.hh"
29 #include "gz/rendering/ogre2/Export.hh"
33 #pragma warning(push, 0)
35 #include <OgreCamera.h>
36 #include <OgreMaterial.h>
45 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
48 class Ogre2SelectionBuffer;
52 public Ogre::Camera::Listener
71 public:
virtual void cameraPreRenderScene(
72 Ogre::Camera *_cam)
override;
77 public:
virtual void cameraPostRenderScene(Ogre::Camera *_cam)
override;
88 const Ogre::HlmsBlendblock *> datablockMap;
98 private:
void NextColor();