QFilterKey Class

(Qt3DRender::QFilterKey)

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

Header: #include <QFilterKey>
qmake: QT += 3drender
Since: Qt 5.5
Instantiated By: FilterKey
Inherits: Qt3DCore::QNode

This class was introduced in Qt 5.5.

Properties

Public Functions

QString name() const
QVariant value() const

Public Slots

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

Signals

void nameChanged(const QString &name)
void valueChanged(const QVariant &value)
typedef QNodePtr
typedef QNodeVector
typedef QObjectList
QList<T> qFindChildren(const QObject *obj, const QRegExp &regExp)
Qt3DCore::QNodeId qIdForNode(Qt3DCore::QNode *node)
Qt3DCore::QNodeIdVector qIdsForNodes(const T &nodes)
T qobject_cast(QObject *object)
T qobject_cast(const QObject *object)

Macros

Additional Inherited Members

  • 9 static public members inherited from QObject
  • 2 protected functions inherited from Qt3DCore::QNode
  • 9 protected functions inherited from QObject

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.

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)