mirror of
https://github.com/expo/gl-react-native.git
synced 2026-11-15 17:34:35 -10:00
v2.21.0
Gitbook documentation / Github / gl-react / #gl-react on reactiflux
gl-react-native

OpenGL bindings for React Native to implement complex effects over images and components, in the descriptive VDOM paradigm.
gl-react-native is an implementation of gl-react for react-native. Please read the main gl-react README for more information.
Documentation
Installation
npm i --save gl-react-native
Configure your React Native Application
on iOS:
or if you use Cocapods:
pod 'RNGL', :path => './node_modules/gl-react-native'
on Android:
android/settings.gradle:: Add the following snippet
include ':RNGL'
project(':RNGL').projectDir = file('../node_modules/gl-react-native/android')
android/app/build.gradle: Add in dependencies block.
compile project(':RNGL')
- in your
MainActivity(or equivalent):
import com.projectseptember.RNGL.RNGLPackage;
...
mReactInstanceManager = ReactInstanceManager.builder()
.setApplication(getApplication())
...
.addPackage(new MainReactPackage())
.addPackage(new RNGLPackage())
...
.build();
Description
OpenGL bindings for React Native to implement complex effects over images and components, in the descriptive VDOM paradigm
64 MiB
0 Stars
1 Watchers
0 Forks
Languages
Java
35.2%
Objective-C
34.6%
JavaScript
30%
Ruby
0.2%


