OptionalvertexSrc: stringThe source of the vertex shader.
OptionalfragmentSrc: stringThe source of the fragment shader.
Optionaluniforms: Dict<any>Custom uniforms to use to augment the built-in ones.
StaticdefaultStaticFILTER_Masking modes.
StaticfragmentThe fragment core code.
StaticfragmentMemory allocations and headers for the VisualEffectsMaskingFilter
StaticPOST_Filter post-process techniques.
StaticvertexThe 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.
OptionalpostProcessModes: string[] = []New modes to apply.
Optionaluniforms: object = {}Uniforms value to update.
StaticcreateStaticfragmentConstruct filter post-processing code according to provided value.
Post-process modes to construct techniques.
The constructed shader code for post-process techniques.
StaticfragmentSpecify the fragment shader to use according to mode
This filter handles masking and post-processing for visual effects.