このページでは

QRhiMetalNativeHandles Struct

QRhi で使用されるMetalデバイスを保持します。詳細...

ヘッダー: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
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 を設定してください。

© 2026 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.