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

  • 11 static public members 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.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.