Replies: 3 comments
-
I think there are two compilation options (neither of which is officially support AFAIK):
Either way, we'd also need to compile CImGuiPack_jll to WASM. Which is probably doable, but I've no idea how to do it :P |
Beta Was this translation helpful? Give feedback.
-
I think it would be simpler to try a websocket approach, since it is just working with |
Beta Was this translation helpful? Give feedback.
-
Oh I think I see what you mean, send the drawdata over a websocket by wrapping |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There are several example apps in C++ that can be opened from browser:
Emscripten port of ImGui:
https://github.com/pthom/hello_imgui
https://pthom.github.io/hello_imgui/book/build.html#emscripten-instructions
Streaming DrawData structure over WebSockets:
https://github.com/ggerganov/imgui-ws
Beta Was this translation helpful? Give feedback.
All reactions