En esta página

Qt3DRender::QFilterKey Class

class Qt3DRender::QFilterKey

La clase QFilterKey permite almacenar claves de filtro y sus valores. Más información...

Encabezado: #include <qfilterkey.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS 3drender)
target_link_libraries(mytarget PRIVATE Qt6::3drender)
qmake: QT += 3drender
En QML: FilterKey
Heredan de: Qt3DCore::QNode
Estado: Obsoleto

Esta clase está en desuso. Se desaconseja encarecidamente su uso en código nuevo.

Propiedades

Funciones públicas

QString name() const
QVariant value() const

Ranuras públicas

void setName(const QString &customType)
void setValue(const QVariant &value)

Señales

void nameChanged(const QString &name)
void valueChanged(const QVariant &value)

Descripción detallada

QTechnique y QRenderPass utilizan las claves de filtro para especificar en qué fase del renderizado se utiliza la técnica o la pasada de renderizado.

Nota: El nodoQFilterKey no se puede desactivar.

Documentación de propiedades

name : QString

Contiene el nombre de la clave del filtro.

Funciones de acceso:

QString name() const
void setName(const QString &customType)

Señal de notificación:

void nameChanged(const QString &name)

value : QVariant

Contiene el valor de la clave del filtro.

Funciones de acceso:

QVariant value() const
void setValue(const QVariant &value)

Señal de notificación:

void valueChanged(const QVariant &value)

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