QFilterKey Class | Qt 3D 5.12.7

Qt 5.12 | Qt 3D | C++ Classes | QFilterKey

Qt 5.12.7 Reference Documentation

# 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

- List of all members, including inherited members
- Obsolete members

## Properties

- name : QString
- value : QVariant

- 3 properties inherited from Qt3DCore::QNode
- 1 property inherited from QObject

## Public Functions

| QFilterKey(Qt3DCore::QNode *parent = nullptr)
virtual | ~QFilterKey()
QString | name() const
QVariant | value() const

- 13 public functions inherited from Qt3DCore::QNode
- 31 public functions inherited from QObject

## Public Slots

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

- 3 public slots inherited from Qt3DCore::QNode
- 1 public slot inherited from QObject

## Signals

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

- 4 signals inherited from Qt3DCore::QNode
- 2 signals inherited from QObject

## Static Public Members

const QMetaObject | staticMetaObject

- 9 static public members inherited from QObject

### Additional Inherited Members

- 2 protected functions inherited from Qt3DCore::QNode
- 9 protected functions inherited from QObject

## Detailed Description

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

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)

## Member Function Documentation

### QFilterKey::QFilterKey(Qt3DCore::QNode *parent = nullptr)

Default constructs an instance of QFilterKey.

### `[virtual]` QFilterKey::~QFilterKey()

Destroys the instance of QFilterKey. The destructor is virtual.