QRhiSwapChainRenderTarget Class
스왑체인 렌더 타깃 리소스. 더 보기...
| 헤더: | #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.