QFrustumCulling Class

class Qt3DRender::QFrustumCulling

프레임그래프에 프러스텀 컬링을 활성화합니다. 더 보기...

Header: #include <QFrustumCulling>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
QML에서: FrustumCulling
상속합니다: Qt3DRender::QFrameGraphNode
상태: Deprecated

공용 함수

QFrustumCulling(Qt3DCore::QNode *parent = nullptr)

상세 설명

QFrustumCulling 클래스는 카메라 뷰와 엔티티의 QGeometry 바운드에 따라 그리기 가능한 엔티티의 프러스텀 컬링을 활성화합니다. QFrustumCulling이 프레임그래프에 있으면, QGeometry 바운드가 카메라 프러스텀, 즉 카메라 뷰와 교차하는 엔티티만 그려집니다. QFrustumCulling이 없으면 그리기 가능한 모든 엔티티가 그려집니다. 카메라는 현재 계층구조의 QCameraSelector 프레임 그래프 노드에 의해 선택됩니다. 프러스텀 컬링은 렌더링된 장면이 복잡할 때 GPU 처리 시간을 많이 절약할 수 있습니다.

QCameraSelector참조하세요 .

멤버 함수 문서

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

생성자는 지정된 parent 로 인스턴스를 생성합니다.

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