Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QRhiMetalCommandBufferNativeHandles Class Reference

\variable QRhiMetalNativeHandles::dev More...

+ Collaboration diagram for QRhiMetalCommandBufferNativeHandles:

Detailed Description

\variable QRhiMetalNativeHandles::dev

Set to a valid MTLDevice to import an existing device.

\variable QRhiMetalNativeHandles::cmdQueue

Set to a valid MTLCommandQueue when importing an existing command queue. When \nullptr, QRhi will create a new command queue.

\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: