QRhiSwapChainRenderTarget Class

レンダーターゲットリソースをスワップチェーンします。詳細...

ヘッダ #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
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

swapchain オブジェクトを返します。

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