diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2016-04-13 08:32:51 +0200 |
---|---|---|
committer | Sean Harmer <sean.harmer@kdab.com> | 2016-04-15 18:51:45 +0000 |
commit | ddf85425dbb7292d4cf3a269db0a87e00b47572a (patch) | |
tree | f766cd32eccab186cc6d1d347871e6ec7b8f6af8 /src/render/backend/computecommand_p.h | |
parent | 3106671ad0342fdd5333dfb1b4299772772dd317 (diff) |
ComputeCommand: use m_enabled member from QBackendNode
sceneChangeEvent calls BackendNode::sceneChangeEvent to handle updates on the
enabled property plus some special markDirty handling that might come in later.
Change-Id: I03631cbfe554a2c8790f6706b403b5bfa6f8262c
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/backend/computecommand_p.h')
-rw-r--r-- | src/render/backend/computecommand_p.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/render/backend/computecommand_p.h b/src/render/backend/computecommand_p.h index c005c2bce..e407da0ae 100644 --- a/src/render/backend/computecommand_p.h +++ b/src/render/backend/computecommand_p.h @@ -72,13 +72,11 @@ public: void updateFromPeer(Qt3DCore::QNode *peer) Q_DECL_OVERRIDE; void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) Q_DECL_OVERRIDE; - inline bool isEnabled() const { return m_enabled; } inline int x() const Q_DECL_NOEXCEPT { return m_workGroups[0]; } inline int y() const Q_DECL_NOEXCEPT { return m_workGroups[1]; } inline int z() const Q_DECL_NOEXCEPT { return m_workGroups[2]; } private: - bool m_enabled; int m_workGroups[3]; }; |