1// Copyright (C) 2017 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_QLEVELOFDETAILSWITCH_H
5#define QT3DRENDER_QLEVELOFDETAILSWITCH_H
6
7#include <Qt3DRender/qlevelofdetail.h>
8
9QT_BEGIN_NAMESPACE
10
11namespace Qt3DRender {
12class QLevelOfDetailSwitchPrivate;
13
14class Q_3DRENDERSHARED_EXPORT QLevelOfDetailSwitch : public QLevelOfDetail
15{
16 Q_OBJECT
17
18public:
19 explicit QLevelOfDetailSwitch(Qt3DCore::QNode *parent = nullptr);
20 ~QLevelOfDetailSwitch();
21
22protected:
23 explicit QLevelOfDetailSwitch(QLevelOfDetailPrivate &dd, Qt3DCore::QNode *parent = nullptr);
24
25private:
26 Q_DECLARE_PRIVATE(QLevelOfDetailSwitch)
27};
28
29} // namespace Qt3DRender
30
31QT_END_NAMESPACE
32
33#endif // QT3DRENDER_QLEVELOFDETAILSWITCH_H
34

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