QSGOpacityNode Class
The QSGOpacityNode class is used to change opacity of nodes. More...
| Header: | #include <QSGOpacityNode> |
| qmake: | QT += quick |
| Inherits: | QSGNode |
Detailed Description
Opacity applies to its subtree and can be nested. Multiple opacity nodes will be accumulated by multiplying their opacity. The accumulation happens as part of the rendering.
When nested opacity gets below a certain threshold, the subtree might be marked as blocked, causing isSubtreeBlocked() to return true. This is done for performance reasons.
Note: All classes with QSG prefix should be used solely on the scene graph's rendering thread. See Scene Graph and Rendering for more information.