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().

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.
https://doc.qt.io/archives/qt-5.6/qt3drender-qframegraphselector.html