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 了解细节。
Set to a valid MTLCommandQueue when importing an existing command queue. When
nullptr
,
QRhi
will create a new command queue.
Set to a valid MTLDevice to import an existing device.