vsg-dev / vsgQt

Qt integration with VulkanSceneGraph
MIT License
40 stars 14 forks source link

[Feature Request] Support for Qml integration #20

Open TheHugeManatee opened 1 year ago

TheHugeManatee commented 1 year ago

I'm curious how hard it would be to provide support for rendering with vsg inside of a qml context.

The Vulkan under QML example seems relatively straighforward: The Qt API already provides a QQuickWindow::beforeRendering and QQuickWindow::beforeRenderPassRecording signals (and corresponding after... signals) as integration points for recording and executing the command buffers.

Are there plans to support this at some point? If there are no concrete plans, do you see major roadblocks in general for such an integration?

robertosfield commented 1 year ago

I don't have any expertise with QML, and on basic with Qt, so personally I have no plans for QML support. I don't know how hard to easy it might be, or whether it might need mods to vsgQt. I'll have to defer members of the community that use Qt regularly on how easy this might be. This is open source so if you find yourself the only one presently interested in it then you may need to roll your selves up and have a bash at implementing it, and submitting a PR for it,

The VSG Discussion forum might be the best place to start up a conversation with others in the community about possible QML support:

https://github.com/vsg-dev/VulkanSceneGraph/discussions