3 ms·
> wasm html5 app That would seem a little anathema to a imgui library aiming to be native on multiple platforms and to have minimum dependencies.
by _aavaa_ 2y ago
> wasm html5 app
That would seem a little anathema to a imgui library aiming to be native on multiple platforms and to have minimum dependencies.
- dymk 2y agoA multi-platform, minimal dependency project such as this is a perfect fit for targeting wasm, which of course is "just" another platform (not sure what additional dependencies you think it would need?)
- joshcryer 2y agoImGUI generally runs on GLFW and there is even a port to html5: https://github.com/jnmaloney/WebGui https://github.com/jnmaloney/WebGui ImRAD appears to be based on GLFW as well so one would only have to follow a tutorial: https://uncovergame.com/2015/01/21/porting-a-complete-c-game-engine-to-html5-through-emscripten/ https://uncovergame.com/2015/01/21/porting-a-complete-c-game...
- jasonjmcghee 2y agoWebGL2 is a thing now so some of what that blog discusses isn't as bad anymore, in terms of shader support. Mind blowingly, webgl + Mac + integer textures still don't work afaik.
- dsp_person 2y agoit's easy nowadays to compile imgui apps to wasm/html5 examples: https://web.imhex.werwolv.net https://web.imhex.werwolv.net https://floooh.github.io/sokol-html5/imgui-sapp.html https://floooh.github.io/sokol-html5/imgui-sapp.html