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 *

Public Functions

QRenderTargetSelector(Qt3DCore::QNode *parent = nullptr)
QVector<QRenderTargetOutput::AttachmentPoint> outputs() const
QRenderTarget *target() const

Public Slots

void setTarget(QRenderTarget *target)

Signals

void targetChanged(QRenderTarget *target)

Protected Functions

QRenderTargetSelector(QRenderTargetSelectorPrivate &dd, Qt3DCore::QNode *parent = nullptr)

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.