diff options
author | Mike Krus <mike.krus@kdab.com> | 2019-09-06 15:02:25 +0100 |
---|---|---|
committer | Paul Lemire <paul.lemire@kdab.com> | 2019-09-19 09:45:05 +0200 |
commit | b16ff31b2689a43bdbcb3e84094b49ab99a4cd92 (patch) | |
tree | 13f4c1fea22459688f66d046b3123d558ba4611e /src/render/materialsystem/effect_p.h | |
parent | d09e9d24bfcbee260d7adc8ab1ecfb6ca4713584 (diff) | |
download | qt3d-b16ff31b2689a43bdbcb3e84094b49ab99a4cd92.tar.gz |
Update QEffect to use direct sync
Change-Id: Idb1fcc4b13c310843cb479f7d3f02de7a89a784e
Reviewed-by: Mike Krus <mike.krus@kdab.com>
Diffstat (limited to 'src/render/materialsystem/effect_p.h')
-rw-r--r-- | src/render/materialsystem/effect_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/render/materialsystem/effect_p.h b/src/render/materialsystem/effect_p.h index 87ff4a803..e81be2b8d 100644 --- a/src/render/materialsystem/effect_p.h +++ b/src/render/materialsystem/effect_p.h @@ -70,15 +70,13 @@ public: ~Effect(); void cleanup(); - void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) override; + void syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) override; void appendRenderTechnique(Qt3DCore::QNodeId t); QVector<Qt3DCore::QNodeId> techniques() const; QVector<Qt3DCore::QNodeId> parameters() const; private: - void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) final; - QVector<Qt3DCore::QNodeId> m_techniques; ParameterPack m_parameterPack; }; |