mirror of
https://github.com/gre/gl-react.git
synced 2026-01-25 16:43:36 +00:00
1.1 KiB
Executable File
1.1 KiB
Executable File
gl-react API documentation
gl-react is a React library to write and compose WebGL shaders.
This universal library must be coupled with one of the concrete implementations:
gl-react-domfor React DOM (web using WebGL).gl-react-expofor React Native via Expo WebGL implementation.gl-react-native, for React Native (standalone library, iOS/Android via OpenGL).gl-react-headlessfor Node.js (used for testing for now)
<Surface width={300} height={200}>
<Node shader={shaders.helloGL} />
</Surface>
