QRhiMetalCommandBufferNativeHandles Struct
Enthält die Objekte „MTLCommandBuffer“ und „MTLRenderCommandEncoder“, die einem „ QRhiCommandBuffer “ zugrunde liegen. Mehr...
| Header: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Seit: | Qt 6.6 |
| Erbt von: | QRhiNativeHandles |
Öffentliche Variablen
| MTLCommandBuffer * | commandBuffer |
| MTLRenderCommandEncoder * | encoder |
Ausführliche Beschreibung
Hinweis: Die Gültigkeitdes Befehlspuffer-Objekts ist nur während der Aufzeichnung eines Frames gewährleistet, d. h. zwischen einem Paar aus beginFrame() – endFrame() oder beginOffscreenFrame() – endOffscreenFrame().
Hinweis: Der Befehls-Encoder ist nur während der Aufzeichnung eines Durchgangs gültig, d. h. zwischen QRhiCommandBuffer::beginPass() und QRhiCommandBuffer::endPass().
Hinweis: Hierbei handelt es sich um eine RHI-API mit eingeschränkten Kompatibilitätsgarantien; weitere Informationen finden Sie unter 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.