En esta página

Qt3DRender::QFrustumCulling Class

class Qt3DRender::QFrustumCulling

Activar el culling de frustum para el FrameGraph. Más información...

Encabezado: #include <qfrustumculling.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
En QML: FrustumCulling
Heredan de: Qt3DRender::QFrameGraphNode
Estado: Obsoleto

Esta clase está obsoleta. Recomendamos encarecidamente no utilizarla en código nuevo.

Funciones públicas

QFrustumCulling(Qt3DCore::QNode *parent = nullptr)

Descripción detallada

La clase QFrustumCulling permite el culling de frustum de las entidades dibujables en función de la vista de la cámara y los límites de QGeometry de las entidades. Si QFrustumCulling está presente en el FrameGraph, solo se dibujan las entidades cuyos límites de QGeometry se cruzan con el frustum de la cámara, es decir, la vista de la cámara. Si QFrustumCulling no está presente, se dibujarán todas las entidades dibujables. La cámara se selecciona mediante un nodo « QCameraSelector » del grafo de fotogramas en la jerarquía actual. El culling de frustum puede ahorrar mucho tiempo de procesamiento de la GPU cuando la escena renderizada es compleja.

Véase también QCameraSelector.

Documentación de funciones miembro

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

El constructor crea una instancia con el ` parent` especificado.

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