Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qssgrenderitem2d_p.h
Go to the documentation of this file.
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
23
24class QSGNode;
25class QSGRenderer;
26struct Q_QUICK3DRUNTIMERENDER_EXPORT QSSGRenderItem2D : public QSSGRenderNode
27{
28 Q_DISABLE_COPY(QSSGRenderItem2D)
29
31 float combinedOpacity = 1.0;
32 float zOrder = 0;
33
34 QPointer<QSGRenderer> m_renderer;
35 QRhiRenderPassDescriptor *m_rp = nullptr;
36
39};
41
42#endif
The QMatrix4x4 class represents a 4x4 transformation matrix in 3D space.
Definition qmatrix4x4.h:25
\inmodule QtCore
Definition qpointer.h:18
\inmodule QtGui
Definition qrhi.h:1119
\group qtquick-scenegraph-nodes \title Qt Quick Scene Graph Node classes
Definition qsgnode.h:37
The renderer class is the abstract baseclass used for rendering the QML scene graph.
Combined button and popup list for selecting options.