QFrameGraphNode Class▲
-
Header: QFrameGraphNode
-
Since: Qt 5.5
-
CMake:
find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
-
qmake: QT += 3drender
-
Inherited By: Qt3DRender::QBlitFramebuffer, Qt3DRender::QBufferCapture, Qt3DRender::QCameraSelector, Qt3DRender::QClearBuffers, Qt3DRender::QDebugOverlay, Qt3DRender::QDispatchCompute, Qt3DRender::QFrustumCulling, Qt3DRender::QLayerFilter, Qt3DRender::QMemoryBarrier, Qt3DRender::QNoDraw, Qt3DRender::QNoPicking, Qt3DRender::QProximityFilter, Qt3DRender::QRenderCapture, Qt3DRender::QRenderPassFilter, Qt3DRender::QRenderStateSet, Qt3DRender::QRenderSurfaceSelector, Qt3DRender::QRenderTargetSelector, Qt3DRender::QSetFence, Qt3DRender::QSortPolicy, Qt3DRender::QSubtreeEnabler, Qt3DRender::QTechniqueFilter, Qt3DRender::QViewport, and Qt3DRender::QWaitFence
-
Instantiated By: qml-qt3d-render-framegraphnode.xml
-
Inherits: Qt3DCore::QNode
-
Inherited By: Qt3DRender::QBlitFramebuffer, Qt3DRender::QBufferCapture, Qt3DRender::QCameraSelector, Qt3DRender::QClearBuffers, Qt3DRender::QDebugOverlay, Qt3DRender::QDispatchCompute, Qt3DRender::QFrustumCulling, Qt3DRender::QLayerFilter, Qt3DRender::QMemoryBarrier, Qt3DRender::QNoDraw, Qt3DRender::QNoPicking, Qt3DRender::QProximityFilter, Qt3DRender::QRenderCapture, Qt3DRender::QRenderPassFilter, Qt3DRender::QRenderStateSet, Qt3DRender::QRenderSurfaceSelector, Qt3DRender::QRenderTargetSelector, Qt3DRender::QSetFence, Qt3DRender::QSortPolicy, Qt3DRender::QSubtreeEnabler, Qt3DRender::QTechniqueFilter, Qt3DRender::QViewport, and Qt3DRender::QWaitFence
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:
class |
description |
---|---|
Select camera from all available cameras in the scene |
|
Specify which buffers to clear and to what values |
|
Specify Compute operation kernels |
|
Enable frustum culling |
|
Select which layers to draw |
|
Disable drawing |
|
Select which render passes to draw |
|
Set render states |
|
Select which surface to draw to |
|
Select which QRenderTarget to draw to |
|
Specify how entities are sorted to determine draw order |
|
Select which techniques to draw |
|
Specify viewport |
|
Places a memory barrier |
Member Function Documentation▲
[explicit] 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.