ShadowedTextureNode

Search for usage in LXR

ShadowedTextureNode Class Reference

#include <shadowedtexturenode.h>

Inheritance diagram for ShadowedTextureNode:

Public Member Functions

void preprocess () override
 
void setTextureSource (QSGTextureProvider *source)
 
- Public Member Functions inherited from ShadowedRectangleNode
void setBorderColor (const QColor &color)
 
void setBorderEnabled (bool enabled)
 
void setBorderWidth (qreal width)
 
void setColor (const QColor &color)
 
void setOffset (const QVector2D &offset)
 
void setRadius (const QVector4D &radius)
 
void setRect (const QRectF &rect)
 
void setShaderType (ShadowedRectangleMaterial::ShaderType type)
 
void setShadowColor (const QColor &color)
 
void setSize (qreal size)
 
void updateGeometry ()
 
- Public Member Functions inherited from QSGGeometryNode
QSGMaterialmaterial () const const
 
QSGMaterialopaqueMaterial () const const
 
void setMaterial (QSGMaterial *material)
 
void setOpaqueMaterial (QSGMaterial *material)
 
- Public Member Functions inherited from QSGBasicGeometryNode
QSGGeometrygeometry ()
 
const QSGGeometrygeometry () const const
 
void setGeometry (QSGGeometry *geometry)
 
- Public Member Functions inherited from QSGNode
void appendChildNode (QSGNode *node)
 
QSGNodechildAtIndex (int i) const const
 
int childCount () const const
 
QSGNodefirstChild () const const
 
QSGNode::Flags flags () const const
 
void insertChildNodeAfter (QSGNode *node, QSGNode *after)
 
void insertChildNodeBefore (QSGNode *node, QSGNode *before)
 
virtual bool isSubtreeBlocked () const const
 
QSGNodelastChild () const const
 
void markDirty (QSGNode::DirtyState bits)
 
QSGNodenextSibling () const const
 
QSGNodeparent () const const
 
void prependChildNode (QSGNode *node)
 
QSGNodepreviousSibling () const const
 
void removeAllChildNodes ()
 
void removeChildNode (QSGNode *node)
 
void setFlag (QSGNode::Flag f, bool enabled)
 
void setFlags (QSGNode::Flags f, bool enabled)
 
QSGNode::NodeType type () const const
 

Additional Inherited Members

- Public Types inherited from QSGNode
enum  DirtyStateBit
 
enum  Flag
 
enum  NodeType
 
- Public Attributes inherited from QSGNode
 BasicNodeType
 
 ClipNodeType
 
 DirtyForceUpdate
 
 DirtyGeometry
 
 DirtyMaterial
 
 DirtyMatrix
 
 DirtyNodeAdded
 
 DirtyNodeRemoved
 
 DirtyOpacity
 
 DirtyPropagationMask
 
typedef DirtyState
 
 DirtySubtreeBlocked
 
 DirtyUsePreprocess
 
typedef Flags
 
 GeometryNodeType
 
 InternalReserved
 
 IsVisitableNode
 
 OpacityNodeType
 
 OwnedByParent
 
 OwnsGeometry
 
 OwnsMaterial
 
 OwnsOpaqueMaterial
 
 RenderNodeType
 
 RootNodeType
 
 TransformNodeType
 
 UsePreprocess
 
- Protected Attributes inherited from ShadowedRectangleNode
QSGGeometrym_geometry
 
ShadowedRectangleMaterialm_material = nullptr
 
ShadowedRectangleMaterial::ShaderType m_shaderType = ShadowedRectangleMaterial::ShaderType::Standard
 

Detailed Description

Scene graph node for a shadowed texture source.

This node will set up the geometry and materials for a shadowed rectangle, optionally with rounded corners, using a supplied texture source as the color for the rectangle.

Note
You must call updateGeometry() after setting properties of this node, otherwise the node's state will not correctly reflect all the properties.
See also
ShadowedTexture

Definition at line 27 of file shadowedtexturenode.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 Mon Feb 6 2023 04:13:18 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.