QRenderTargetSelector#
Provides a way of specifying a render target. More…
Synopsis#
Properties#
Functions#
def
target
()
Slots#
def
setTarget
(target)
Signals#
def
targetChanged
(target)
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 QRenderTargetSelector
is used to select active QRenderTarget
for the FrameGraph. When QRenderTargetSelector
is present in the FrameGraph, the rendering is directed into QTexture objects or draw buffers instead of the surface specified in the QRenderSurfaceSelector
.
- class PySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector([parent=None])#
- Parameters:
parent –
PySide6.Qt3DCore.Qt3DCore.QNode
Constructs QRenderTargetSelector
with given parent
.
Note
Properties can be used directly when from __feature__ import true_property
is used or via accessor functions otherwise.
- property PᅟySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector.target: PySide6.Qt3DRender.Qt3DRender.QRenderTarget#
Holds the current render target
- Access functions:
target
()setTarget
(target)Signal
targetChanged
(target)
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector.setTarget(target)#
- Parameters:
See also
Setter of property target
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector.target()#
- Return type:
See also
Getter of property target
.
- PySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector.targetChanged(target)#
- Parameters:
Notification signal of property target
.