Package Exports
- expo-gl-cpp
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (expo-gl-cpp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
expo-gl-cpp
C++ bindings for WebGL 2.0 used in Expo GL module
API documentation
Installation
This package is pre-installed in managed Expo projects. You may skip the rest of the installation guide if this applies to you.
For bare React Native projects, you must ensure that you have installed and configured the @unimodules/core
package before continuing.
Add the package to your npm dependencies
Note: this should be used in conjunction with expo-gl.
npm install expo-gl-cpp
Configure for iOS
Add the dependency to your Podfile
and then run pod install
.
pod 'EXGL-CPP', path: '../node_modules/expo-gl-cpp/cpp'
Configure for Android
- Append the following lines to
android/settings.gradle
:
include ':expo-gl-cpp'
project(':expo-gl-cpp').projectDir = new File(rootProject.projectDir, '../node_modules/expo-gl-cpp/android')
- Insert the following lines inside the dependencies block in
android/app/build.gradle
:
api project(':expo-gl-cpp')
Contributing
Contributions are very welcome! Please refer to guidelines described in the contributing guide.