Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qsgcurvefillnode_p_p.h
Go to the documentation of this file.
1// Copyright (C) 2023 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 QSGCURVEFILLNODE_P_P_H
5#define QSGCURVEFILLNODE_P_P_H
6
7#include <QtQuick/qtquickexports.h>
8#include <QtQuick/qsgmaterial.h>
9
10//
11// W A R N I N G
12// -------------
13//
14// This file is not part of the Qt API. It exists for the convenience
15// of a number of Qt sources files. This header file may change from
16// version to version without notice, or even be removed.
17//
18// We mean it.
19//
20
22
24class Q_QUICK_EXPORT QSGCurveFillMaterial : public QSGMaterial
25{
26public:
28 int compare(const QSGMaterial *other) const override;
29
31 {
32 return m_node;
33 }
34
35private:
36 QSGMaterialType *type() const override;
37 QSGMaterialShader *createShader(QSGRendererInterface::RenderMode renderMode) const override;
38
39 QSGCurveFillNode *m_node;
40};
41
43
44#endif // QSGCURVEFILLNODE_P_P_H
QSGCurveFillNode * node() const
The QSGMaterialShader class represents a graphics API independent shader program.
The QSGMaterial class encapsulates rendering state for a shader program.
Definition qsgmaterial.h:15
RenderMode
\value RenderMode2D Normal 2D rendering \value RenderMode2DNoDepthBuffer Normal 2D rendering with dep...
Combined button and popup list for selecting options.
GLenum type
static int compare(quint64 a, quint64 b)
QSharedPointer< T > other(t)
[5]
The QSGMaterialType class is used as a unique type token in combination with QSGMaterial.