QRhiSwapChainRenderTarget Class

Swapchain-Rendering-Zielressource. Mehr...

Kopfzeile: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
Since: Qt 6.6
Vererbt: QRhiRenderTarget

Öffentliche Funktionen

QRhiSwapChain *swapChain() const

Reimplementierte öffentliche Funktionen

virtual QRhiResource::Type resourceType() const override

Detaillierte Beschreibung

Beim Ansteuern der Farbpuffer einer Swapchain ist das aktive Renderziel ein QRhiSwapChainRenderTarget. Dies ist das, was QRhiSwapChain::currentFrameRenderTarget() zurückgibt.

Hinweis: Dies ist eine RHI-API mit begrenzten Kompatibilitätsgarantien, siehe QRhi für Details.

Siehe auch QRhiSwapChain.

Dokumentation der Mitgliedsfunktionen

[override virtual] QRhiResource::Type QRhiSwapChainRenderTarget::resourceType() const

Reimplements: QRhiResource::resourceType() const.

Gibt den Ressourcentyp zurück.

QRhiSwapChain *QRhiSwapChainRenderTarget::swapChain() const

Gibt das Swapchain-Objekt zurück.

© 2025 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.