Private
#requireIf this filter requires padding (according to type)
Static
defaultThe default uniforms used by the filter
Static
vertexThe vertex shader which renders this filter.
Static
fragmentThe fragment shader which renders this filter.
Static
Private
#TYPE_Maps the type number to its string.
Static
Private
#TYPE_Maps the type string to its number.
Static
Private
#PADDED_Types that requires padding
The transition type (see TextureTransitionFilter.TYPES).
TextureTransitionFilter.TYPES.FADE
Sampler target for this filter.
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: { The transition type (default to FADE.)
The name of the CanvasAnimation.
The animation duration
The easing function of the animation
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.