1// Copyright (C) 2019 Klaralvdalens Datakonsult AB (KDAB).
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
5#ifndef QT3DRENDER_RENDER_UPDATEENTITYLAYERSJOB_P_H
6#define QT3DRENDER_RENDER_UPDATEENTITYLAYERSJOB_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of other Qt classes. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <Qt3DRender/private/qt3drender_global_p.h>
20#include <Qt3DCore/qaspectjob.h>
21
22QT_BEGIN_NAMESPACE
23
24namespace Qt3DRender {
25
26namespace Render {
27
28class Entity;
29class NodeManagers;
30
31
32class Q_3DRENDERSHARED_PRIVATE_EXPORT UpdateEntityLayersJob: public Qt3DCore::QAspectJob
33{
34public:
35 UpdateEntityLayersJob();
36
37 inline void setManager(NodeManagers *manager) { m_manager = manager; }
38 inline NodeManagers *manager() const { return m_manager; }
39
40 // QAspectJob interface
41 void run() final;
42
43private:
44 NodeManagers *m_manager;
45};
46
47
48typedef QSharedPointer<UpdateEntityLayersJob> UpdateEntityLayersJobPtr;
49
50} // Render
51
52} // Qt3DRender
53
54QT_END_NAMESPACE
55
56#endif // QT3DRENDER_RENDER_UPDATEENTITYLAYERSJOB_P_H
57

source code of qt3d/src/render/jobs/updateentitylayersjob_p.h