QFrameGraphSelector Class

(Qt3DRender::QFrameGraphSelector)

Qt3DRender::QFrameGraphSelector provide a way to select a one or more subtree of the FrameGraph at runtime More...

Header: #include <QFrameGraphSelector>
qmake: QT += 3drender
Inherits: Qt3DRender::QFrameGraphNode

Public Functions

QFrameGraphSelector(Qt3DCore::QNode *parent = Q_NULLPTR)
~QFrameGraphSelector()
QFrameGraphSelectorFunctorPtr selectionFunctor() const
void setSelectionFunctor(QFrameGraphSelectorFunctorPtr functor)

Protected Functions

void copy(const Qt3DCore::QNode *ref)

Additional Inherited Members

Detailed Description

Qt3DRender::QFrameGraphSelector provide a way to select a one or more subtree of the FrameGraph at runtime

The selection is made by executing Qt3DRender::QFrameGraphSelectorFunctor that will return a vector containing the indices of the FrameGraph subtree to be used for the current frame.

Member Function Documentation

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

Default constructs an instance of QFrameGraphSelector.

QFrameGraphSelector::~QFrameGraphSelector()

Destroys the instance of QFrameGraphSelector.

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

QFrameGraphSelectorFunctorPtr QFrameGraphSelector::selectionFunctor() const

Returns the functor to be used for selecting FrameGraph subtrees.

See also setSelectionFunctor().

void QFrameGraphSelector::setSelectionFunctor(QFrameGraphSelectorFunctorPtr functor)

Sets the functor functor to be used for selecting FrameGraph subtrees at runtime.

See also selectionFunctor().

© 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.