QRhiMetalCommandBufferNativeHandles Class

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

Header: #include <QRhiMetalCommandBufferNativeHandles>
qmake: QT += rhi
Inherits: QRhiNativeHandles

Public Variables

void *commandBuffer
void *encoder

Detailed Description

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

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

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

Member Type Documentation

Property Documentation

Member Function Documentation

Member Variable Documentation

Related Non-Members

Macro Documentation