Coming soon. A WebGPU port for react native which aims to provide direct access to Metal and Vulkan for iOS and Android, and support for libraries like Three.js.
Check the subpackages for instructions:
Direct access to the low-level graphics api WebGPU in React Native.
A small helper library to enable Three.js projects on React Native.
You can find instructions to run the examples here.
Looking to build the examples? You don't need to manually build the dependencies for that. See react-native-webgpu for instructions instead.
- Install Rust
- Install submodules
git submodule update --init --recursive
- Build libraries and copy
./scripts/build-android.sh
./scripts/build-ios.sh
- Copy headers
./scripts/copy-headers.sh