QRhiMetalNativeHandles Struct

QRhi で使用れるメタル・デバイスを保持。

ヘッダー #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS Gui)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
以来:Qt 6.6
継承: QRhiNativeHandles

パブリック変数

MTLCommandQueue *cmdQueue
MTLDevice *dev

詳細説明

注意: これは互換性保証に制限のある RHI API です。詳細はQRhi を参照してください。

メンバー変数のドキュメント

MTLCommandQueue *QRhiMetalNativeHandles::cmdQueue

既存のコマンド・キューをインポートする際に、有効な MTLCommandQueue を設定する。nullptr,QRhi の場合、新しいコマンド・キューが作成されます。

MTLDevice *QRhiMetalNativeHandles::dev

既存のデバイスをインポートするには、有効な MTLDevice を設定する。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.