1 | // Copyright (C) 2016 The Qt Company Ltd. |
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QSGRENDERNODE_P_H |
5 | #define QSGRENDERNODE_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 <QtQuick/private/qtquickglobal_p.h> |
19 | #include <QtQuick/qsgrendernode.h> |
20 | #include <QtQuick/private/qsgrenderer_p.h> |
21 | |
22 | QT_BEGIN_NAMESPACE |
23 | |
24 | class Q_QUICK_PRIVATE_EXPORT QSGRenderNodePrivate |
25 | { |
26 | public: |
27 | QSGRenderNodePrivate(); |
28 | |
29 | static QSGRenderNodePrivate *get(QSGRenderNode *node) { return node->d; } |
30 | |
31 | const QMatrix4x4 *m_matrix; |
32 | const QSGClipNode *m_clip_list; |
33 | qreal m_opacity; |
34 | QSGRenderTarget m_rt; |
35 | QMatrix4x4 m_projectionMatrix; |
36 | QMatrix4x4 m_localMatrix; // ### Qt 7 m_matrix should not be a pointer |
37 | }; |
38 | |
39 | QT_END_NAMESPACE |
40 | |
41 | #endif |
42 | |