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
qsgabstractrenderer_p_p.h
Go to the documentation of this file.
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// Qt-Security score:significant reason:default
4
5#ifndef QSGABSTRACTRENDERER_P_P_H
6#define QSGABSTRACTRENDERER_P_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
20
21#include "qsgnode.h"
22#include <qcolor.h>
23
24#include <QtCore/private/qobject_p.h>
25#include <QtQuick/private/qtquickglobal_p.h>
26
28
29class Q_QUICK_EXPORT QSGAbstractRendererPrivate : public QObjectPrivate
30{
31 Q_DECLARE_PUBLIC(QSGAbstractRenderer)
32public:
33 static const QSGAbstractRendererPrivate *get(const QSGAbstractRenderer *q) { return q->d_func(); }
34
35 QSGAbstractRendererPrivate();
36 void updateProjectionMatrix();
37
38 QSGRootNode *m_root_node;
39 QColor m_clear_color;
40
41 QRect m_device_rect;
42 QRect m_viewport_rect;
43
44 QVarLengthArray<QMatrix4x4, 1> m_projection_matrix;
45 QVarLengthArray<QMatrix4x4, 1> m_projection_matrix_native_ndc;
46 uint m_invertFrontFace : 1;
47};
48
49QT_END_NAMESPACE
50
51#endif
Combined button and popup list for selecting options.