Class: Redirect

.brend~Redirect

Redirects are used to aggregate the resources needed by the WebGL pipeline to render a display-object. This includes the base primitives (geometry), uniforms, and textures (which are handled as "special" uniforms).

Members

glslIdentifer string

The shader variable that references the resource, e.g. attribute or uniform name.

source string | function

The property on the display-object that holds the resource.

Instead of a property, you can provide a callback that generates the resource on invokation.