diff options
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; |