이 페이지에서

QRhiVulkanNativeHandles Struct

QRhi 에서 사용하는 디바이스, 큐 및 기타 Vulkan 객체를 모아둡니다. 더 보기...

헤더: #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
상속: QRhiNativeHandles

공개 변수

VkDevice dev
VkQueue gfxQueue
quint32 gfxQueueFamilyIdx
quint32 gfxQueueIdx
QVulkanInstance *inst
VkPhysicalDevice physDev
void *vmemAllocator

상세 설명

참고: Vulkan 객체의소유권은 절대 이전되지 않습니다.

참고: 이 API는 호환성 보장이 제한된 RHI API입니다. 자세한 내용은 QRhi 를 참조하십시오.

멤버 변수 문서

VkDevice QRhiVulkanNativeHandles::dev

단순히 물리적 장치를 가져오는 것뿐만 아니라, 이미 존재하는 VkDevice를 사용하고자 할 때는 이 설정과 그래픽 큐 인덱스, 패밀리 인덱스를 설정하십시오.

VkQueue QRhiVulkanNativeHandles::gfxQueue

출력 전용이며, ` QRhi::create()`에서는 사용되지 않고, ` QRhi::nativeHandles()` 액세서리에 의해서만 설정됩니다. ` QRhi`에서 사용하는 그래픽스 VkQueue입니다.

quint32 QRhiVulkanNativeHandles::gfxQueueFamilyIdx

그래픽 큐 계열 인덱스.

quint32 QRhiVulkanNativeHandles::gfxQueueIdx

그래픽 큐 인덱스.

QVulkanInstance *QRhiVulkanNativeHandles::inst

출력 전용이며, ` QRhi::create()`에서는 사용되지 않고, ` QRhi::nativeHandles()` 액세서리에 의해서만 설정됩니다. ` QRhi`에서 사용하는 ` QVulkanInstance `입니다.

VkPhysicalDevice QRhiVulkanNativeHandles::physDev

nullptr 와 다를 경우, 사용할 Vulkan 물리 장치를 지정합니다.

void *QRhiVulkanNativeHandles::vmemAllocator

기존 메모리 할당기 객체를 가져올 때만 해당되며, 그 외의 경우에는 ‘ nullptr ’로 설정된 상태를 유지하십시오.

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