Logo
Explore Help
Sign In
Drezil/imgui
1
0
Fork 0
You've already forked imgui
mirror of https://github.com/Drezil/imgui.git synced 2025-05-11 20:14:00 +00:00
Code Issues Packages Projects Releases Wiki Activity
imgui/examples/example_emscripten
History
omar eeea7da3d0 Examples: Emscripten: Fixed error in shell template. (#2494)
2019-04-15 01:46:34 +02:00
..
main.cpp
Examples: Emscripten: Switched to WebGL1/ES2, Added Changelog, Updated links, Added ignore list, Fixed warning with older versions. Removed reliance on C++11 (would warn on some compiler). Improved html template, removed undesirable options, reduced log size. Tweaked main.cpp. (#2494)
2019-04-15 01:28:44 +02:00
Makefile
Examples: Emscripten: Switched to WebGL1/ES2, Added Changelog, Updated links, Added ignore list, Fixed warning with older versions. Removed reliance on C++11 (would warn on some compiler). Improved html template, removed undesirable options, reduced log size. Tweaked main.cpp. (#2494)
2019-04-15 01:28:44 +02:00
README.md
Adding standalone Emscripten example.
2019-04-13 22:39:42 +02:00
shell_minimal.html
Examples: Emscripten: Fixed error in shell template. (#2494)
2019-04-15 01:46:34 +02:00

README.md

How to Build

  • You need to install Emscripten from https://emscripten.org/docs/getting_started/downloads.html, and have the environment variables set, as described in https://emscripten.org/docs/getting_started/downloads.html#installation-instructions
em++ -I.. -I../.. main.cpp ../imgui_impl_sdl.cpp ../imgui_impl_opengl3.cpp ../../imgui*.cpp -s USE_SDL=2 -s USE_WEBGL2=1 -s WASM=1 -s FULL_ES3=1 -s ALLOW_MEMORY_GROWTH=1 -s BINARYEN_TRAP_MODE=clamp --shell-file shell_minimal.html -o example-emscripten.html
Powered by Gitea Version: 1.23.6 Page: 11ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API