QEffect Class

(Qt3D::QEffect)
Inherits:

Public Functions

QEffect(QNode * parent = 0)
~QEffect()
void addParameter(QParameter * parameter)
virtual void addTechnique(QTechnique * t)
QList<QParameter *> parameters() const
void removeParameter(QParameter * parameter)
virtual void removeTechnique(QTechnique * t)
QList<QTechnique *> techniques() const

Protected Functions

void copy(const QNode * ref)

Member Function Documentation

QEffect::QEffect(QNode * parent = 0)

QEffect::~QEffect()

void QEffect::addParameter(QParameter * parameter)

[virtual] void QEffect::addTechnique(QTechnique * t)

Adds a new technique t to the effect. This posts a CommponentAdded QScenePropertyChange notification to the QChangeArbiter, the value is the added technique and the property name is "technique".

[protected] void QEffect::copy(const QNode * ref)

QList<QParameter *> QEffect::parameters() const

void QEffect::removeParameter(QParameter * parameter)

[virtual] void QEffect::removeTechnique(QTechnique * t)

Removes a technique t from the effect. This posts a ComponentRemoved QScenePropertyChange notification to the QChangeArbiter, the value is the removed technique's id and the property name is "technique".

QList<QTechnique *> QEffect::techniques() const

Returns the list of techniques used by the effect.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.