diff options
author | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-05-19 10:16:11 +0300 |
---|---|---|
committer | Tomi Korpipää <tomi.korpipaa@digia.com> | 2014-05-19 10:17:15 +0300 |
commit | 806fd8ab43dd59da89d04651b22c5c0440032b94 (patch) | |
tree | 41ff37fcebbe02d6c22209935b758ba7ddd59fd9 /src/datavisualization/data/customrenderitem_p.h | |
parent | 92ee7767f81f7a15b8773ed97356f01ecac68d0c (diff) |
Added property for disabling shadows on custom items
Task-number: QTRD-3093
Change-Id: Ia24a1bc657af1bb1a528581e1f65fb50277e6874
Reviewed-by: Miikka Heikkinen <miikka.heikkinen@digia.com>
Diffstat (limited to 'src/datavisualization/data/customrenderitem_p.h')
-rw-r--r-- | src/datavisualization/data/customrenderitem_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/datavisualization/data/customrenderitem_p.h b/src/datavisualization/data/customrenderitem_p.h index 1722163b..1dce62e5 100644 --- a/src/datavisualization/data/customrenderitem_p.h +++ b/src/datavisualization/data/customrenderitem_p.h @@ -59,6 +59,8 @@ public: inline bool isValid() const { return m_valid; } inline void setIndex(int index) { m_index = index; } inline int index() const { return m_index; } + inline void setShadowCasting(bool shadowCasting) { m_shadowCasting = shadowCasting; } + inline bool isShadowCasting() const { return m_shadowCasting; } private: GLuint m_texture; @@ -68,6 +70,7 @@ private: bool m_visible; bool m_valid; int m_index; + bool m_shadowCasting; QCustom3DItem *m_item; }; typedef QHash<QCustom3DItem *, CustomRenderItem *> CustomRenderItemArray; |