In questa pagina

QRhiMetalCommandBufferNativeHandles Struct

Contiene gli oggetti `MTLCommandBuffer` e `MTLRenderCommandEncoder` che fungono da supporto per un ` QRhiCommandBuffer`. Altro...

Intestazione: #include <rhi/qrhi.h>
CMake: find_package(Qt6 REQUIRED COMPONENTS GuiPrivate)
target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate)
qmake: QT += gui-private
A partire da: Qt 6.6
Eredita da: QRhiNativeHandles

Variabili pubbliche

MTLCommandBuffer *commandBuffer
MTLRenderCommandEncoder *encoder

Descrizione dettagliata

Nota: la validitàdell'oggetto buffer di comando è garantita solo durante la registrazione di un frame, ovvero tra una coppia di comandi beginFrame() - endFrame() o beginOffscreenFrame() - endOffscreenFrame().

Nota: l’encoder di comando è valido solo durante la registrazione di un passaggio, ovvero tra QRhiCommandBuffer::beginPass() e QRhiCommandBuffer::endPass().

Nota: si tratta di un'API RHI con garanzie di compatibilità limitate; per ulteriori dettagli, consultare QRhi.

Documentazione sulle variabili membro

MTLCommandBuffer *QRhiMetalCommandBufferNativeHandles::commandBuffer

MTLRenderCommandEncoder *QRhiMetalCommandBufferNativeHandles::encoder

© 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.