interface ShaderEffectOptions {
    methods?: Record<string, string>;
    onColorize?: string | ((value: Record<string, unknown>) => string);
    onEffectMask?: string | ((value: Record<string, unknown>) => string);
    onShaderMask?: string | ((value: Record<string, unknown>) => string);
    props?: Record<string, unknown>;
    ref: string;
    target: string;
    uniforms?: ShaderEffectUniforms;
}

Properties

methods?: Record<string, string>
onColorize?: string | ((value: Record<string, unknown>) => string)
onEffectMask?: string | ((value: Record<string, unknown>) => string)
onShaderMask?: string | ((value: Record<string, unknown>) => string)
props?: Record<string, unknown>
ref: string
target: string