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
21QT_BEGIN_NAMESPACE
22
23namespace QSSGSceneDesc {
24 struct Scene;
25 struct Node;
26 struct Property;
27}
28
29class QJsonObject;
30class QJsonValue;
31
32namespace QSSGQmlUtilities {
33
34void Q_QUICK3DASSETUTILS_EXPORT applyEdit(QSSGSceneDesc::Scene *scene, const QJsonObject &changes);
35void Q_QUICK3DASSETUTILS_EXPORT setProperty(QSSGSceneDesc::Node *node, const QStringView propertyName, const QJsonValue &value);
36QSSGSceneDesc::Node Q_QUICK3DASSETUTILS_EXPORT *addResource(QSSGSceneDesc::Scene *scene, const QJsonObject &addition);
37}
38QT_END_NAMESPACE
39
40#endif // QSSGSCENEEDIT_P_H
41

source code of qtquick3d/src/assetutils/qssgsceneedit_p.h