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).

See: AttributeRedirect

Summary


Properties from Redirect

string
glslIdentifer

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

string | ((displayObject: PIXI.DisplayObject, renderer: BatchRenderer) => any)
source

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

Public Properties


glslIdentifer Redirect.ts:21
glslIdentifer: string

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

source Redirect.ts:13
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.


Powered by webdoc!