QRhiMetalNativeHandles Struct | Qt GUI 6.7.3
Description: Holds the Metal device used by the QRhi.

- Qt 6.7
- Qt GUI
- C++ Classes
- QtRhi
- QRhiMetalNativeHandles
- Qt 6.7.3 Reference Documentation

# QRhiMetalNativeHandles Struct

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

Header: | #include <QRhiMetalNativeHandles>
Since: | Qt 6.6
Inherits: | QRhiNativeHandles

- List of all members, including inherited members

## 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.