File tree Expand file tree Collapse file tree 1 file changed +24
-1
lines changed
Expand file tree Collapse file tree 1 file changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,35 @@ import { useTresContext } from '@tresjs/core'
88import { effectComposerInjectionKey } from ' ./EffectComposerPmndrs.vue'
99
1010export interface SMAAPmndrsProps {
11+ /**
12+ * The blend function.
13+ */
1114 blendFunction? : BlendFunction
15+ /**
16+ * The opacity of the effect.
17+ */
1218 opacity? : number
19+ /**
20+ * The preset configuration for SMAA (Subpixel Morphological Antialiasing).
21+ */
1322 preset? : SMAAPreset
23+ /**
24+ * The mode used for edge detection.
25+ */
1426 edgeDetectionMode? : EdgeDetectionMode
27+ /**
28+ * The mode used for predication to improve edge detection.
29+ */
1530 predicationMode? : PredicationMode
16- debug? : number // 0: OFF, 1: EDGES, 2: WEIGHTS
31+ /**
32+ * The debug mode for visualizing the effect.
33+ *
34+ * OPTIONS:
35+ * - 0: OFF
36+ * - 1: EDGES
37+ * - 2: WEIGHTS
38+ */
39+ debug? : number
1740}
1841
1942const props = defineProps <SMAAPmndrsProps >()
You can’t perform that action at this time.
0 commit comments