Provides storage for vectors of Filter Keys and Parameters. More...
Header: | #include <QRenderPassFilter> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
Since: | Qt 5.7 |
Instantiated By: | RenderPassFilter |
Inherits: | Qt3DRender::QFrameGraphNode |
QRenderPassFilter(Qt3DCore::QNode *parent = nullptr) | |
void | addMatch(Qt3DRender::QFilterKey *filterKey) |
void | addParameter(Qt3DRender::QParameter *parameter) |
QList<Qt3DRender::QFilterKey *> | matchAny() const |
QList<Qt3DRender::QParameter *> | parameters() const |
void | removeMatch(Qt3DRender::QFilterKey *filterKey) |
void | removeParameter(Qt3DRender::QParameter *parameter) |
A Qt3DRender::QRenderPassFilter FrameGraph node is used to select which Qt3DRender::QRenderPass objects are selected for drawing. QRenderPassFilter specifies a list of Qt3DRender::QFilterKey objects and Qt3DRender::QParameter objects. When QRenderPassFilter is present in the FrameGraph, only the QRenderPass objects, whose Qt3DRender::QFilterKey objects match the keys in QRenderPassFilter are selected for rendering. If no QRenderPassFilter is present, then all QRenderPass objects are selected for rendering. The parameters in the list can be used to set values for shader parameters. The parameters in QRenderPassFilter override parameters in QTechniqueFilter, QMaterial, QEffect, QTechnique and QRenderPass.
The constructor creates an instance with the specified parent.
Add the filterKey to the match vector.
Add the given parameter to the parameter vector.
Returns a vector of the current keys for the filter.
Returns the current vector of parameters.
Remove the filterKey from the match vector.
Remove the given parameter from the parameter vector.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: