QRenderTargetSelector

Provides a way of specifying a render target. More

Inheritance diagram of PySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector

Synopsis

Functions

Slots

Signals

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

parentPySide6.Qt3DCore.Qt3DCore.QNode

Constructs QRenderTargetSelector with given parent.

PySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector.setTarget(target)
Parameters

targetPySide6.Qt3DRender.Qt3DRender.QRenderTarget

Holds the current render target

PySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector.target()
Return type

PySide6.Qt3DRender.Qt3DRender.QRenderTarget

Holds the current render target

PySide6.Qt3DRender.Qt3DRender.QRenderTargetSelector.targetChanged(target)
Parameters

targetPySide6.Qt3DRender.Qt3DRender.QRenderTarget