| 1 | // Copyright (C) 2020 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QSSG_RENDER_ITEM2D_H |
| 5 | #define QSSG_RENDER_ITEM2D_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 <QtQuick3DRuntimeRender/private/qssgrendergraphobject_p.h> |
| 19 | #include <QtQuick3DRuntimeRender/private/qssgrendernode_p.h> |
| 20 | #include <QtQuick3DRuntimeRender/private/qssgrenderimage_p.h> |
| 21 | |
| 22 | #include <QtCore/qpointer.h> |
| 23 | |
| 24 | QT_BEGIN_NAMESPACE |
| 25 | |
| 26 | class QSGNode; |
| 27 | class QSGRootNode; |
| 28 | class QRhiRenderPassDescriptor; |
| 29 | |
| 30 | struct Q_QUICK3DRUNTIMERENDER_EXPORT QSSGRenderItem2D : public QSSGRenderNode |
| 31 | { |
| 32 | Q_DISABLE_COPY(QSSGRenderItem2D) |
| 33 | |
| 34 | QSGRootNode *m_rootNode = nullptr; |
| 35 | |
| 36 | QSSGRenderItem2D(); |
| 37 | ~QSSGRenderItem2D() override; |
| 38 | }; |
| 39 | QT_END_NAMESPACE |
| 40 | |
| 41 | #endif |
| 42 | |