QRhiMetalCommandBufferNativeHandles Struct

Holds the MTLCommandBuffer and MTLRenderCommandEncoder objects that are backing a QRhiCommandBuffer. More...

Header: #include <QRhiMetalCommandBufferNativeHandles>

Detailed Description

Note: The command buffer object is only guaranteed to be valid while recording a frame, that is, between a beginFrame() - endFrame() or beginOffscreenFrame() - endOffsrceenFrame() pair.

Note: The command encoder is only valid while recording a pass, that is, between QRhiCommandBuffer::beginPass() - QRhiCommandBuffer::endPass().

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