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)
Detailed Description¶
A
QRenderPassFilter
FrameGraph node is used to select whichQRenderPass
objects are selected for drawing.QRenderPassFilter
specifies a list ofQFilterKey
objects andQParameter
objects. WhenQRenderPassFilter
is present in the FrameGraph, only theQRenderPass
objects, whoseQFilterKey
objects match the keys inQRenderPassFilter
are selected for rendering. If noQRenderPassFilter
is present, then allQRenderPass
objects are selected for rendering. The parameters in the list can be used to set values for shader parameters. The parameters inQRenderPassFilter
override parameters inQTechniqueFilter
,QMaterial
,QEffect
,QTechnique
andQRenderPass
.
- class PySide2.Qt3DRender.Qt3DRender.QRenderPassFilter([parent=None])¶
- param parent:
The constructor creates an instance with the specified
parent
.
- PySide2.Qt3DRender.Qt3DRender.QRenderPassFilter.addMatch(filterKey)¶
- Parameters:
filterKey –
PySide2.Qt3DRender.Qt3DRender.QFilterKey
Add the
filterKey
to the match vector.
- PySide2.Qt3DRender.Qt3DRender.QRenderPassFilter.addParameter(parameter)¶
- Parameters:
parameter –
PySide2.Qt3DRender.Qt3DRender.QParameter
Add the given
parameter
to the parameter vector.
- PySide2.Qt3DRender.Qt3DRender.QRenderPassFilter.matchAny()¶
- Return type:
Returns a vector of the current keys for the filter.
- PySide2.Qt3DRender.Qt3DRender.QRenderPassFilter.parameters()¶
- Return type:
Returns the current vector of parameters.
- PySide2.Qt3DRender.Qt3DRender.QRenderPassFilter.removeMatch(filterKey)¶
- Parameters:
filterKey –
PySide2.Qt3DRender.Qt3DRender.QFilterKey
Remove the
filterKey
from the match vector.
- PySide2.Qt3DRender.Qt3DRender.QRenderPassFilter.removeParameter(parameter)¶
- Parameters:
parameter –
PySide2.Qt3DRender.Qt3DRender.QParameter
Remove the given
parameter
from the parameter vector.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.