本页内容

Qt3DRender::QFrameGraphNode Class

class Qt3DRender::QFrameGraphNode

所有 FrameGraph 配置节点的基类。更多内容...

该类已弃用。我们强烈建议不要在新代码中使用它。

公共函数

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

详细说明

由于该类未提供任何与帧图相关的特定行为,因此很少直接实例化它,尽管在动态帧图中将其用于将其他节点分组可能比较方便。其实际行为由子类提供。

子类包括:

类描述
Qt3DRender::QCameraSelector从场景中所有可用摄像机中选择一台
Qt3DRender::QClearBuffers指定要清空的缓冲区及其清空值
Qt3DRender::QDispatchCompute指定计算操作内核
Qt3DRender::QFrustumCulling启用锥体剔除
Qt3DRender::QLayerFilter选择要渲染的图层
Qt3DRender::QNoDraw禁用绘制
Qt3DRender::QRenderPassFilter选择要渲染的渲染通道
Qt3DRender::QRenderStateSet设置渲染状态
Qt3DRender::QRenderSurfaceSelector选择要渲染到的表面
Qt3DRender::QRenderTargetSelector选择要绘制到的QRenderTarget
Qt3DRender::QSortPolicy指定实体的排序方式以确定绘制顺序
Qt3DRender::QTechniqueFilter选择要使用的绘制技术
Qt3DRender::QViewport指定视口
Qt3DRender::QMemoryBarrier设置内存屏障

成员函数文档

[explicit] QFrameGraphNode::QFrameGraphNode(Qt3DCore::QNode *parent = nullptr)

该构造函数会根据指定的parent 创建一个实例。

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

返回指向父帧图节点的指针。

如果该节点的父节点不是帧图节点,则该方法将递归地查找一个作为帧图节点的父节点。

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