From b50de4286b586a1651e5f49467283641ac803e82 Mon Sep 17 00:00:00 2001 From: ahcorde Date: Wed, 23 Dec 2020 12:02:18 +0100 Subject: [PATCH] Improved docblock Signed-off-by: ahcorde --- ogre/include/ignition/rendering/ogre/OgreMaterial.hh | 5 ++++- ogre2/include/ignition/rendering/ogre2/Ogre2Material.hh | 4 +++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ogre/include/ignition/rendering/ogre/OgreMaterial.hh b/ogre/include/ignition/rendering/ogre/OgreMaterial.hh index 9f56aea64..77c41a2e3 100644 --- a/ogre/include/ignition/rendering/ogre/OgreMaterial.hh +++ b/ogre/include/ignition/rendering/ogre/OgreMaterial.hh @@ -107,7 +107,10 @@ namespace ignition public: virtual float RenderOrder() const override; // Documentation inherited - public: virtual void SetRenderOrder(const float _enabled) override; + // Review the official documentation to get more details about this + // parameter, in particular Ogre::Pass::setDepthBias() + // https://www.ogre3d.org/docs/api/1.8/class_ogre_1_1_pass.html + public: virtual void SetRenderOrder(const float _renderOrder) override; public: virtual bool ReflectionEnabled() const override; diff --git a/ogre2/include/ignition/rendering/ogre2/Ogre2Material.hh b/ogre2/include/ignition/rendering/ogre2/Ogre2Material.hh index f0cf01940..66565cb41 100644 --- a/ogre2/include/ignition/rendering/ogre2/Ogre2Material.hh +++ b/ogre2/include/ignition/rendering/ogre2/Ogre2Material.hh @@ -75,7 +75,9 @@ namespace ignition public: virtual float RenderOrder() const override; // Documentation inherited - public: virtual void SetRenderOrder(const float _enabled) override; + // Review the official documentation to get more details about this + // parameter, in particular mDepthBiasConstant + public: virtual void SetRenderOrder(const float _renderOrder) override; // Documentation inherited public: virtual bool ReceiveShadows() const override;