Thanks!
-
-
Oh! I had completely missed out on the original link. At it happens, I have refactored the imgui examples/binding system recently to isolate the rendering from the inputs/windowing, and a Metal renderer for imgui would be super useful!
1 reply 0 retweets 1 like -
Awesome, it’s been a while since I looked at this, but it would be nice to write a Metal renderer in the new style. I’ll try to do that this week.
1 reply 0 retweets 3 likes -
I lost the source for the original port, but I made really good progress today on a new Metal backend and sample. Will keep you in the loop.
3 replies 0 retweets 1 like -
Thank you, much appreciated! There's an OSX branch with a imgui_impl_osx.mm that implements the OSX side of things maybe useful to look at (ideally imgui_impl_osx.mm would combine with Metal/GL/Vulkan bindings) and some infohttps://github.com/ocornut/imgui/issues/1873 …
2 replies 0 retweets 0 likes -
But realistically anything OSX is stagnant at the moment, I don't know if that imgui_impl_osx.mm design goes in the right direction?
1 reply 0 retweets 0 likes -
Something to be mindful that may alter your Metal design is: in 'viewport' branch, the _binding_ code are able to create windows & rendering contexts. So hypothetical imgui_impl_metal in 'master' would handle 1 user-created Metal context, in 'viewport' branch can create more,
1 reply 0 retweets 0 likes -
How it affected the Vulkan backend is simply that some of the helper/cruft required to setup the context instead of being in main.cpp (example code) are provided as helpers in the binding code so main.cpp can use them and binding also uses them to create secondary windows.
1 reply 0 retweets 0 likes -
I would advise glancing then ignoring 'viewport' branch for now, because it really makes things a little more complicated, and having a working Metal renderer in 'master' would be immediately and readily useful as a first step.
1 reply 0 retweets 0 likes -
Here’s a look at my Metal renderer’s progress. Will support iOS and macOS with the same source soon. https://github.com/warrenm/imgui/blob/metal/examples/imgui_impl_metal.mm …pic.twitter.com/myOMT4eEGl
3 replies 2 retweets 28 likes
Warren Moore Retweeted Warren Moore
Since my original ImGui Metal renderer is no longer online, I decided to start writing a new one. Unsurprisingly, it was easier this time
https://twitter.com/warrenm/status/1013809490464931846 …
Warren Moore added,
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.