Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QRhiMetalCommandBufferNativeHandles Class Reference

\variable QRhiMetalNativeHandles::dev More...

+ Collaboration diagram for QRhiMetalCommandBufferNativeHandles:

Detailed Description

\variable QRhiMetalNativeHandles::dev

\variable QRhiMetalNativeHandles::cmdQueue

\inmodule QtRhi

Since
6.6

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 \l{QRhi::beginFrame()}{beginFrame()}
The command encoder is only valid while recording a pass, that is, between \l{QRhiCommandBuffer::beginPass()} - \l{QRhiCommandBuffer::endPass()}.
This is a RHI API with limited compatibility guarantees, see \l QRhi for details.

The documentation for this class was generated from the following file: