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
defaultStatic
FILTER_Masking modes.
Static
fragmentThe fragment core code.
Static
fragmentMemory allocations and headers for the VisualEffectsMaskingFilter
Static
POST_Filter post-process techniques.
Static
vertexThe default vertex shader used by all instances of AbstractBaseMaskFilter
Remove all post-processing modes and reset some key uniforms.
Update the filter shader with new post-process modes.
Optional
postProcessModes: string[] = []New modes to apply.
Optional
uniforms: object = {}Uniforms value to update.
Static
createStatic
fragmentConstruct filter post-processing code according to provided value.
Post-process modes to construct techniques.
The constructed shader code for post-process techniques.
Static
fragmentSpecify the fragment shader to use according to mode
This filter handles masking and post-processing for visual effects.