1// Copyright (C) 2014 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#ifndef QT3DRENDER_QFRAMEGRAPHNODE_H
5#define QT3DRENDER_QFRAMEGRAPHNODE_H
6
7#include <Qt3DCore/qnode.h>
8#include <Qt3DRender/qt3drender_global.h>
9#include <QtCore/QObject>
10
11QT_BEGIN_NAMESPACE
12
13namespace Qt3DRender {
14
15class QFrameGraphNodePrivate;
16
17class Q_3DRENDERSHARED_EXPORT QFrameGraphNode : public Qt3DCore::QNode
18{
19 Q_OBJECT
20public:
21 explicit QFrameGraphNode(Qt3DCore::QNode *parent = nullptr);
22 ~QFrameGraphNode();
23
24 QFrameGraphNode *parentFrameGraphNode() const;
25
26protected:
27 explicit QFrameGraphNode(QFrameGraphNodePrivate &dd, Qt3DCore::QNode *parent = nullptr);
28
29private Q_SLOTS:
30 void onParentChanged(QObject *);
31
32private:
33 Q_DECLARE_PRIVATE(QFrameGraphNode)
34};
35
36} // namespace Qt3DRender
37
38QT_END_NAMESPACE
39
40#endif // QT3DRENDER_QFRAMEGRAPHNODE_H
41

source code of qt3d/src/render/framegraph/qframegraphnode.h