React Native WebGPU

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.

Running the examples

You can find instructions to run the examples here.

Manually building wgpu dependencies

Looking to build the examples? You don't need to manually build the dependencies for that. See react-native-webgpu for instructions instead.

git submodule update --init --recursive
  • Build libraries and copy
./scripts/build-android.sh
./scripts/build-ios.sh
  • Copy headers
./scripts/copy-headers.sh