PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter¶
- class QRenderPassFilter¶
- Provides storage for vectors of Filter Keys and Parameters. - Details- A - QRenderPassFilterFrameGraph node is used to select which- QRenderPassobjects are selected for drawing.- QRenderPassFilterspecifies a list of- QFilterKeyobjects and- QParameterobjects. When- QRenderPassFilteris present in the FrameGraph, only the- QRenderPassobjects, whose- QFilterKeyobjects match the keys in- QRenderPassFilterare selected for rendering. If no- QRenderPassFilteris present, then all- QRenderPassobjects are selected for rendering. The parameters in the list can be used to set values for shader parameters. The parameters in- QRenderPassFilteroverride parameters in- QTechniqueFilter,- QMaterial,- QEffect,- QTechniqueand- QRenderPass.- Synopsis¶- Methods¶- def - __init__()
- def - addMatch()
- def - addParameter()
- def - matchAny()
- def - parameters()
- def - removeMatch()
 - 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 - __init__([parent=None])¶
- Parameters:
- parent – - QNode
 
 - The constructor creates an instance with the specified - parent.- addMatch(filterKey)¶
- Parameters:
- filterKey – - QFilterKey
 
 - Add the - filterKeyto the match vector.- addParameter(parameter)¶
- Parameters:
- parameter – - QParameter
 
 - Add the given - parameterto 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:
- filterKey – - QFilterKey
 
 - Remove the - filterKeyfrom the match vector.- removeParameter(parameter)¶
- Parameters:
- parameter – - QParameter
 
 - Remove the given - parameterfrom the parameter vector.