mirror of
https://github.com/ocornut/imgui.git
synced 2026-01-29 03:00:05 +00:00
Backends, Examples: Added support for WebGPU and corresponding example (#3632)
(Squashed 11 commits)
This commit is contained in:
parent
6487860aae
commit
5853fbd68b
10 changed files with 1249 additions and 0 deletions
10
examples/example_emscripten_wgpu/README.md
Normal file
10
examples/example_emscripten_wgpu/README.md
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
# 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
|
||||
|
||||
- Depending on your configuration, in Windows you may need to run `emsdk/emsdk_env.bat` in your console to access the Emscripten command-line tools.
|
||||
|
||||
- Then build using `make` while in the `example_emscripten_wgpu/` directory.
|
||||
|
||||
- Requires Emscripten 2.0.10 (December 2020) due to GLFW adaptations
|
||||
Loading…
Add table
Add a link
Reference in a new issue