@tresjs/post-processing
Version:
Post-processing library for TresJS
28 lines (27 loc) • 1.1 kB
TypeScript
import { ChromaticAberrationEffect, BlendFunction } from 'postprocessing';
import { Vector2 } from 'three';
export interface ChromaticAberrationPmndrsProps {
/**
* The blend function.
*/
blendFunction?: BlendFunction;
/**
* The color offset.
*/
offset?: Vector2;
/**
* Whether the effect should be modulated with a radial gradient.
*/
radialModulation?: boolean;
/**
* The modulation offset, applicable if radial modulation is enabled.
*/
modulationOffset?: number;
}
declare const _default: import('vue').DefineComponent<ChromaticAberrationPmndrsProps, {
pass: import('vue').ShallowRef<import('postprocessing').EffectPass | null>;
effect: import('vue').ShallowRef<ChromaticAberrationEffect | null>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ChromaticAberrationPmndrsProps> & Readonly<{}>, {
radialModulation: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;