QRhiMetalCommandBufferNativeHandles Struct
QRhiCommandBuffer をサポートしている MTLCommandBuffer オブジェクトと MTLRenderCommandEncoder オブジェクトを保持する。
ヘッダー | #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 |
パブリック変数
MTLCommandBuffer * | commandBuffer |
MTLRenderCommandEncoder * | encoder |
詳細説明
注 :コマンドバッファオブジェクトは、フレームを記録している間、つまりbeginFrame() -endFrame() またはbeginOffscreenFrame() -endOffsrceenFrame() のペアの間のみ有効であることが保証されています。
注 : コマンドエンコーダは、パスを記録している間、つまりQRhiCommandBuffer::beginPass() -QRhiCommandBuffer::endPass() の間のみ有効です。
注: これは互換性が限定的に保証されたRHI APIである。詳細はQRhi を参照のこと。
© 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.