Provides a way of specifying a render target. More...
Header: | #include <QRenderTargetSelector> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS 3drender) target_link_libraries(mytarget PRIVATE Qt6::3drender) |
qmake: | QT += 3drender |
Since: | Qt 5.7 |
Instantiated By: | RenderTargetSelector |
Inherits: | Qt3DRender::QFrameGraphNode |
QRenderTargetSelector(Qt3DCore::QNode *parent = nullptr) | |
Qt3DRender::QRenderTarget * | target() const |
void | setTarget(Qt3DRender::QRenderTarget *target) |
void | targetChanged(Qt3DRender::QRenderTarget *target) |
A Qt3DRender::QRenderTargetSelector is used to select active Qt3DRender::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 Qt3DRender::QRenderSurfaceSelector.
Holds the current render target
Access functions:
Qt3DRender::QRenderTarget * | target() const |
void | setTarget(Qt3DRender::QRenderTarget *target) |
Notifier signal:
void | targetChanged(Qt3DRender::QRenderTarget *target) |
Constructs QRenderTargetSelector with given parent.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: