QFilterKey Class

( Qt3DRender::QFilterKey )

The 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)
virtual ~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 )

靜態公共成員

const QMetaObject staticMetaObject

額外繼承成員

詳細描述

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 )

通知程序信號:

void nameChanged (const QString & name )

value : QVariant

Holds the value of the filter key.

訪問函數:

QVariant value () 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. The destructor is virtual.