1 | // Copyright (C) 2022 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QSSGSCENEEDIT_P_H |
5 | #define QSSGSCENEEDIT_P_H |
6 | |
7 | // |
8 | // W A R N I N G |
9 | // ------------- |
10 | // |
11 | // This file is not part of the Qt API. It exists purely as an |
12 | // implementation detail. This header file may change from version to |
13 | // version without notice, or even be removed. |
14 | // |
15 | // We mean it. |
16 | // |
17 | |
18 | #include <QtQuick3DAssetUtils/private/qtquick3dassetutilsglobal_p.h> |
19 | #include <QtCore/QStringView> |
20 | |
21 | QT_BEGIN_NAMESPACE |
22 | |
23 | namespace QSSGSceneDesc { |
24 | struct Scene; |
25 | struct Node; |
26 | struct Property; |
27 | } |
28 | |
29 | class QJsonObject; |
30 | class QJsonValue; |
31 | |
32 | namespace QSSGQmlUtilities { |
33 | |
34 | void Q_QUICK3DASSETUTILS_EXPORT applyEdit(QSSGSceneDesc::Scene *scene, const QJsonObject &changes); |
35 | void Q_QUICK3DASSETUTILS_EXPORT setProperty(QSSGSceneDesc::Node *node, const QStringView propertyName, const QJsonValue &value); |
36 | QSSGSceneDesc::Node Q_QUICK3DASSETUTILS_EXPORT *addResource(QSSGSceneDesc::Scene *scene, const QJsonObject &addition); |
37 | } |
38 | QT_END_NAMESPACE |
39 | |
40 | #endif // QSSGSCENEEDIT_P_H |
41 | |