Holds the Metal device used by the QRhi . 更多...
| 头: |
#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 |
| 继承: | 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.