QRhiSwapChainRenderTarget Class
Render-Ziel-Ressource „Swapchain“. Mehr...
| Header: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Seit: | Qt 6.6 |
| Erbt von: | QRhiRenderTarget |
Öffentliche Funktionen
| QRhiSwapChain * | swapChain() const |
Neu implementierte öffentliche Funktionen
| virtual QRhiResource::Type | resourceType() const override |
Ausführliche Beschreibung
Bei der Ausrichtung auf die Farbpuffer einer Swapchain ist das aktive Renderziel ein QRhiSwapChainRenderTarget. Dies ist der Rückgabewert von QRhiSwapChain::currentFrameRenderTarget().
Hinweis: Hierbei handelt es sich um eine RHI-API mit eingeschränkten Kompatibilitätsgarantien; weitere Informationen finden Sie unter ` QRhi `.
Siehe auch QRhiSwapChain.
Dokumentation der Mitgliedsfunktionen
[override virtual] QRhiResource::Type QRhiSwapChainRenderTarget::resourceType() const
Implementiert neu: ` QRhiResource::resourceType()` const.
Gibt den Ressourcentyp zurück.
QRhiSwapChain *QRhiSwapChainRenderTarget::swapChain() const
Gibt das Swapchain-Objekt zurück.
© 2026 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.