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
10QT_BEGIN_NAMESPACE
11
12class QSSGRenderer;
13class QSSGLayerRenderData;
14
15class 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)
21public:
22 explicit QQuick3DRenderExtension(QQuick3DObject *parent = nullptr);
23 virtual ~QQuick3DRenderExtension();
24
25 QSSGRenderGraphObject *updateSpatialNode(QSSGRenderGraphObject *node) override;
26};
27
28QT_END_NAMESPACE
29
30#endif // QQUICK3DRENDEREXTENSIONS_H
31

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

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