1 | // Copyright (C) 2023 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | #ifndef QQUICK3DRENDEREXTENSIONS_H |
5 | #define QQUICK3DRENDEREXTENSIONS_H |
6 | |
7 | #include <QtCore/qobject.h> |
8 | #include <QtQuick3D/qquick3dobject.h> |
9 | |
10 | QT_BEGIN_NAMESPACE |
11 | |
12 | class QSSGRenderer; |
13 | class QSSGLayerRenderData; |
14 | |
15 | class Q_QUICK3D_EXPORT QQuick3DRenderExtension : public QQuick3DObject |
16 | { |
17 | Q_OBJECT |
18 | QML_NAMED_ELEMENT(RenderExtension) |
19 | QML_UNCREATABLE("RenderExtension is an abstract type") |
20 | QML_ADDED_IN_VERSION(6, 6) |
21 | public: |
22 | explicit QQuick3DRenderExtension(QQuick3DObject *parent = nullptr); |
23 | virtual ~QQuick3DRenderExtension(); |
24 | |
25 | QSSGRenderGraphObject *updateSpatialNode(QSSGRenderGraphObject *node) override; |
26 | }; |
27 | |
28 | QT_END_NAMESPACE |
29 | |
30 | #endif // QQUICK3DRENDEREXTENSIONS_H |
31 |