diff options
author | Paul Lemire <paul.lemire@kdab.com> | 2015-12-04 14:49:45 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2016-01-13 14:02:46 +0000 |
commit | 84ca67b504b6d8a4825988681dd4d49031805c96 (patch) | |
tree | b3cfb45cbf22dc86a85d388993c0071c42562b1c /src/render/framegraph/dispatchcompute_p.h | |
parent | 8a8746f7011ce6a831df715120cbd54a3938e2a4 (diff) |
RenderView Compute handling
Change-Id: Ifbe93173010bf058f198990c62d5e93fea967a74
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'src/render/framegraph/dispatchcompute_p.h')
-rw-r--r-- | src/render/framegraph/dispatchcompute_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/render/framegraph/dispatchcompute_p.h b/src/render/framegraph/dispatchcompute_p.h index 7a90f980a..3e11e4e31 100644 --- a/src/render/framegraph/dispatchcompute_p.h +++ b/src/render/framegraph/dispatchcompute_p.h @@ -67,6 +67,9 @@ public: void updateFromPeer(Qt3DCore::QNode *peer) Q_DECL_OVERRIDE; void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) Q_DECL_OVERRIDE; + 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: int m_workGroups[3]; |