이 페이지에서

QRhiMetalCommandBufferNativeHandles Struct

QRhiCommandBuffer 을 뒷받침하는 MTLCommandBuffer 및 MTLRenderCommandEncoder 객체를 보유합니다. 더 보기...

헤더: #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

공개 변수

MTLCommandBuffer *commandBuffer
MTLRenderCommandEncoder *encoder

상세 설명

참고: 명령어 버퍼객체는 프레임 기록 중, 즉 beginFrame() - endFrame() 또는 beginOffscreenFrame() - endOffscreenFrame() 쌍 사이에만 유효함이 보장됩니다.

참고: 명령인코더는 패스를 기록하는 동안, 즉 QRhiCommandBuffer::beginPass() - QRhiCommandBuffer::endPass() 사이에서만 유효합니다.

참고: 이는 호환성이 제한적으로 보장되는 RHI API입니다. 자세한 내용은 QRhi 를 참조하십시오.

멤버 변수 문서

MTLCommandBuffer *QRhiMetalCommandBufferNativeHandles::commandBuffer

MTLRenderCommandEncoder *QRhiMetalCommandBufferNativeHandles::encoder

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