Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

QRhiMetalNativeHandles Struct

Holds the Metal device used by the QRhi. More...

Header: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
Since: Qt 6.6
Inherits: QRhiNativeHandles

Public Variables

MTLCommandQueue * cmdQueue
MTLDevice * dev

Detailed Description

Note: This is a RHI API with limited compatibility guarantees, see QRhi for details.

Member Variable Documentation

MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue

Set to a valid MTLCommandQueue when importing an existing command queue. When nullptr, QRhi will create a new command queue.

MTLDevice *QRhiMetalNativeHandles::dev

Set to a valid MTLDevice to import an existing device.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded