QRhiMetalCommandBufferNativeHandles Struct
Enthält die MTLCommandBuffer- und MTLRenderCommandEncoder-Objekte, die eine QRhiCommandBuffer unterstützen. Mehr...
Kopfzeile: | #include <rhi/qrhi.h> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Gui) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
qmake: | QT += gui-private |
Since: | Qt 6.6 |
Vererbt: | QRhiNativeHandles |
Öffentliche Variablen
MTLCommandBuffer * | commandBuffer |
MTLRenderCommandEncoder * | encoder |
Detaillierte Beschreibung
Hinweis: Das Befehlspuffer-Objekt ist garantiert nur während der Aufzeichnung eines Frames gültig, d.h. zwischen einem Paar beginFrame() - endFrame() oder beginOffscreenFrame() - endOffsrceenFrame().
Hinweis: Der Befehlskodierer ist nur während der Aufzeichnung eines Durchgangs gültig, d. h. zwischen QRhiCommandBuffer::beginPass() - QRhiCommandBuffer::endPass().
Hinweis: Dies ist eine RHI-API mit eingeschränkten Kompatibilitätsgarantien, siehe QRhi für Details.
© 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.