QFrameGraph Class


Defines the rendering method to be used by the renderer. More...

Header: #include <QFrameGraph>
qmake: QT += 3drender
Since: Qt 5.3
Instantiated By: FrameGraph
Inherits: Qt3DCore::QComponent


Public Functions

QFrameGraph(Qt3DCore::QNode *parent = Q_NULLPTR)
QFrameGraphNode *activeFrameGraph() const

Public Slots

void setActiveFrameGraph(QFrameGraphNode *activeFrameGraph)


void activeFrameGraphChanged(QFrameGraphNode *activeFrameGraph)

Protected Functions

QFrameGraph(QFrameGraphPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)
void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Detailed Description

Defines the rendering method to be used by the renderer.

QFrameGraph is the Component that has an activeFrameGraph property that should reference the root FrameGraphItem of a frame graph tree. The Entity that contains a FrameGraph property defines the rendering method to be used by the renderer.

Note: Only one FrameGraph can be active at any moment.

Property Documentation

activeFrameGraph : Qt3DRender::QFrameGraphNode *

Holds the current activeFrameGraph root node.

Access functions:

QFrameGraphNode *activeFrameGraph() const
void setActiveFrameGraph(QFrameGraphNode *activeFrameGraph)

Notifier signal:

void activeFrameGraphChanged(QFrameGraphNode *activeFrameGraph)

Member Function Documentation

QFrameGraph::QFrameGraph(Qt3DCore::QNode *parent = Q_NULLPTR)

Constructs a new QFrameGraph with the specified parent.

[protected] QFrameGraph::QFrameGraph(QFrameGraphPrivate &dd, Qt3DCore::QNode *parent = Q_NULLPTR)

Copy constructor.


Destroys the instance of QFrameGraph.

[protected] void QFrameGraph::copy(const Qt3DCore::QNode *ref)

Copies the ref instance into this one.

© 2017 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.