QSGClipNode Class

The QSGClipNode class implements the clipping functionality in the scene graph. More...

Header: #include <QSGClipNode>
qmake: QT += quick
Inherits: QSGBasicGeometryNode

Detailed Description

Clipping applies to the node's subtree and can be nested. Multiple clip nodes will be accumulated by intersecting all their geometries. The accumulation happens as part of the rendering.

Clip nodes must have a geometry before they can be added to the scene graph.

Clipping is usually implemented by using the stencil buffer.

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.