QFrameGraphSelector Class

(Qt3D::QFrameGraphSelector)

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

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

Public Functions

QFrameGraphSelector(QNode * parent = 0)
~QFrameGraphSelector()
QFrameGraphSelectorFunctorPtr selectionFunctor() const
void setSelectionFunctor(QFrameGraphSelectorFunctorPtr functor)

Protected Functions

void copy(const QNode * ref)

Additional Inherited Members

Detailed Description

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

The selection is made by executing Qt3D::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(QNode * parent = 0)

Constructs a new Qt3D::QFrameGraphSelector instance using parent as parent.

QFrameGraphSelector::~QFrameGraphSelector()

[protected] void QFrameGraphSelector::copy(const 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 FrameGrapg subtrees at runtime.

See also selectionFunctor().

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