QRhiMetalCommandBufferNativeHandles Struct
Contém os objetos `MTLCommandBuffer` e `MTLRenderCommandEncoder` que servem de base para um ` QRhiCommandBuffer`. Mais...
| Cabeçalho: | #include <rhi/qrhi.h> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS GuiPrivate) target_link_libraries(mytarget PRIVATE Qt6::GuiPrivate) |
| qmake: | QT += gui-private |
| Desde: | Qt 6.6 |
| Herdado de: | QRhiNativeHandles |
Variáveis públicas
| MTLCommandBuffer * | commandBuffer |
| MTLRenderCommandEncoder * | encoder |
Descrição detalhada
Observação: A validadedo objeto buffer de comando é garantida apenas durante a gravação de um quadro, ou seja, entre um par de chamadas beginFrame() - endFrame() ou beginOffscreenFrame() - endOffscreenFrame().
Observação: o codificador de comando só é válido durante a gravação de uma passagem, ou seja, entre QRhiCommandBuffer::beginPass() e QRhiCommandBuffer::endPass().
Observação: Esta é uma API RHI com garantias limitadas de compatibilidade; consulte QRhi para obter detalhes.
© 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.