Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qquick3drenderextensions.h
Go to the documentation of this file.
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;
14class QQuick3DObjectPrivate;
15
16class Q_QUICK3D_EXPORT QQuick3DRenderExtension : public QQuick3DObject
17{
18 Q_OBJECT
19 QML_NAMED_ELEMENT(RenderExtension)
20 QML_UNCREATABLE("RenderExtension is an abstract type")
21 QML_ADDED_IN_VERSION(6, 6)
22public:
23 explicit QQuick3DRenderExtension(QQuick3DObject *parent = nullptr);
24 virtual ~QQuick3DRenderExtension();
25
26 QSSGRenderGraphObject *updateSpatialNode(QSSGRenderGraphObject *node) override;
27
28protected:
29 explicit QQuick3DRenderExtension(QQuick3DObjectPrivate &dd, QQuick3DObject *parent = nullptr);
30};
31
32QT_END_NAMESPACE
33
34#endif // QQUICK3DRENDEREXTENSIONS_H