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.
Holds the name of the filter key.
访问函数:
QString | name () const |
void | setName (const QString & customType ) |
通知程序信号:
void | nameChanged (const QString & name ) |
Holds the value of the filter key.
访问函数:
QVariant | value () const |
void | setValue (const QVariant & value ) |
通知程序信号:
void | valueChanged (const QVariant & value ) |
Default constructs an instance of QFilterKey.
[虚拟]
QFilterKey::
~QFilterKey
()
Destroys the instance of QFilterKey. The destructor is virtual.