README.md 489 Bytes
Newer Older
1
# The API
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

```js
var GL = require("gl-react-native");
```

## [GL.Shaders.create](Shaders.create.md)

`GL.Shaders.create(spec)` allows to create shaders that can be used later in GL.View component.

## [GL.View](View.md)

`GL.View` is a React Component that renders a given shader with uniforms (parameters to send to the shader).

## [GL.Target](Target.md)

*(advanced)* `GL.Target` allows to render a shader with any content (any React Native component rasterized as a uniform texture).