QRhiMetalNativeHandles Struct
Acomoda o dispositivo Metal utilizado pelo QRhi. Mais...
| Cabeçalho: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Desde: | Qt 6.6 |
| Herda de: | QRhiNativeHandles |
Variáveis públicas
Descrição detalhada
Observação: Esta é uma API RHI com garantias limitadas de compatibilidade; consulte QRhi para obter detalhes.
Documentação das variáveis de membro
MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue
Defina como uma MTLCommandQueue válida ao importar uma fila de comandos existente. Quando ` nullptr`, ` QRhi ` criará uma nova fila de comandos.
MTLDevice *QRhiMetalNativeHandles::dev
Defina como um MTLDevice válido para importar um dispositivo existente.
© 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.