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 を参照してください。
© 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.