Redirect
class 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).
Summary
Properties from Redirect
string |
The shader variable that references the resource, e.g. attribute or uniform name. |
string | ((displayObject: PIXI.DisplayObject, renderer: BatchRenderer) => any) |
The property on the display-object that holds the resource. |
Public Properties
glslIdentifer: string
The shader variable that references the resource, e.g. attribute or uniform name.
source: string | ((displayObject: PIXI.DisplayObject, renderer: BatchRenderer) => any)
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.