Optional
vertexSrc: stringThe source of the vertex shader.
Optional
fragmentSrc: stringThe source of the fragment shader.
Optional
uniforms: Dict<any>Custom uniforms to use to augment the built-in ones.
Static
defaultThe default uniforms used by the filter
Static
fragmentThe fragment shader which renders this filter.
Static
vertexThe vertex shader which renders this filter.
Sampler target for this filter.
The transition type (see TextureTransitionFilter.TYPES).
Static
TYPESTransition types for this shader.
Static
animateAnimate a transition from a subject SpriteMesh/PIXI.Sprite to a given texture.
The source mesh/sprite to apply a transition.
The target texture.
Optional
options: {Optional
duration?: numberThe animation duration
Optional
easing?: string | FunctionThe easing function of the animation
Optional
name?: string | symbolThe name of the foundry.canvas.animation.CanvasAnimation.
Optional
type?: stringThe transition type (default to FADE.)
A Promise which resolves to true once the animation has concluded or false if the animation was prematurely terminated
Static
createA factory method for creating the filter using its defined default values.
Optional
initialUniforms: object = {}Initial uniform values which override filter defaults
The constructed AbstractFilter instance.
A filter specialized for transition effects between a source object and a target texture.