17 #ifndef GZ_RENDERING_OGRE_OGREMATERIAL_HH_
18 #define GZ_RENDERING_OGRE_OGREMATERIAL_HH_
23 #include <gz/utils/SuppressWarning.hh>
25 #include <gz/common/Image.hh>
35 inline namespace GZ_RENDERING_VERSION_NAMESPACE {
38 "depth_vertex_shader.glsl";
40 "depth_fragment_shader.glsl";
86 public:
virtual void SetShininess(
const double _shininess)
override;
95 double _alpha = 0.5,
bool _twoSided =
true)
override;
156 public:
virtual Ogre::MaterialPtr
Material()
const;
161 const double near)
override;
193 Ogre::Image &_image);
222 Ogre::GpuProgramParametersSharedPtr _ogreParams);
224 protected:
virtual void Init()
override;
226 GZ_UTILS_WARN_IGNORE__DLL_INTERFACE_MISSING
229 protected: Ogre::Technique *ogreTechnique =
nullptr;
231 protected: Ogre::Pass *ogrePass =
nullptr;
233 protected: Ogre::TextureUnitState *ogreTexState =
nullptr;
237 #if OGRE_VERSION_MAJOR == 1 && OGRE_VERSION_MINOR <= 7
263 GZ_UTILS_WARN_RESUME__DLL_INTERFACE_MISSING