QRhiSwapChainRenderTarget Class

스왑체인 렌더링 대상 리소스. 더 보기...

Header: #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

스왑체인 객체를 반환합니다.

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