QRenderTargetSelector Class
(Qt3DRender::QRenderTargetSelector)Provides a way of specifying a render target More...
| Header: | #include <QRenderTargetSelector> | 
| qmake: | QT += 3drender | 
| Since: | Qt 5.7 | 
| Instantiated By: | RenderTargetSelector | 
| Inherits: | QFrameGraphNode | 
Properties
- target : Qt3DRender::QRenderTarget *
 
- 2 properties inherited from Qt3DCore::QNode
 - 1 property inherited from QObject
 
Public Functions
| QRenderTargetSelector(Qt3DCore::QNode *parent = nullptr) | |
| QVector<QRenderTargetOutput::AttachmentPoint> | outputs() const | 
| QRenderTarget * | target() const | 
- 1 public function inherited from Qt3DRender::QFrameGraphNode
 - 6 public functions inherited from Qt3DCore::QNode
 - 31 public functions inherited from QObject
 
Public Slots
| void | setTarget(QRenderTarget *target) | 
- 2 public slots inherited from Qt3DCore::QNode
 - 1 public slot inherited from QObject
 
Signals
| void | targetChanged(QRenderTarget *target) | 
- 3 signals inherited from Qt3DCore::QNode
 - 2 signals inherited from QObject
 
Protected Functions
| QRenderTargetSelector(QRenderTargetSelectorPrivate &dd, Qt3DCore::QNode *parent = nullptr) | 
- 2 protected functions inherited from Qt3DCore::QNode
 - 9 protected functions inherited from QObject
 
Additional Inherited Members
- 1 public variable inherited from QObject
 - 10 static public members inherited from QObject
 - 2 protected variables inherited from QObject
 
Detailed Description
Provides a way of specifying a render target
Property Documentation
target : Qt3DRender::QRenderTarget *
Specifies the target to be rendered
Access functions:
| QRenderTarget * | target() const | 
| void | setTarget(QRenderTarget *target) | 
Notifier signal:
| void | targetChanged(QRenderTarget *target) | 
Member Function Documentation
QRenderTargetSelector::QRenderTargetSelector(Qt3DCore::QNode *parent = nullptr)
Default constructs an instance of QRenderTargetSelector.
[protected] QRenderTargetSelector::QRenderTargetSelector(QRenderTargetSelectorPrivate &dd, Qt3DCore::QNode *parent = nullptr)
Copy constructor.
QVector<QRenderTargetOutput::AttachmentPoint> QRenderTargetSelector::outputs() const
Returns the list of draw buffers for the current Qt3DRender::QRenderTargetSelector instance.