isBackbuffer = (obj: *) => {
  if (obj === "Backbuffer") {
    console.warn(
      'Backbuffer is deprecated, use Uniform.Backbuffer instead: `import {Uniform} from "gl-react"`'
    );
    return true;
  }
  return obj === Uniform.Backbuffer;
}
Uniforms is an map object from uniform name to a value.

**The library support numerous uniform types via different formats.
Let's describe them:**

### int or float

a JavaScript number

### bool

a JavaScript Boolean

### int[], float[], bool[] arrays

an array of the number (0/1 for bool can be used as well as bools)

### vec2, vec3, vec4

an array of number, of size respectively 2, 3 and 4.

> same is available for ivec* variants.

### mat2, mat3, mat4

Similarly to vectorial types, you can pass an array of numbers.
For matrix, you actually define them in a flatten way (not arrays of arrays).

### sampler2D type (aka texture)

The library support numerous and extensible uniform value format.

**FIXME: to be documented.**

### struct types

Consider it unsupported even though it *might* work since gl-react is based on `gl-shader`.