QFrustumCulling¶
Enable frustum culling for the FrameGraph. More…
Detailed Description¶
A
QFrustumCulling
class enables frustum culling of the drawable entities based on the camera view andQGeometry
bounds of the entities. IfQFrustumCulling
is present in the FrameGraph, only the entities whoseQGeometry
bounds intersect with the camera frustum, i.e. the view of the camera, are drawn. IfQFrustumCulling
is not present, all drawable entities will be drawn. The camera is selected by aQCameraSelector
frame graph node in the current hierarchy. Frustum culling can save a lot of GPU processing time when the rendered scene is complex.See also
QCameraSelector
- class PySide2.Qt3DRender.Qt3DRender.QFrustumCulling([parent=None])¶
- param parent:
The constructor creates an instance with the specified
parent
.
© 2022 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.