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