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
qsgsimplerectnode.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
4
#
ifndef
QSGSIMPLERECTNODE_H
5
#
define
QSGSIMPLERECTNODE_H
6
7
#
include
<
QtQuick
/
qsgnode
.
h
>
8
#
include
<
QtQuick
/
qsgflatcolormaterial
.
h
>
9
10
QT_BEGIN_NAMESPACE
11
12
class
Q_QUICK_EXPORT QSGSimpleRectNode :
public
QSGGeometryNode
13
{
14
public
:
15
QSGSimpleRectNode(
const
QRectF &rect,
const
QColor &color);
16
QSGSimpleRectNode();
17
18
void
setRect(
const
QRectF &rect);
19
inline
void
setRect(qreal x, qreal y, qreal w, qreal h) { setRect(QRectF(x, y, w, h)); }
20
QRectF rect()
const
;
21
22
void
setColor(
const
QColor &color);
23
QColor color()
const
;
24
25
private
:
26
QSGFlatColorMaterial m_material;
27
QSGGeometry m_geometry;
28
void
*reserved;
29
};
30
31
QT_END_NAMESPACE
32
33
#
endif
// SOLIDRECTNODE_H
QQuickShaderEffectSourceCleanup
Definition
qquickshadereffectsource.cpp:48
QQuickShaderEffectSourceCleanup::QQuickShaderEffectSourceCleanup
QQuickShaderEffectSourceCleanup(QSGLayer *t, QQuickShaderEffectSourceTextureProvider *p)
Definition
qquickshadereffectsource.cpp:50
QQuickShaderEffectSourceCleanup::provider
QQuickShaderEffectSourceTextureProvider * provider
Definition
qquickshadereffectsource.cpp:59
QQuickShaderEffectSourceCleanup::texture
QSGLayer * texture
Definition
qquickshadereffectsource.cpp:58
QQuickShaderEffectSourceCleanup::run
void run() override
Implement this pure virtual function in your subclass.
Definition
qquickshadereffectsource.cpp:54
QQuickShaderEffectSourceTextureProvider
Definition
qquickshadereffectsource.cpp:19
QQuickShaderEffectSourceTextureProvider::mipmapFiltering
QSGTexture::Filtering mipmapFiltering
Definition
qquickshadereffectsource.cpp:41
QQuickShaderEffectSourceTextureProvider::verticalWrap
QSGTexture::WrapMode verticalWrap
Definition
qquickshadereffectsource.cpp:44
QQuickShaderEffectSourceTextureProvider::horizontalWrap
QSGTexture::WrapMode horizontalWrap
Definition
qquickshadereffectsource.cpp:43
QQuickShaderEffectSourceTextureProvider::filtering
QSGTexture::Filtering filtering
Definition
qquickshadereffectsource.cpp:42
QQuickShaderEffectSource
Definition
qquickshadereffectsource_p.h:43
QQuickShaderSourceAttachedNode
Definition
qquickshadereffectsource.cpp:630
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
QT_REQUIRE_CONFIG
QT_REQUIRE_CONFIG(quick_shadereffect)
get_wrap_mode
static void get_wrap_mode(QQuickShaderEffectSource::WrapMode mode, QSGTexture::WrapMode *hWrap, QSGTexture::WrapMode *vWrap)
Definition
qquickshadereffectsource.cpp:597
toLayerFormat
static QSGLayer::Format toLayerFormat(QQuickShaderEffectSource::Format format)
Definition
qquickshadereffectsource.cpp:642
qtdeclarative
src
quick
scenegraph
util
qsgsimplerectnode.h
Generated on Thu Nov 14 2024 00:49:14 for Qt by
1.12.0