QSGRootNode Class

The QSGRootNode is the toplevel root of any scene graph. More...

Header: #include <QSGRootNode>
Inherits: QSGNode

Public Functions

QSGRootNode()
virtual ~QSGRootNode() override

Detailed Description

The root node is used to attach a scene graph to a renderer.

\internal

Member Function Documentation

QSGRootNode::QSGRootNode()

Creates a new root node.

[override virtual noexcept] QSGRootNode::~QSGRootNode()

Deletes the root node.

When a root node is deleted it removes itself from all of renderers that are referencing it.