Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QSGCURVEFILLNODE_P_P_H
6
#
define
QSGCURVEFILLNODE_P_P_H
7
8
#
include
<
QtQuick
/
qtquickexports
.
h
>
9
#
include
<
QtQuick
/
qsgmaterial
.
h
>
10
11
//
12
// W A R N I N G
13
// -------------
14
//
15
// This file is not part of the Qt API. It exists for the convenience
16
// of a number of Qt sources files. This header file may change from
17
// version to version without notice, or even be removed.
18
//
19
// We mean it.
20
//
21
22
QT_BEGIN_NAMESPACE
23
24
class
QSGCurveFillNode;
25
class
QSGPlainTexture;
26
class
Q_QUICK_EXPORT
QSGCurveFillMaterial
:
public
QSGMaterial
27
{
28
public
:
29
QSGCurveFillMaterial(QSGCurveFillNode *node);
30
~QSGCurveFillMaterial() override;
31
int
compare(
const
QSGMaterial *other)
const
override;
32
33
QSGCurveFillNode *node()
const
34
{
35
return
m_node;
36
}
37
38
QSGPlainTexture *dummyTexture()
const
39
{
40
return
m_dummyTexture;
41
}
42
43
void
setDummyTexture(QSGPlainTexture *dummyTexture)
44
{
45
m_dummyTexture = dummyTexture;
46
}
47
48
private
:
49
QSGMaterialType *type()
const
override;
50
QSGMaterialShader *createShader(QSGRendererInterface::RenderMode renderMode)
const
override;
51
52
QSGCurveFillNode *m_node;
53
QSGPlainTexture *m_dummyTexture =
nullptr
;
54
};
55
56
QT_END_NAMESPACE
57
58
#
endif
// QSGCURVEFILLNODE_P_P_H
QSGCurveFillMaterial
Definition
qsgcurvefillnode_p_p.h:27
QSGCurveFillNode
Definition
qsgcurvefillnode_p.h:34
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtdeclarative
src
quick
scenegraph
qsgcurvefillnode_p_p.h
Generated on
for Qt by
1.18.0