QRhiMetalNativeHandles Struct

Holds the Metal device used by the QRhi . 更多...

头: #include <QRhiMetalNativeHandles>
Since: Qt 6.6
继承: QRhiNativeHandles

公共变量

MTLCommandQueue * cmdQueue
MTLDevice * dev

详细描述

注意: This is a RHI API with limited compatibility guarantees, see QRhi 了解细节。

成员变量文档编制

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.