QRenderPassFilter#
Provides storage for vectors of Filter Keys and Parameters. More…
Synopsis#
Functions#
def
addMatch
(filterKey)def
addParameter
(parameter)def
matchAny
()def
parameters
()def
removeMatch
(filterKey)def
removeParameter
(parameter)
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
.
- class PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
The constructor creates an instance with the specified parent
.
- PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter.addMatch(filterKey)#
- Parameters:
filterKey –
PySide6.Qt3DRender.Qt3DRender.QFilterKey
Add the filterKey
to the match vector.
- PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter.addParameter(parameter)#
- Parameters:
parameter –
PySide6.Qt3DRender.Qt3DRender.QParameter
Add the given parameter
to the parameter vector.
- PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter.matchAny()#
Returns a vector of the current keys for the filter.
- PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter.parameters()#
Returns the current vector of parameters.
- PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter.removeMatch(filterKey)#
- Parameters:
filterKey –
PySide6.Qt3DRender.Qt3DRender.QFilterKey
Remove the filterKey
from the match vector.
- PySide6.Qt3DRender.Qt3DRender.QRenderPassFilter.removeParameter(parameter)#
- Parameters:
parameter –
PySide6.Qt3DRender.Qt3DRender.QParameter
Remove the given parameter
from the parameter vector.