QFilterKey Class

(Qt3DRender::QFilterKey)

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

头文件: #include <QFilterKey>
qmake: QT += 3drender
开始支持版本: Qt 5.5
Instantiated By: FilterKey
基类: Qt3DCore::QNode

属性

公有函数

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

公有槽函数

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

信号

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

其他继承的成员

详细描述

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.

属性

name : QString

Holds the name of the filter key.

访问函数:

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

Notifier signal:

void nameChanged(const QString &name)

value : QVariant

Holds the value of the filter key.

访问函数:

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

Notifier signal:

void valueChanged(const QVariant &value)

成员函数

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

Default constructs an instance of QFilterKey.

QFilterKey::~QFilterKey()

Destroys the instance of QFilterKey.