ShadowedTextureMaterial
ShadowedTextureMaterial Class Reference
#include <shadowedtexturematerial.h>
Inheritance diagram for ShadowedTextureMaterial:

Public Member Functions | |
int | compare (const QSGMaterial *other) const override |
QSGMaterialShader * | createShader (QSGRendererInterface::RenderMode) const override |
QSGMaterialType * | type () const override |
![]() | |
QSGMaterialShader * | createShader (QSGRendererInterface::RenderMode) const override |
![]() | |
virtual QSGMaterialShader * | createShader () const const=0 |
QSGMaterial::Flags | flags () const const |
void | setFlag (QSGMaterial::Flags flags, bool on) |
Public Attributes | |
QSGTexture * | textureSource = nullptr |
![]() | |
QVector2D | aspect = QVector2D{1.0, 1.0} |
QColor | color = Qt::white |
QVector2D | offset |
QVector4D | radius = QVector4D{0.0, 0.0, 0.0, 0.0} |
ShaderType | shaderType = ShaderType::Standard |
QColor | shadowColor = Qt::black |
float | size = 0.0 |
![]() | |
Blending | |
CustomCompileStep | |
typedef | Flags |
RequiresDeterminant | |
RequiresFullMatrix | |
RequiresFullMatrixExceptTranslate | |
RhiShaderWanted | |
SupportsRhiShader | |
Static Public Attributes | |
static QSGMaterialType | staticType |
![]() | |
static QSGMaterialType | staticType |
Additional Inherited Members | |
![]() | |
enum | ShaderType { Standard, LowPower } |
![]() | |
enum | Flag |
Detailed Description
A material rendering a rectangle with a shadow.
This material uses a distance field shader to render a rectangle with a shadow below it, optionally with rounded corners.
Definition at line 19 of file shadowedtexturematerial.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 04:00:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 9 2023 04:00:27 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.