@tresjs/post-processing
Version:
Post-processing library for TresJS
43 lines (42 loc) • 1.41 kB
TypeScript
import { BlendFunction, EdgeDetectionMode, PredicationMode, SMAAPreset, EffectPass, SMAAEffect } from 'postprocessing';
export declare const DEBUG_MODE: {
readonly OFF: 0;
readonly EDGES: 1;
readonly WEIGHTS: 2;
};
export interface SMAAPmndrsProps {
/**
* The blend function.
*/
blendFunction?: BlendFunction;
/**
* The opacity of the effect.
*/
opacity?: number;
/**
* The preset configuration for SMAA (Subpixel Morphological Antialiasing).
*/
preset?: SMAAPreset;
/**
* The mode used for edge detection.
*/
edgeDetectionMode?: EdgeDetectionMode;
/**
* The mode used for predication to improve edge detection.
*/
predicationMode?: PredicationMode;
/**
* The debug mode for visualizing the effect.
*
* OPTIONS:
* - 0: OFF
* - 1: EDGES
* - 2: WEIGHTS
*/
debug?: typeof DEBUG_MODE[keyof typeof DEBUG_MODE];
}
declare const _default: import('vue').DefineComponent<SMAAPmndrsProps, {
pass: import('vue').ShallowRef<EffectPass | null>;
effect: import('vue').ShallowRef<SMAAEffect | null>;
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<SMAAPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
export default _default;