IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

QFilterKey Class

The QFilterKey class provides storage for filter keys and their values.

This class was introduced in Qt 5.5.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

QFilterKey Class

  • Header: QFilterKey

  • Since: Qt 5.5

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS 3drender)

    target_link_libraries(mytarget PRIVATE Qt6::3drender)

  • qmake: QT += 3drender

  • Inherited By:

  • Instantiated By: qml-qt3d-render-filterkey.xml

  • Inherits: Qt3DCore::QNode

Detailed Description

Filter keys are used by QTechnique and QRenderPass to specify at which stage of rendering the technique or the render pass is used.

QFilterKey node can not be disabled.

Property Documentation

 

name : QString

Holds the name of the filter key.

Access functions:

  • QString name() const

  • void setName(const QString &customType)

Notifier signal:

  • void nameChanged(const QString &name)

value : QVariant

Holds the value of the filter key.

Access functions:

  • QVariant value() const

  • void setValue(const QVariant &value)

Notifier signal:

  • void valueChanged(const QVariant &value)

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+