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_QLAYER_H
5#define QT3DRENDER_QLAYER_H
6
7#include <Qt3DCore/qcomponent.h>
8#include <Qt3DRender/qt3drender_global.h>
9#include <QtCore/QStringList>
10
11QT_BEGIN_NAMESPACE
12
13namespace Qt3DRender {
14
15class QLayerPrivate;
16
17class Q_3DRENDERSHARED_EXPORT QLayer : public Qt3DCore::QComponent
18{
19 Q_OBJECT
20 Q_PROPERTY(bool recursive READ recursive WRITE setRecursive NOTIFY recursiveChanged)
21public:
22 explicit QLayer(Qt3DCore::QNode *parent = nullptr);
23 ~QLayer();
24
25 bool recursive() const;
26 void setRecursive(bool recursive);
27
28Q_SIGNALS:
29 void recursiveChanged();
30
31protected:
32 explicit QLayer(QLayerPrivate &dd, Qt3DCore::QNode *parent = nullptr);
33
34private:
35 Q_DECLARE_PRIVATE(QLayer)
36};
37
38} // namespace Qt3DRender
39
40QT_END_NAMESPACE
41
42#endif // QT3DRENDER_QLAYER_H
43

source code of qt3d/src/render/frontend/qlayer.h