QRhiAdapter 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.10부터 |
공개 함수
| virtual QRhiDriverInfo | info() const = 0 |
상세 설명
일부 QRhi 백엔드는 adapters 또는 physical devices 개념을 제공하는 그래픽 API를 대상으로 합니다. 정적 함수 enumerateAdapters()를 호출하여 시스템에 존재하는 어댑터 목록을 가져올 수 있습니다. 반환된 QRhiAdapter 객체 중 하나를 create()에 전달하여, 해당 QRhiAdapter가 대응하는 어댑터 또는 물리적 장치를 사용하도록 요청할 수 있습니다. QRhiDriverInfo 를 노출하는 것 외에는, QRhiAdapter는 불투명한 핸들로 취급되어야 합니다.
참고: Vulkan에서 QRhiAdapter는 enumerateAdapters()에 사용된 QVulkanInstance 가 유효한 동안에만 유효합니다. 이는 또한 QRhiAdapter가 Vulkan 인스턴스(QVulkanInstance, VkInstance)에 바인딩되어 있으며, 다른 Vulkan 인스턴스의 컨텍스트에서는 사용할 수 없음을 의미합니다.
참고: 이 RHI API는 호환성 보장이 제한적입니다. 자세한 내용은 QRhi 을 참조하십시오.
© 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.