En esta página

QRhiMetalNativeHandles Struct

Alberga el dispositivo Metal que utiliza el QRhi. Más...

Encabezado: #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
Heredado de: QRhiNativeHandles

Variables públicas

MTLCommandQueue *cmdQueue
MTLDevice *dev

Descripción detallada

Nota: Se trata de una API de RHI con garantías de compatibilidad limitadas; consulta QRhi para obtener más detalles.

Documentación de las variables de miembro

MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue

Establecer en una MTLCommandQueue válida al importar una cola de comandos existente. Cuando se establece en « nullptr », « QRhi » creará una nueva cola de comandos.

MTLDevice *QRhiMetalNativeHandles::dev

Establece un valor válido de «MTLDevice» para importar un dispositivo ya 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.