Sur cette page

QRhiSwapChainRenderTarget Class

Ressource cible pour le rendu de la chaîne d'échange. Plus d'informations...

En-tête : #include <rhi/qrhi.h>
CMake : find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake : QT += gui-private
Depuis : Qt 6.6
Hérite : QRhiRenderTarget

Fonctions publiques

QRhiSwapChain *swapChain() const

Fonctions publiques réimplémentées

virtual QRhiResource::Type resourceType() const override

Description détaillée

Lorsque l'on cible les tampons de couleur d'une chaîne d'échange, la cible de rendu active est un QRhiSwapChainRenderTarget. C'est ce que renvoie QRhiSwapChain::currentFrameRenderTarget().

Remarque : il s'agit d'une API RHI avec des garanties de compatibilité limitées, voir QRhi pour plus de détails.

Voir également QRhiSwapChain.

Documentation des fonctions membres

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

Réimplémente : QRhiResource::resourceType() const.

Renvoie le type de ressource.

QRhiSwapChain *QRhiSwapChainRenderTarget::swapChain() const

Renvoie l'objet swapchain.

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