QFilterKey Class

( Qt3DRender::QFilterKey )

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

头: #include <QFilterKey>
qmake: QT += 3drender
Since: Qt 5.5
实例化: 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 )

额外继承成员

详细描述

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 )

通知程序信号:

void nameChanged (const QString & name )

value : QVariant

Holds the value of the filter key.

访问函数:

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

通知程序信号:

void valueChanged (const QVariant & value )

成员函数文档编制

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

Default constructs an instance of QFilterKey.

QFilterKey:: ~QFilterKey ()

Destroys the instance of QFilterKey.