QFrustumCulling Class
(Qt3DRender::QFrustumCulling)Enable frustum culling for the FrameGraph 更多...
头文件: | #include <QFrustumCulling> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.7 |
Instantiated By: | FrustumCulling |
基类: | Qt3DRender::QFrameGraphNode |
公有函数
QFrustumCulling(Qt3DCore::QNode *parent = nullptr) |
- 1 个公有函数继承自 Qt3DRender::QFrameGraphNode
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
其他继承的成员
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 1 个受保护的函数继承自 Qt3DRender::QFrameGraphNode
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
Enable frustum culling for the FrameGraph
A QFrustumCulling class enables frustum culling of the drawable entities based on the camera view and QGeometry bounds of the entities. If QFrustumCulling is present in the FrameGraph, only the entities whose QGeometry bounds intersect with the camera frustum, i.e. the view of the camera, are drawn. If QFrustumCulling is not present, all drawable entities will be drawn. The camera is selected by a QCameraSelector frame graph node in the current hierarchy. Frustum culling can save a lot of GPU processing time when the rendered scene is complex.
参见 QCameraSelector.