QTechniqueFilter Class
(Qt3DRender::QTechniqueFilter)A QFrameGraphNode used to select QTechniques to use 更多...
头文件: | #include <QTechniqueFilter> |
qmake: | QT += 3drender |
开始支持版本: | Qt 5.7 |
Instantiated By: | TechniqueFilter |
基类: | Qt3DRender::QFrameGraphNode |
派生类: |
公有函数
QTechniqueFilter(Qt3DCore::QNode *parent = nullptr) | |
void | addMatch(QFilterKey *filterKey) |
void | addParameter(QParameter *parameter) |
QVector<QFilterKey *> | matchAll() const |
QVector<QParameter *> | parameters() const |
void | removeMatch(QFilterKey *filterKey) |
void | removeParameter(QParameter *parameter) |
- 1 个公有函数继承自 Qt3DRender::QFrameGraphNode
- 11 个公有函数继承自 Qt3DCore::QNode
- 32 个公有函数继承自 QObject
受保护的函数
QTechniqueFilter(QTechniqueFilterPrivate &dd, Qt3DCore::QNode *parent = nullptr) |
- 1 个受保护的函数继承自 Qt3DRender::QFrameGraphNode
- 2 个受保护的函数继承自 Qt3DCore::QNode
- 9 个受保护的函数继承自 QObject
其他继承的成员
- 3 个属性继承自 Qt3DCore::QNode
- 1 个属性继承自 QObject
- 3 个公有槽函数继承自 Qt3DCore::QNode
- 1 个公有槽函数继承自 QObject
- 4 个信号继承自 Qt3DCore::QNode
- 2 个信号继承自 QObject
- 1 个公有变量继承自 QObject
- 10 个静态公有成员继承自 QObject
- 2 个受保护的变量继承自 QObject
详细描述
A QFrameGraphNode used to select QTechniques to use
A Qt3DRender::QTechniqueFilter specifies which techniques are used by the FrameGraph when rendering the entities. QTechniqueFilter specifies a list of Qt3DRender::QFilterKey objects and Qt3DRender::QParameter objects. When QTechniqueFilter is present in the FrameGraph, only the techiques matching the keys in the list are used for rendering. The parameters in the list can be used to set values for shader parameters. The parameters in QTechniqueFilter are overridden by parameters in QTechnique and QRenderPass.
成员函数
QTechniqueFilter::QTechniqueFilter(Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QTechniqueFilter.
[protected]
QTechniqueFilter::QTechniqueFilter(QTechniqueFilterPrivate &dd, Qt3DCore::QNode *parent = nullptr)
Copy constructor.
void QTechniqueFilter::addMatch(QFilterKey *filterKey)
Add the filterKey to the match vector.
void QTechniqueFilter::addParameter(QParameter *parameter)
Add parameter to the vector of parameters that will be passed to the graphics pipeline.
QVector<QFilterKey *> QTechniqueFilter::matchAll() const
Returns a vector of the current keys for the filter.
QVector<QParameter *> QTechniqueFilter::parameters() const
Returns the current vector of parameters.
void QTechniqueFilter::removeMatch(QFilterKey *filterKey)
Remove the filterKey from the match vector.
void QTechniqueFilter::removeParameter(QParameter *parameter)
Remove parameter from the vector of parameters passed to the graphics pipeline.