QRhiVulkanNativeHandles Struct
Raccoglie oggetti relativi a dispositivi, code e altri elementi Vulkan utilizzati da ` QRhi`. Altro...
| Intestazione: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| A partire da: | Qt 6.6 |
| Eredita da: | QRhiNativeHandles |
Variabili pubbliche
| VkDevice | dev |
| VkQueue | gfxQueue |
| quint32 | gfxQueueFamilyIdx |
| quint32 | gfxQueueIdx |
| QVulkanInstance * | inst |
| VkPhysicalDevice | physDev |
| void * | vmemAllocator |
Descrizione dettagliata
Nota: la proprietà degli oggetti Vulkan non viene mai trasferita.
Nota: si tratta di un'API RHI con garanzie di compatibilità limitate; per ulteriori dettagli, consultare QRhi.
Documentazione sulle variabili membro
VkDevice QRhiVulkanNativeHandles::dev
Se si desidera importare non solo un dispositivo fisico, ma anche utilizzare un VkDevice già esistente, impostare questo parametro, l'indice della coda grafica e l'indice della famiglia.
VkQueue QRhiVulkanNativeHandles::gfxQueue
Solo in uscita, non utilizzato da ` QRhi::create()`; viene impostato esclusivamente dall'accessore ` QRhi::nativeHandles()`. La coda grafica `VkQueue` utilizzata da ` QRhi`.
quint32 QRhiVulkanNativeHandles::gfxQueueFamilyIdx
Indice della famiglia delle code grafiche.
quint32 QRhiVulkanNativeHandles::gfxQueueIdx
Indice della coda grafica.
QVulkanInstance *QRhiVulkanNativeHandles::inst
Solo in uscita, non utilizzato da QRhi::create(), impostato esclusivamente dall'accessore QRhi::nativeHandles(). Il QVulkanInstance utilizzato da QRhi.
VkPhysicalDevice QRhiVulkanNativeHandles::physDev
Se diverso da nullptr, specifica il dispositivo fisico Vulkan da utilizzare.
void *QRhiVulkanNativeHandles::vmemAllocator
Rilevante solo quando si importa un oggetto allocatore di memoria esistente; in caso contrario, lasciarlo impostato su “ 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.