Skip to content

OpenGL bindings for React Native to implement complex effects over images and components, in the descriptive VDOM paradigm

Notifications You must be signed in to change notification settings

ptmt/gl-react-native

 
 

Repository files navigation

Gitbook documentation / Github / gl-react / #gl-react on reactiflux

icon 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

Gitbook

Installation

npm i --save gl-react-native

Configure your React Native Application

on iOS:

on Android:

  1. android/settings.gradle:: Add the following snippet
include ':RNGL'
project(':RNGL').projectDir = file('../node_modules/gl-react-native/android')
  1. android/app/build.gradle: Add in dependencies block.
compile project(':RNGL')
  1. in your MainActivity (or equivalent):
import com.projectseptember.RNGL.RNGLPackage;
...

mReactInstanceManager = ReactInstanceManager.builder()
    .setApplication(getApplication())
    ...
    .addPackage(new MainReactPackage())
    .addPackage(new RNGLPackage())
    ...
    .build();

About

OpenGL bindings for React Native to implement complex effects over images and components, in the descriptive VDOM paradigm

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 61.9%
  • Java 34.0%
  • JavaScript 4.1%