gl-react/packages/gl-react-native
Gaëtan Renaudeau c8d8544347
v3.17.2
2019-08-15 15:21:02 +08:00
..
2017-02-28 22:11:40 +01:00
2019-08-15 15:21:02 +08:00
2017-10-06 14:13:19 +02:00

icon gl-react-native

gl-react-native is the React Native implementation of gl-react. It is backed by react-native-webgl which implements WebGL in React Native (If you are using Expo, it is recommended to use gl-react-expo instead).

Install

To use this library, you will need install gl-react and gl-react-native which are pure JS libraries. For the native WebGL implementation, you also need to install react-native-webgl, please refer to the README / Install.

To summarize:

yarn add gl-react@next gl-react-native@next react-native-webgl

and then, don't forget to see how to configure react-native-webgl.