class QRenderPassFilter#

Provides storage for vectors of Filter Keys and Parameters. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter

Synopsis#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

A QRenderPassFilter FrameGraph node is used to select which QRenderPass objects are selected for drawing. QRenderPassFilter specifies a list of QFilterKey objects and QParameter objects. When QRenderPassFilter is present in the FrameGraph, only the QRenderPass objects, whose 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 .

__init__([parent=None])#
Parameters:

parentQNode

The constructor creates an instance with the specified parent.

addMatch(filterKey)#
Parameters:

filterKeyQFilterKey

Add the filterKey to the match vector.

addParameter(parameter)#
Parameters:

parameterQParameter

Add the given parameter to the parameter vector.

matchAny()#
Return type:

.list of Qt3DRender.QFilterKey

Returns a vector of the current keys for the filter.

parameters()#
Return type:

.list of Qt3DRender.QParameter

Returns the current vector of parameters.

removeMatch(filterKey)#
Parameters:

filterKeyQFilterKey

Remove the filterKey from the match vector.

removeParameter(parameter)#
Parameters:

parameterQParameter

Remove the given parameter from the parameter vector.