o
odinpkg.dev
packages / library / odin-wgpu-clay

odin-wgpu-clay

75bf618library

No description provided.

No license · updated 1 year ago

WGPU / Clay UI demo project

I use Taskfile and it's integration with VSCode to build the project. With taskfile installed and added to your path, open the folder in VSCode and hit F5 to run. This will build and run the wgpu project with glfw as the window handler. You can directly build the project by typing task build-debug in the command line or clicking the integrated task runner in VSCode. Requires the Task extension.

Taskfile selection

To run the wasm build, run task web and serve the build/web directory. I find the Live Server extension easiest to use when using VSCode, otherwise python -m http.server --directory.


If you don't use VSCode/Taskfile, you can use the two batch files to build the glfw and web applications.