QFrameGraphNode Class


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

Public Functions

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

Protected Functions

QFrameGraphNode(QFrameGraphNodePrivate &dd, Qt3DCore::QNode *parent = nullptr)

Reimplemented Protected Functions

virtual Qt3DCore::QNodeCreatedChangeBasePtr createNodeCreationChange() const

Additional Inherited Members

Detailed Description

Base class of all FrameGraph configuration nodes.

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:

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)

Default constructs an instance of QFrameGraphNode.

[protected] QFrameGraphNode::QFrameGraphNode(QFrameGraphNodePrivate &dd, Qt3DCore::QNode *parent = nullptr)

Copy constructor.

[virtual protected] Qt3DCore::QNodeCreatedChangeBasePtr QFrameGraphNode::createNodeCreationChange() const

QFrameGraphNode *QFrameGraphNode::parentFrameGraphNode() const

Returns a pointer to the parent.

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