QRhiMetalCommandBufferNativeHandles Struct
Contient les objets `MTLCommandBuffer` et `MTLRenderCommandEncoder` qui sous-tendent un ` QRhiCommandBuffer`. En savoir plus...
| En-tête : | #include <rhi/qrhi.h> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake : | QT += gui-private |
| Depuis : | Qt 6.6 |
| Hérite de : | QRhiNativeHandles |
Variables publiques
| MTLCommandBuffer * | commandBuffer |
| MTLRenderCommandEncoder * | encoder |
Description détaillée
Remarque : la validitéde l’objet tampon de commande n’est garantie que pendant l’enregistrement d’une image, c’est-à-dire entre une paire beginFrame() - endFrame() ou beginOffscreenFrame() - endOffscreenFrame().
Remarque : l'encodeur de commande n'est valide que pendant l'enregistrement d'un passage, c'est-à-dire entre QRhiCommandBuffer::beginPass() et QRhiCommandBuffer::endPass().
Remarque : il s'agit d'une API RHI dont la compatibilité n'est pas entièrement garantie ; consultez QRhi pour plus de détails.
© 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.