Wrote a Metal backend for imgui on OS X. Very nicely designed API /cc @ocornut https://github.com/warrenm/imgui/blob/master/examples/metal_example/imguiex-osx/imgui_impl_mtl.mm …pic.twitter.com/mzX3f1jiRl
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
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.
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 …
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?
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,
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.
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.
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
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 …
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.