QRhiVulkanNativeHandles Struct

QRhi. ..에서 사용하는 장치, 대기열 및 기타 벌칸 객체를 수집합니다....

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

공용 변수

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

상세 설명

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

참고: 호환성이 제한적으로 보장되는 RHI API이며, 자세한 내용은 QRhi 을 참조하세요.

멤버 변수 문서

VkDevice QRhiVulkanNativeHandles::dev

물리적 디바이스뿐만 아니라 이미 존재하는 VkDevice를 사용하려는 경우 이 값과 그래픽 대기열 인덱스 및 패밀리 인덱스를 설정합니다.

VkQueue QRhiVulkanNativeHandles::gfxQueue

출력 전용이며 QRhi::create()에서 사용하지 않고 QRhi::nativeHandles() 접근자에 의해서만 설정됩니다. QRhi .

quint32 QRhiVulkanNativeHandles::gfxQueueFamilyIdx

그래픽 대기열 제품군 색인.

quint32 QRhiVulkanNativeHandles::gfxQueueIdx

그래픽 대기열 색인.

QVulkanInstance *QRhiVulkanNativeHandles::inst

출력 전용이며 QRhi::create()에서 사용하지 않고 QRhi::nativeHandles() 접근자에서만 설정합니다. QRhi 에서 사용하는 QVulkanInstance.

VkPhysicalDevice QRhiVulkanNativeHandles::physDev

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

void *QRhiVulkanNativeHandles::vmemAllocator

기존 메모리 할당자 객체를 가져올 때만 관련되며, 그렇지 않은 경우 nullptr 로 설정합니다.

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