QTechnique Class

(Qt3DRender::QTechnique)

Encapsulates a Technique. More...

Header: #include <QTechnique>
qmake: QT += 3drender
Instantiated By: Technique
Inherits: Qt3DCore::QNode

Properties

Public Functions

QTechnique(Qt3DCore::QNode *parent = nullptr)
void addFilterKey(QFilterKey *filterKey)
void addParameter(QParameter *parameter)
void addRenderPass(QRenderPass *pass)
QVector<QFilterKey *> filterKeys() const
QGraphicsApiFilter *graphicsApiFilter()
QVector<QParameter *> parameters() const
void removeFilterKey(QFilterKey *filterKey)
void removeParameter(QParameter *parameter)
void removeRenderPass(QRenderPass *pass)
QVector<QRenderPass *> renderPasses() const

Protected Functions

QTechnique(QTechniquePrivate &dd, Qt3DCore::QNode *parent = nullptr)

Additional Inherited Members

Detailed Description

Encapsulates a Technique.

Property Documentation

graphicsApiFilter : Qt3DRender::QGraphicsApiFilter * const

Specifies the graphics API filter being used

Access functions:

QGraphicsApiFilter *graphicsApiFilter()

Member Function Documentation

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

Constructs a new QTechnique with the specified parent.

[protected] QTechnique::QTechnique(QTechniquePrivate &dd, Qt3DCore::QNode *parent = nullptr)

Copy constructor.

void QTechnique::addFilterKey(QFilterKey *filterKey)

Add filterKey to the Qt3DRender::QTechnique local filter keys.

void QTechnique::addParameter(QParameter *parameter)

Add parameter to the techniques parameters.

void QTechnique::addRenderPass(QRenderPass *pass)

Appends a pass to the technique.

QVector<QFilterKey *> QTechnique::filterKeys() const

Returns the list of Qt3DCore::QFilterKey key objects making up the filter keys of the Qt3DRender::QTechnique.

QVector<QParameter *> QTechnique::parameters() const

Returns a vector of the techniques current parameters

void QTechnique::removeFilterKey(QFilterKey *filterKey)

Removes filterKey from the Qt3DRender::QTechnique local filter keys.

void QTechnique::removeParameter(QParameter *parameter)

Remove parameter from the techniques parameters.

void QTechnique::removeRenderPass(QRenderPass *pass)

Removes a pass from the technique.

QVector<QRenderPass *> QTechnique::renderPasses() const

Returns the list of render passes contained in the technique.