Get Metal drawing context in Qt 6

470 Views Asked by At

When using the Qt OpenGL back-end then it is possible to render custom OpenGL code during Qml scenegraph rendering using the QQuickWindow::beforeRenderPassRecording signal, as described in the Qt documentation: https://doc.qt.io/qt-5/qtquick-scenegraph-openglunderqml-example.html

Is a similar functionality available for the Apple Metal back-end? How can I use native Metal code in the scene graph?

0

There are 0 best solutions below