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.