QFrameGraphNode Class

(Qt3DRender::QFrameGraphNode)

Base class of all FrameGraph configuration nodes. More...

This class was introduced in Qt 5.5.

Public Functions

QFrameGraphNode(Qt3DCore::QNode *parent = nullptr)
Qt3DRender::QFrameGraphNode *parentFrameGraphNode() const
typedef QNodePtr
typedef QNodeVector
typedef QObjectList
QList<T> qFindChildren(const QObject *obj, const QRegExp &regExp)
Qt3DCore::QNodeId qIdForNode(Qt3DCore::QNode *node)
Qt3DCore::QNodeIdVector qIdsForNodes(const T &nodes)
T qobject_cast(QObject *object)
T qobject_cast(const QObject *object)

Macros

Additional Inherited Members

Detailed Description

This class is rarely instanced directly since it doesn't provide any frame graph specific behavior, although it can be convenient to use for grouping other nodes together in dynamic frame graphs. The actual behavior comes from the subclasses.

The subclasses are:

classdescription
Qt3DRender::QCameraSelectorSelect camera from all available cameras in the scene
Qt3DRender::QClearBuffersSpecify which buffers to clear and to what values
Qt3DRender::QDispatchComputeSpecify Compute operation kernels
Qt3DRender::QFrustumCullingEnable frustum culling
Qt3DRender::QLayerFilterSelect which layers to draw
Qt3DRender::QNoDrawDisable drawing
Qt3DRender::QRenderPassFilterSelect which render passes to draw
Qt3DRender::QRenderStateSetSet render states
Qt3DRender::QRenderSurfaceSelectorSelect which surface to draw to
Qt3DRender::QRenderTargetSelectorSelect which QRenderTarget to draw to
Qt3DRender::QSortPolicySpecify how entities are sorted to determine draw order
Qt3DRender::QTechniqueFilterSelect which techniques to draw
Qt3DRender::QViewportSpecify viewport
Qt3DRender::QMemoryBarrierPlaces a memory barrier

Member Function Documentation

QFrameGraphNode::QFrameGraphNode(Qt3DCore::QNode *parent = nullptr)

The constructor creates an instance with the specified parent.

Qt3DRender::QFrameGraphNode *QFrameGraphNode::parentFrameGraphNode() const

Returns a pointer to the parent frame graph node.

If the parent of this node is not a frame graph node, this method will recursively look for a parent node that is a frame graph node.

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