
Creates WebGPU bindings for web, desktop, and mobile, enabling cross-platform graphics development. Offers example executions and is progressing through API implementation and refinement phases.
This project focuses on creating a binding for WebGPU across Web, Desktop, and Mobile.
For a low-level library that supports Mobile and Desktop, check out wgpu4k-native.
git clone https://github.com/wgpu4k/wgpu4k.git
cd wgpu4k./gradlew examples:glfw:run
./gradlew examples:web-js:jsBrowserProductionRun
./gradlew examples:web-js:wasmJsBrowserProductionRun
./gradlew examples:native:runDebugExecutableNative
android subproject via Android Studio../gradlew examples:iOS:assembleWgpuAppXCFramework.iosApp subproject with XCode (compatible with a simulator or real device).Tip: Use
Page DownandPage Upon your keyboard to switch scenes while running examples.
Documentation is on its way!
For now:
| Target | Windows | Linux | MacOS | iOS | Android |
|---|---|---|---|---|---|
| JVM x64 | ✅ | 🆗 | 🆗 | ❌ | 🛠️ |
| JVM arm64 | 🔍️ | 🆗 | ✅ | ❌ | 🛠️ |
| JS | ✅ | 🆗 | ✅ | ❓ | ❓️ |
| wasm | 🆗️ | 🆗️ | 🆗️ | ❓️ | ❓️ |
| native x64 | 🛠️ | 🔍️ | 🛠️ | 🛠️ | ❌️️ |
| native arm64 | 🔍️ | 🔍️ | 🛠️ | 🛠️ | ❌️️ |
The native backend uses Firefox WebGPU. For more details, visit the GitHub page.
This project focuses on creating a binding for WebGPU across Web, Desktop, and Mobile.
For a low-level library that supports Mobile and Desktop, check out wgpu4k-native.
git clone https://github.com/wgpu4k/wgpu4k.git
cd wgpu4k./gradlew examples:glfw:run
./gradlew examples:web-js:jsBrowserProductionRun
./gradlew examples:web-js:wasmJsBrowserProductionRun
./gradlew examples:native:runDebugExecutableNative
android subproject via Android Studio../gradlew examples:iOS:assembleWgpuAppXCFramework.iosApp subproject with XCode (compatible with a simulator or real device).Tip: Use
Page DownandPage Upon your keyboard to switch scenes while running examples.
Documentation is on its way!
For now:
| Target | Windows | Linux | MacOS | iOS | Android |
|---|---|---|---|---|---|
| JVM x64 | ✅ | 🆗 | 🆗 | ❌ | 🛠️ |
| JVM arm64 | 🔍️ | 🆗 | ✅ | ❌ | 🛠️ |
| JS | ✅ | 🆗 | ✅ | ❓ | ❓️ |
| wasm | 🆗️ | 🆗️ | 🆗️ | ❓️ | ❓️ |
| native x64 | 🛠️ | 🔍️ | 🛠️ | 🛠️ | ❌️️ |
| native arm64 | 🔍️ | 🔍️ | 🛠️ | 🛠️ | ❌️️ |
The native backend uses Firefox WebGPU. For more details, visit the GitHub page.