1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4#ifndef QQUICK3DEXTENSIONHELPERS_P_H
5#define QQUICK3DEXTENSIONHELPERS_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 <QtQuick3D/qtquick3dglobal.h>
19
20QT_BEGIN_NAMESPACE
21
22using QSSGNodeId = quintptr;
23using QSSGResourceId = quintptr;
24
25class QQuick3DObject;
26
27class Q_QUICK3D_EXPORT QQuick3DExtensionHelpers
28{
29public:
30 QQuick3DExtensionHelpers();
31
32 [[nodiscard]] static QSSGNodeId getNodeId(const QQuick3DObject &node);
33 [[nodiscard]] static QSSGResourceId getResourceId(const QQuick3DObject &resource);
34};
35
36QT_END_NAMESPACE
37
38#endif // QQUICK3DEXTENSIONHELPERS_P_H
39

source code of qtquick3d/src/quick3d/extensions/qquick3dextensionhelpers_p.h