Minimal project to show how to use wgpu4k
- Gradle 8.9
- JDK 22+
- A recent version of Chrome or Firefox Nightly for web browser execution. Check compatibility here.
- On desktop:
./gradlew runJvm
- On web js:
./gradlew jsRun
- On web wasm:
./gradlew wasmJsRun
- On native MacOs:
./gradlew runReleaseExecutableOsx
- On Android, run the subproject
android
with android studio - On iOS
./gradlew hello-cube:assembleWgpuAppXCFramework
to build the XC Framework, then you can run the subprojectiosApp
(on hello-cube folder) with XCode on a iOS simulator or real device.