このページでは

QRhiSwapChainRenderTarget Class

Swapchain レンダリングターゲットリソース。詳細...

ヘッダー: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
以下より: Qt 6.6
継承元: QRhiRenderTarget

パブリック関数

QRhiSwapChain *swapChain() const

再実装されたパブリック関数

virtual QRhiResource::Type resourceType() const override

詳細な説明

スワップチェーンの色バッファをターゲットとする場合、アクティブなレンダリングターゲットは QRhiSwapChainRenderTarget となります。これは、QRhiSwapChain::currentFrameRenderTarget() が返す値です。

注:これは 互換性の保証が限定的な RHI API です。詳細については、QRhi を参照してください。

QRhiSwapChainも参照してください 。

メンバ関数のドキュメント

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

QRhiResource::resourceType() const を再実装します。

リソースの型を返します。

QRhiSwapChain *QRhiSwapChainRenderTarget::swapChain() const

スワップチェーンオブジェクトを返します。

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