@tresjs/post-processing 3.0.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +1 -1
  2. package/dist/tres-post-processing.d.ts +1226 -2
  3. package/dist/tres-post-processing.js +2432 -3380
  4. package/package.json +17 -17
  5. package/dist/core/pmndrs/ASCIIPmndrs.vue.d.ts +0 -40
  6. package/dist/core/pmndrs/BarrelBlurPmndrs.vue.d.ts +0 -26
  7. package/dist/core/pmndrs/BloomPmndrs.vue.d.ts +0 -61
  8. package/dist/core/pmndrs/BrightnessContrastPmndrs.vue.d.ts +0 -20
  9. package/dist/core/pmndrs/ChromaticAberrationPmndrs.vue.d.ts +0 -27
  10. package/dist/core/pmndrs/ColorAveragePmndrs.vue.d.ts +0 -16
  11. package/dist/core/pmndrs/ColorDepthPmndrs.vue.d.ts +0 -20
  12. package/dist/core/pmndrs/DepthOfFieldPmndrs.vue.d.ts +0 -35
  13. package/dist/core/pmndrs/DepthPickingPassPmndrs.vue.d.ts +0 -18
  14. package/dist/core/pmndrs/DotScreenPmndrs.vue.d.ts +0 -22
  15. package/dist/core/pmndrs/EffectComposerPmndrs.vue.d.ts +0 -36
  16. package/dist/core/pmndrs/FXAAPmndrs.vue.d.ts +0 -32
  17. package/dist/core/pmndrs/FishEyePmndrs.vue.d.ts +0 -30
  18. package/dist/core/pmndrs/GlitchPmndrs.vue.d.ts +0 -51
  19. package/dist/core/pmndrs/GodRaysPmndrs.vue.d.ts +0 -65
  20. package/dist/core/pmndrs/GridPmndrs.vue.d.ts +0 -20
  21. package/dist/core/pmndrs/HueSaturationPmndrs.vue.d.ts +0 -22
  22. package/dist/core/pmndrs/KuwaharaPmndrs.vue.d.ts +0 -27
  23. package/dist/core/pmndrs/LensDistortionPmndrs.vue.d.ts +0 -25
  24. package/dist/core/pmndrs/LinocutPmndrs.vue.d.ts +0 -15
  25. package/dist/core/pmndrs/NoisePmndrs.vue.d.ts +0 -15
  26. package/dist/core/pmndrs/OutlinePmndrs.vue.d.ts +0 -43
  27. package/dist/core/pmndrs/PixelationPmndrs.vue.d.ts +0 -12
  28. package/dist/core/pmndrs/SMAAPmndrs.vue.d.ts +0 -42
  29. package/dist/core/pmndrs/ScanlinePmndrs.vue.d.ts +0 -24
  30. package/dist/core/pmndrs/SepiaPmndrs.vue.d.ts +0 -16
  31. package/dist/core/pmndrs/ShockWavePmndrs.vue.d.ts +0 -29
  32. package/dist/core/pmndrs/TexturePmndrs.vue.d.ts +0 -21
  33. package/dist/core/pmndrs/TiltShiftPmndrs.vue.d.ts +0 -49
  34. package/dist/core/pmndrs/ToneMappingPmndrs.vue.d.ts +0 -36
  35. package/dist/core/pmndrs/VignettePmndrs.vue.d.ts +0 -15
  36. package/dist/core/pmndrs/composables/useEffectPmndrs.d.ts +0 -11
  37. package/dist/core/pmndrs/custom/barrel-blur/index.d.ts +0 -36
  38. package/dist/core/pmndrs/custom/fish-eye/index.d.ts +0 -44
  39. package/dist/core/pmndrs/custom/kuwahara/index.d.ts +0 -31
  40. package/dist/core/pmndrs/custom/linocut/index.d.ts +0 -27
  41. package/dist/core/pmndrs/index.d.ts +0 -33
  42. package/dist/core/three/EffectComposer.vue.d.ts +0 -20
  43. package/dist/core/three/Glitch.vue.d.ts +0 -15
  44. package/dist/core/three/Halftone.vue.d.ts +0 -23
  45. package/dist/core/three/Output.vue.d.ts +0 -5
  46. package/dist/core/three/Pixelation.vue.d.ts +0 -10
  47. package/dist/core/three/SMAA.vue.d.ts +0 -9
  48. package/dist/core/three/UnrealBloom.vue.d.ts +0 -14
  49. package/dist/core/three/composables/useEffect.d.ts +0 -10
  50. package/dist/core/three/index.d.ts +0 -9
  51. package/dist/index.d.ts +0 -2
  52. package/dist/tres-post-processing.umd.cjs +0 -1231
  53. package/dist/util/object.d.ts +0 -55
  54. package/dist/util/prop.d.ts +0 -40
@@ -1,2 +1,1226 @@
1
- export * from './index'
2
- export {}
1
+ /**
2
+ * name: @tresjs/post-processing
3
+ * version: v3.1.1
4
+ * (c) 2025
5
+ * description: Post-processing library for TresJS
6
+ * author: Alvaro Saburido <hola@alvarosaburido.dev> (https://github.com/alvarosabu/)
7
+ */
8
+ import * as vue47 from "vue";
9
+ import { Reactive, ShallowRef } from "vue";
10
+ import * as postprocessing0 from "postprocessing";
11
+ import { ASCIIEffect, ASCIITexture, BlendFunction, BloomEffect, BrightnessContrastEffect, ChromaticAberrationEffect, ColorAverageEffect, ColorDepthEffect, DepthCopyMode, DepthOfFieldEffect, DepthPickingPass, DotScreenEffect, EdgeDetectionMode, Effect, EffectComposer, EffectPass, FXAAEffect, GlitchEffect, GlitchMode, GodRaysEffect, GridEffect, HueSaturationEffect, KernelSize, LensDistortionEffect, NoiseEffect, OutlineEffect, PixelationEffect, PredicationMode, SMAAEffect, SMAAPreset, ScanlineEffect, SepiaEffect, ShockWaveEffect, TextureEffect, TiltShiftEffect, ToneMappingEffect, ToneMappingMode, VignetteEffect, VignetteTechnique } from "postprocessing";
12
+ import { TresColor } from "@tresjs/core";
13
+ import { Color, DepthPackingStrategies, Mesh, Object3D, Points, Texture, Vector2, Vector3 } from "three";
14
+ import { EffectComposer as EffectComposer$1 } from "three/examples/jsm/postprocessing/EffectComposer.js";
15
+ import { GlitchPass } from "three/examples/jsm/postprocessing/GlitchPass.js";
16
+ import { HalftonePass } from "three/examples/jsm/postprocessing/HalftonePass.js";
17
+ import { RenderPixelatedPass } from "three/examples/jsm/postprocessing/RenderPixelatedPass.js";
18
+ import { OutputPass } from "three/examples/jsm/postprocessing/OutputPass.js";
19
+ import { SMAAPass } from "three/examples/jsm/postprocessing/SMAAPass.js";
20
+ import { UnrealBloomPass } from "three/examples/jsm/postprocessing/UnrealBloomPass.js";
21
+ import { Pass } from "three/examples/jsm/postprocessing/Pass.js";
22
+ import { Blending } from "three/src/constants.js";
23
+
24
+ //#region src/core/pmndrs/BloomPmndrs.vue.d.ts
25
+ interface BloomPmndrsProps {
26
+ /**
27
+ * The blend function of this effect.
28
+ * @default BlendFunction.SCREEN
29
+ * @type {BlendFunction}
30
+ * @memberof BloomPmndrsProps
31
+ */
32
+ blendFunction?: BlendFunction;
33
+ /**
34
+ * The intensity of the bloom effect.
35
+ *
36
+ * @default 1
37
+ * @type {number}
38
+ * @memberof BloomProps
39
+ */
40
+ intensity?: number;
41
+ /**
42
+ * The kernel size.
43
+ *
44
+ * @default KernelSize.LARGE
45
+ *
46
+ * @type {KernelSize}
47
+ * @memberof BloomPmndrsProps
48
+ */
49
+ kernelSize?: KernelSize;
50
+ /**
51
+ * The luminance threshold. Raise this value to mask out darker elements in the scene. Range is [0, 1].
52
+ *
53
+ * @default 0.9
54
+ *
55
+ * @type {number}
56
+ * @memberof BloomPmndrsProps
57
+ */
58
+ luminanceThreshold?: number;
59
+ /**
60
+ * Controls the smoothness of the luminance threshold. Range is [0, 1].
61
+ *
62
+ * @default 0.025
63
+ *
64
+ * @type {number}
65
+ * @memberof BloomPmndrsProps
66
+ */
67
+ luminanceSmoothing?: number;
68
+ /**
69
+ * Enables mip map blur.
70
+ *
71
+ * @default false
72
+ *
73
+ * @type {boolean}
74
+ * @memberof BloomPmndrsProps
75
+ */
76
+ mipmapBlur?: boolean;
77
+ }
78
+ declare const __VLS_export$37: vue47.DefineComponent<BloomPmndrsProps, {
79
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
80
+ effect: vue47.ShallowRef<BloomEffect | null>;
81
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<BloomPmndrsProps> & Readonly<{}>, {
82
+ mipmapBlur: boolean;
83
+ }, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
84
+ declare const _default$2: typeof __VLS_export$37;
85
+ //#endregion
86
+ //#region src/core/pmndrs/composables/useEffectPmndrs.d.ts
87
+ /**
88
+ * @param newEffectFunction - A function that returns a new effect instance.
89
+ * @param passDependencies - A reactive object that the pass depends on (usually props). Changes to this object will trigger re-rendering.
90
+ * @param dependencyFieldsTriggeringRecreation - fields in passDependencies that require effect recreation when changed
91
+ */
92
+ declare const useEffectPmndrs: <T extends Effect, D extends Record<PropertyKey, any>>(newEffectFunction: () => T, passDependencies: Reactive<D>, dependencyFieldsTriggeringRecreation?: (keyof D)[]) => {
93
+ pass: ShallowRef<EffectPass | null>;
94
+ effect: ShallowRef<T | null>;
95
+ };
96
+ //#endregion
97
+ //#region src/core/pmndrs/DepthOfFieldPmndrs.vue.d.ts
98
+ interface DepthOfFieldPmndrsProps {
99
+ /**
100
+ * The blend function of this effect.
101
+ */
102
+ blendFunction?: BlendFunction;
103
+ /**
104
+ * The focus distance in world units.
105
+ */
106
+ worldFocusDistance?: number;
107
+ /**
108
+ * The focus range in world units.
109
+ */
110
+ worldFocusRange?: number;
111
+ /**
112
+ * The normalized focus distance. Range is [0.0, 1.0].
113
+ */
114
+ focusDistance?: number;
115
+ /**
116
+ * The focus range. Range is [0.0, 1.0].
117
+ */
118
+ focusRange?: number;
119
+ /**
120
+ * The scale of the bokeh blur.
121
+ */
122
+ bokehScale?: number;
123
+ resolutionScale?: number;
124
+ resolutionX?: number;
125
+ resolutionY?: number;
126
+ }
127
+ declare const __VLS_export$36: vue47.DefineComponent<DepthOfFieldPmndrsProps, {
128
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
129
+ effect: vue47.ShallowRef<DepthOfFieldEffect | null>;
130
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<DepthOfFieldPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
131
+ declare const _default$7: typeof __VLS_export$36;
132
+ //#endregion
133
+ //#region src/core/pmndrs/EffectComposerPmndrs.vue.d.ts
134
+ interface EffectComposerPmndrsProps {
135
+ enabled?: boolean;
136
+ depthBuffer?: boolean;
137
+ disableNormalPass?: boolean;
138
+ stencilBuffer?: boolean;
139
+ resolutionScale?: number;
140
+ autoClear?: boolean;
141
+ multisampling?: number;
142
+ frameBufferType?: number;
143
+ }
144
+ declare const __VLS_export$35: __VLS_WithSlots$1<vue47.DefineComponent<EffectComposerPmndrsProps, {
145
+ composer: ShallowRef<EffectComposer | null>;
146
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {
147
+ render: (...args: any[]) => void;
148
+ }, string, vue47.PublicProps, Readonly<EffectComposerPmndrsProps> & Readonly<{
149
+ onRender?: ((...args: any[]) => any) | undefined;
150
+ }>, {
151
+ enabled: boolean;
152
+ depthBuffer: boolean;
153
+ disableNormalPass: boolean;
154
+ stencilBuffer: boolean;
155
+ autoClear: boolean;
156
+ multisampling: number;
157
+ frameBufferType: number;
158
+ }, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>, {
159
+ default?: (props: {}) => any;
160
+ }>;
161
+ declare const _default$11: typeof __VLS_export$35;
162
+ type __VLS_WithSlots$1<T, S> = T & {
163
+ new (): {
164
+ $slots: S;
165
+ };
166
+ };
167
+ //#endregion
168
+ //#region src/core/pmndrs/GlitchPmndrs.vue.d.ts
169
+ interface GlitchPmndrsProps {
170
+ blendFunction?: BlendFunction;
171
+ /**
172
+ * The minimum and maximum delay between glitch activations in seconds.
173
+ */
174
+ delay?: Vector2;
175
+ /**
176
+ * The minimum and maximum duration of a glitch in seconds.
177
+ */
178
+ duration?: Vector2;
179
+ /**
180
+ * The strength of weak and strong glitches.
181
+ */
182
+ strength?: Vector2;
183
+ /**
184
+ * The glitch mode. Can be DISABLED | SPORADIC | CONSTANT_MILD | CONSTANT_WILD.
185
+ */
186
+ mode?: GlitchMode;
187
+ /**
188
+ * Turn the effect on and off.
189
+ */
190
+ active?: boolean;
191
+ /**
192
+ *
193
+ * The threshold for strong glitches.
194
+ */
195
+ ratio?: number;
196
+ /**
197
+ * The scale of the blocky glitch columns.
198
+ */
199
+ columns?: number;
200
+ /**
201
+ * A chromatic aberration offset. If provided, the glitch effect will influence this offset.
202
+ */
203
+ chromaticAberrationOffset?: Vector2;
204
+ /**
205
+ * A perturbation map. If none is provided, a noise texture will be created.
206
+ */
207
+ perturbationMap?: Texture;
208
+ /**
209
+ * The size of the generated noise map. Will be ignored if a perturbation map is provided.
210
+ */
211
+ dtSize?: number;
212
+ }
213
+ declare const __VLS_export$34: vue47.DefineComponent<GlitchPmndrsProps, {
214
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
215
+ effect: vue47.ShallowRef<GlitchEffect | null>;
216
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<GlitchPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
217
+ declare const _default$15: typeof __VLS_export$34;
218
+ //#endregion
219
+ //#region src/core/pmndrs/NoisePmndrs.vue.d.ts
220
+ interface NoisePmndrsProps {
221
+ /**
222
+ * Whether the noise should be multiplied with the input color.
223
+ */
224
+ premultiply?: boolean;
225
+ blendFunction?: BlendFunction;
226
+ }
227
+ declare const __VLS_export$33: vue47.DefineComponent<NoisePmndrsProps, {
228
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
229
+ effect: vue47.ShallowRef<NoiseEffect | null>;
230
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<NoisePmndrsProps> & Readonly<{}>, {
231
+ premultiply: boolean;
232
+ }, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
233
+ declare const _default$23: typeof __VLS_export$33;
234
+ //#endregion
235
+ //#region src/core/pmndrs/OutlinePmndrs.vue.d.ts
236
+ interface OutlinePmndrsProps {
237
+ /**
238
+ * The objects in the scene which should have an outline.
239
+ */
240
+ outlinedObjects: Object3D[];
241
+ blur?: boolean;
242
+ /**
243
+ * Whether occluded parts of selected objects should be visible
244
+ */
245
+ xRay?: boolean;
246
+ /**
247
+ * The blur kernel size. Must be used with blur being true.
248
+ */
249
+ kernelSize?: KernelSize;
250
+ /**
251
+ * The pulse speed. A value of zero disables the pulse effect.
252
+ */
253
+ pulseSpeed?: number;
254
+ resolutionX?: number;
255
+ resolutionY?: number;
256
+ edgeStrength?: number;
257
+ patternScale?: number;
258
+ /**
259
+ * The number of samples used for multisample antialiasing. Requires WebGL 2.
260
+ */
261
+ multisampling?: number;
262
+ blendFunction?: BlendFunction;
263
+ patternTexture?: Texture;
264
+ resolutionScale?: number;
265
+ hiddenEdgeColor?: TresColor;
266
+ visibleEdgeColor?: TresColor;
267
+ }
268
+ declare const __VLS_export$32: vue47.DefineComponent<OutlinePmndrsProps, {
269
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
270
+ effect: vue47.ShallowRef<OutlineEffect | null>;
271
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<OutlinePmndrsProps> & Readonly<{}>, {
272
+ blur: boolean;
273
+ xRay: boolean;
274
+ }, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
275
+ declare const _default$24: typeof __VLS_export$32;
276
+ //#endregion
277
+ //#region src/core/pmndrs/PixelationPmndrs.vue.d.ts
278
+ interface PixelationPmndrsProps {
279
+ /**
280
+ * The pixel granularity.
281
+ */
282
+ granularity?: number;
283
+ }
284
+ declare const __VLS_export$31: vue47.DefineComponent<PixelationPmndrsProps, {
285
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
286
+ effect: vue47.ShallowRef<PixelationEffect | null>;
287
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<PixelationPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
288
+ declare const _default$27: typeof __VLS_export$31;
289
+ //#endregion
290
+ //#region src/core/pmndrs/VignettePmndrs.vue.d.ts
291
+ interface VignettePmndrsProps {
292
+ /**
293
+ * Whether the noise should be multiplied with the input color.
294
+ */
295
+ technique?: VignetteTechnique;
296
+ blendFunction?: BlendFunction;
297
+ offset?: number;
298
+ darkness?: number;
299
+ }
300
+ declare const __VLS_export$30: vue47.DefineComponent<VignettePmndrsProps, {
301
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
302
+ effect: vue47.ShallowRef<VignetteEffect | null>;
303
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<VignettePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
304
+ declare const _default$37: typeof __VLS_export$30;
305
+ //#endregion
306
+ //#region src/core/pmndrs/custom/barrel-blur/index.d.ts
307
+ /**
308
+ * BarrelBlurEffect - A custom effect for applying a barrel distortion
309
+ * with chromatic aberration blur.
310
+ */
311
+ declare class BarrelBlurEffect extends Effect {
312
+ /**
313
+ * Creates a new BarrelBlurEffect instance.
314
+ *
315
+ * @param {object} [options] - Configuration options for the effect.
316
+ * @param {BlendFunction} [options.blendFunction] - Blend mode.
317
+ * @param {number} [options.amount] - Intensity of the barrel distortion (0 to 1).
318
+ * @param {Vector2} [options.offset] - Offset of the barrel distortion center (0 to 1 for both x and y). This allows you to change the position of the distortion effect.
319
+ *
320
+ */
321
+ constructor({
322
+ blendFunction,
323
+ amount,
324
+ offset
325
+ }?: {
326
+ blendFunction?: BlendFunction | undefined;
327
+ amount?: number | undefined;
328
+ offset?: Vector2 | undefined;
329
+ });
330
+ /**
331
+ * The amount.
332
+ *
333
+ * @type {number}
334
+ */
335
+ get amount(): any;
336
+ set amount(value: any);
337
+ /**
338
+ * The offset.
339
+ *
340
+ * @type {Vector2}
341
+ */
342
+ get offset(): any;
343
+ set offset(value: any);
344
+ }
345
+ //#endregion
346
+ //#region src/core/pmndrs/BarrelBlurPmndrs.vue.d.ts
347
+ interface BarrelBlurPmndrsProps {
348
+ /**
349
+ * The blend function for the effect.
350
+ * Determines how this effect blends with other effects.
351
+ */
352
+ blendFunction?: BlendFunction;
353
+ /**
354
+ * The intensity of the barrel distortion.
355
+ * A value between 0 (no distortion) and 1 (maximum distortion).
356
+ */
357
+ amount?: number;
358
+ /**
359
+ * The offset of the barrel distortion center.
360
+ * A Vector2 value or an A value or an array of two numbers, with both values ranging from 0 to 1.
361
+ * This allows you to change the position of the distortion effect.
362
+ */
363
+ offset?: Vector2 | [number, number];
364
+ }
365
+ declare const __VLS_export$29: vue47.DefineComponent<BarrelBlurPmndrsProps, {
366
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
367
+ effect: vue47.ShallowRef<BarrelBlurEffect | null>;
368
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<BarrelBlurPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
369
+ declare const _default$1: typeof __VLS_export$29;
370
+ //#endregion
371
+ //#region src/core/pmndrs/ToneMappingPmndrs.vue.d.ts
372
+ interface ToneMappingPmndrsProps {
373
+ /**
374
+ * The tone mapping mode.
375
+ */
376
+ mode?: ToneMappingMode;
377
+ /**
378
+ * The blend function.
379
+ */
380
+ blendFunction?: BlendFunction;
381
+ /**
382
+ * The resolution for luminance texture. The resolution of the luminance texture. Must be a power of two.
383
+ */
384
+ resolution?: number;
385
+ /**
386
+ * The average luminance. Only for `REINHARD2`.
387
+ */
388
+ averageLuminance?: number;
389
+ /**
390
+ * The middle grey factor. Only for `REINHARD2`.
391
+ */
392
+ middleGrey?: number;
393
+ /**
394
+ * The minimum luminance. Only for `REINHARD2`.
395
+ */
396
+ minLuminance?: number;
397
+ /**
398
+ * The white point. Only for `REINHARD2`.
399
+ */
400
+ whitePoint?: number;
401
+ }
402
+ declare const __VLS_export$28: vue47.DefineComponent<ToneMappingPmndrsProps, {
403
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
404
+ effect: vue47.ShallowRef<ToneMappingEffect | null>;
405
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<ToneMappingPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
406
+ declare const _default$35: typeof __VLS_export$28;
407
+ //#endregion
408
+ //#region src/core/pmndrs/ChromaticAberrationPmndrs.vue.d.ts
409
+ interface ChromaticAberrationPmndrsProps {
410
+ /**
411
+ * The blend function.
412
+ */
413
+ blendFunction?: BlendFunction;
414
+ /**
415
+ * The color offset.
416
+ */
417
+ offset?: Vector2;
418
+ /**
419
+ * Whether the effect should be modulated with a radial gradient.
420
+ */
421
+ radialModulation?: boolean;
422
+ /**
423
+ * The modulation offset, applicable if radial modulation is enabled.
424
+ */
425
+ modulationOffset?: number;
426
+ }
427
+ declare const __VLS_export$27: vue47.DefineComponent<ChromaticAberrationPmndrsProps, {
428
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
429
+ effect: vue47.ShallowRef<ChromaticAberrationEffect | null>;
430
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<ChromaticAberrationPmndrsProps> & Readonly<{}>, {
431
+ radialModulation: boolean;
432
+ }, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
433
+ declare const _default$4: typeof __VLS_export$27;
434
+ //#endregion
435
+ //#region src/core/pmndrs/HueSaturationPmndrs.vue.d.ts
436
+ interface HueSaturationPmndrsProps {
437
+ /**
438
+ * The saturation adjustment. A value of 0.0 results in grayscale, and 1.0 leaves saturation unchanged.
439
+ * Range: [0.0, 1.0]
440
+ */
441
+ saturation?: number;
442
+ /**
443
+ * The hue adjustment in radians.
444
+ * Range: [-π, π] (or [0, 2π] for a full rotation)
445
+ */
446
+ hue?: number;
447
+ /**
448
+ * The blend function. Defines how the effect blends with the original scene.
449
+ */
450
+ blendFunction?: BlendFunction;
451
+ }
452
+ declare const __VLS_export$26: vue47.DefineComponent<HueSaturationPmndrsProps, {
453
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
454
+ effect: vue47.ShallowRef<HueSaturationEffect | null>;
455
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<HueSaturationPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
456
+ declare const _default$19: typeof __VLS_export$26;
457
+ //#endregion
458
+ //#region src/core/pmndrs/ScanlinePmndrs.vue.d.ts
459
+ interface ScanlinePmndrsProps {
460
+ /**
461
+ * The blend function.
462
+ */
463
+ blendFunction?: BlendFunction;
464
+ /**
465
+ * The density of the scanlines.
466
+ */
467
+ density?: number;
468
+ /**
469
+ * The density of the scanlines.
470
+ */
471
+ scrollSpeed?: number;
472
+ /**
473
+ * The opacity of the scanlines.
474
+ */
475
+ opacity?: number;
476
+ }
477
+ declare const __VLS_export$25: vue47.DefineComponent<ScanlinePmndrsProps, {
478
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
479
+ effect: vue47.ShallowRef<ScanlineEffect | null>;
480
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<ScanlinePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
481
+ declare const _default$30: typeof __VLS_export$25;
482
+ //#endregion
483
+ //#region src/core/pmndrs/custom/kuwahara/index.d.ts
484
+ declare class KuwaharaEffect extends Effect {
485
+ /**
486
+ * Creates a new KuwaharaEffect instance.
487
+ *
488
+ * @param {object} [options] - Configuration options for the effect.
489
+ * @param {BlendFunction} [options.blendFunction] - Blend mode.
490
+ * @param {number} [options.radius] - Intensity of the effect.
491
+ * @param {number} [options.sectorCount] - Number of sectors.
492
+ *
493
+ */
494
+ constructor({
495
+ blendFunction,
496
+ radius,
497
+ sectorCount
498
+ }?: {
499
+ blendFunction?: BlendFunction | undefined;
500
+ radius?: number | undefined;
501
+ sectorCount?: number | undefined;
502
+ });
503
+ /**
504
+ * The radius.
505
+ *
506
+ * @type {number}
507
+ */
508
+ get radius(): any;
509
+ set radius(value: any);
510
+ /**
511
+ * The sector count.
512
+ *
513
+ * @type {number}
514
+ */
515
+ get sectorCount(): any;
516
+ set sectorCount(value: any);
517
+ }
518
+ //#endregion
519
+ //#region src/core/pmndrs/KuwaharaPmndrs.vue.d.ts
520
+ interface KuwaharaPmndrsProps {
521
+ /**
522
+ * The blend function for the effect.
523
+ * Determines how this effect blends with other effects.
524
+ */
525
+ blendFunction?: BlendFunction;
526
+ /**
527
+ * The intensity of the barrel distortion.
528
+ * A value between 0 (no distortion) and 1 (maximum distortion).
529
+ */
530
+ radius?: number;
531
+ /**
532
+ * The number of sectors.
533
+ * Determines the number of angular divisions used in the Kuwahara filter.
534
+ * Higher values can improve the quality of the effect but may reduce performance.
535
+ * The maximum value is defined by MAX_SECTOR_COUNT = 8 in the kuwahara/index.ts file.
536
+ * It is preferable that the value is an integer.
537
+ */
538
+ sectorCount?: number;
539
+ }
540
+ declare const __VLS_export$24: vue47.DefineComponent<KuwaharaPmndrsProps, {
541
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
542
+ effect: vue47.ShallowRef<KuwaharaEffect | null>;
543
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<KuwaharaPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
544
+ declare const _default$20: typeof __VLS_export$24;
545
+ //#endregion
546
+ //#region src/core/pmndrs/ColorAveragePmndrs.vue.d.ts
547
+ interface ColorAveragePmndrsProps {
548
+ /**
549
+ * The blend function.
550
+ */
551
+ blendFunction?: BlendFunction;
552
+ /**
553
+ * The opacity of the color Average.
554
+ */
555
+ opacity?: number;
556
+ }
557
+ declare const __VLS_export$23: vue47.DefineComponent<ColorAveragePmndrsProps, {
558
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
559
+ effect: vue47.ShallowRef<ColorAverageEffect | null>;
560
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<ColorAveragePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
561
+ declare const _default$5: typeof __VLS_export$23;
562
+ //#endregion
563
+ //#region src/core/pmndrs/LensDistortionPmndrs.vue.d.ts
564
+ interface LensDistortionPmndrsProps {
565
+ /**
566
+ * The distortion effect strength.
567
+ */
568
+ distortion?: Vector2 | [number, number];
569
+ /**
570
+ * The center point.
571
+ */
572
+ principalPoint?: Vector2 | [number, number];
573
+ /**
574
+ * The focal length.
575
+ */
576
+ focalLength?: Vector2 | [number, number];
577
+ /**
578
+ * The skew value.
579
+ */
580
+ skew?: number;
581
+ }
582
+ declare const __VLS_export$22: vue47.DefineComponent<LensDistortionPmndrsProps, {
583
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
584
+ effect: vue47.ShallowRef<LensDistortionEffect | null>;
585
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<LensDistortionPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
586
+ declare const _default$21: typeof __VLS_export$22;
587
+ //#endregion
588
+ //#region src/core/pmndrs/ShockWavePmndrs.vue.d.ts
589
+ interface ShockWavePmndrsProps {
590
+ /**
591
+ * The position of the shockwave.
592
+ */
593
+ position?: Vector3 | [number, number, number];
594
+ /**
595
+ * The amplitude of the shockwave.
596
+ */
597
+ amplitude?: number;
598
+ /**
599
+ * The speed of the shockwave.
600
+ */
601
+ speed?: number;
602
+ /**
603
+ * The max radius of the shockwave.
604
+ */
605
+ maxRadius?: number;
606
+ /**
607
+ * The wave size of the shockwave.
608
+ */
609
+ waveSize?: number;
610
+ }
611
+ declare const __VLS_export$21: vue47.DefineComponent<ShockWavePmndrsProps, {
612
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
613
+ effect: vue47.ShallowRef<ShockWaveEffect | null>;
614
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<ShockWavePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
615
+ declare const _default$32: typeof __VLS_export$21;
616
+ //#endregion
617
+ //#region src/core/pmndrs/TiltShiftPmndrs.vue.d.ts
618
+ interface TiltShiftPmndrsProps {
619
+ /**
620
+ * The blend function. Defines how the effect blends with the original scene.
621
+ */
622
+ blendFunction?: BlendFunction;
623
+ /**
624
+ * The relative offset of the focus area.
625
+ * Range: [-0.5, 0.5]
626
+ */
627
+ offset?: number;
628
+ /**
629
+ * The rotation of the focus area in radians.
630
+ * Range: [-π, π]
631
+ */
632
+ rotation?: number;
633
+ /**
634
+ * The relative size of the focus area.
635
+ * Range: [0, 1]
636
+ */
637
+ focusArea?: number;
638
+ /**
639
+ * The softness of the focus area edges.
640
+ * Range: [0, 1]
641
+ */
642
+ feather?: number;
643
+ /**
644
+ * The blur kernel size.
645
+ */
646
+ kernelSize?: KernelSize;
647
+ /**
648
+ * The resolution scale.
649
+ * Range: [0.1, 1]
650
+ */
651
+ resolutionScale?: number;
652
+ /**
653
+ * The horizontal resolution.
654
+ */
655
+ resolutionX?: number;
656
+ /**
657
+ * The vertical resolution.
658
+ */
659
+ resolutionY?: number;
660
+ }
661
+ declare const __VLS_export$20: vue47.DefineComponent<TiltShiftPmndrsProps, {
662
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
663
+ effect: vue47.ShallowRef<TiltShiftEffect | null>;
664
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<TiltShiftPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
665
+ declare const _default$34: typeof __VLS_export$20;
666
+ //#endregion
667
+ //#region src/core/pmndrs/DotScreenPmndrs.vue.d.ts
668
+ interface DotScreenPmndrsProps {
669
+ /**
670
+ * The angle of the dot pattern.
671
+ * Default: 1.57
672
+ */
673
+ angle?: number;
674
+ /**
675
+ * The scale of the dot pattern.
676
+ * Default: 1.0
677
+ */
678
+ scale?: number;
679
+ /**
680
+ * The blend function. Defines how the effect blends with the original scene.
681
+ */
682
+ blendFunction?: BlendFunction;
683
+ }
684
+ declare const __VLS_export$19: vue47.DefineComponent<DotScreenPmndrsProps, {
685
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
686
+ effect: vue47.ShallowRef<DotScreenEffect | null>;
687
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<DotScreenPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
688
+ declare const _default$9: typeof __VLS_export$19;
689
+ //#endregion
690
+ //#region src/core/pmndrs/SepiaPmndrs.vue.d.ts
691
+ interface SepiaPmndrsProps {
692
+ /**
693
+ * The blend function.
694
+ */
695
+ blendFunction?: BlendFunction;
696
+ /**
697
+ * The intensity of the sepia effect.
698
+ */
699
+ intensity?: number;
700
+ }
701
+ declare const __VLS_export$18: vue47.DefineComponent<SepiaPmndrsProps, {
702
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
703
+ effect: vue47.ShallowRef<SepiaEffect | null>;
704
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<SepiaPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
705
+ declare const _default$31: typeof __VLS_export$18;
706
+ //#endregion
707
+ //#region src/core/pmndrs/custom/linocut/index.d.ts
708
+ /**
709
+ * LinocutEffect - A custom effect for applying a linocut shader effect.
710
+ */
711
+ declare class LinocutEffect extends Effect {
712
+ /**
713
+ * Creates a new LinocutEffect instance.
714
+ *
715
+ * @param {LinocutPmndrsProps} [options] - Configuration options for the effect.
716
+ *
717
+ */
718
+ constructor({
719
+ blendFunction,
720
+ scale,
721
+ noiseScale,
722
+ center,
723
+ rotation
724
+ }?: {
725
+ blendFunction?: BlendFunction | undefined;
726
+ scale?: number | undefined;
727
+ noiseScale?: number | undefined;
728
+ center?: number[] | undefined;
729
+ rotation?: number | undefined;
730
+ });
731
+ get scale(): any;
732
+ set scale(value: any);
733
+ get noiseScale(): any;
734
+ set noiseScale(value: any);
735
+ get center(): any;
736
+ set center(value: any);
737
+ get rotation(): any;
738
+ set rotation(value: any);
739
+ }
740
+ //#endregion
741
+ //#region src/core/pmndrs/LinocutPmndrs.vue.d.ts
742
+ interface LinocutPmndrsProps {
743
+ blendFunction?: BlendFunction;
744
+ scale?: number;
745
+ noiseScale?: number;
746
+ center?: Vector2 | [number, number];
747
+ rotation?: number;
748
+ }
749
+ declare const __VLS_export$17: vue47.DefineComponent<LinocutPmndrsProps, {
750
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
751
+ effect: vue47.ShallowRef<LinocutEffect | null>;
752
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<LinocutPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
753
+ declare const _default$22: typeof __VLS_export$17;
754
+ //#endregion
755
+ //#region src/core/pmndrs/DepthPickingPassPmndrs.vue.d.ts
756
+ interface DepthPickingPassPmndrsProps {
757
+ /**
758
+ * The depth packing strategy.
759
+ * Default: RGBADepthPacking
760
+ */
761
+ depthPacking?: DepthPackingStrategies;
762
+ /**
763
+ * The depth copy mode.
764
+ * Default: DepthCopyMode.SINGLE
765
+ */
766
+ mode?: DepthCopyMode;
767
+ }
768
+ declare const __VLS_export$16: vue47.DefineComponent<DepthPickingPassPmndrsProps, {
769
+ pass: DepthPickingPass;
770
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<DepthPickingPassPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
771
+ declare const _default$8: typeof __VLS_export$16;
772
+ //#endregion
773
+ //#region src/core/pmndrs/GodRaysPmndrs.vue.d.ts
774
+ interface GodRaysPmndrsProps {
775
+ /**
776
+ * The blend function of this effect.
777
+ */
778
+ blendFunction?: BlendFunction;
779
+ /**
780
+ * The light source. Must not write depth and has to be flagged as transparent.
781
+ */
782
+ lightSource?: Mesh | Points | null;
783
+ /**
784
+ * The opacity of the God Rays.
785
+ */
786
+ opacity?: number;
787
+ /**
788
+ * The density of the light rays.
789
+ */
790
+ density?: number;
791
+ /**
792
+ * The decay of the light rays.
793
+ */
794
+ decay?: number;
795
+ /**
796
+ * The blur kernel size. Has no effect if blur is disabled.
797
+ */
798
+ kernelSize?: KernelSize;
799
+ /**
800
+ * The resolution scale.
801
+ */
802
+ resolutionScale?: number;
803
+ /**
804
+ * Whether the god rays should be blurred to reduce artifacts.
805
+ */
806
+ blur?: boolean;
807
+ /**
808
+ * The horizontal resolution.
809
+ */
810
+ resolutionX?: number;
811
+ /**
812
+ * The vertical resolution.
813
+ */
814
+ resolutionY?: number;
815
+ /**
816
+ * The weight of the light rays.
817
+ */
818
+ weight?: number;
819
+ /**
820
+ * A constant attenuation coefficient.
821
+ */
822
+ exposure?: number;
823
+ /**
824
+ * The number of samples per pixel.
825
+ */
826
+ samples?: number;
827
+ /**
828
+ * An upper bound for the saturation of the overall effect.
829
+ */
830
+ clampMax?: number;
831
+ }
832
+ declare const __VLS_export$15: vue47.DefineComponent<GodRaysPmndrsProps, {
833
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
834
+ effect: vue47.ShallowRef<GodRaysEffect | null>;
835
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<GodRaysPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
836
+ declare const _default$16: typeof __VLS_export$15;
837
+ //#endregion
838
+ //#region src/core/pmndrs/ColorDepthPmndrs.vue.d.ts
839
+ interface ColorDepthPmndrsProps {
840
+ /**
841
+ * The blend function.
842
+ */
843
+ blendFunction?: BlendFunction;
844
+ /**
845
+ * The color bit depth.
846
+ */
847
+ bits?: number;
848
+ /**
849
+ * The opacity of the effect.
850
+ */
851
+ opacity?: number;
852
+ }
853
+ declare const __VLS_export$14: vue47.DefineComponent<ColorDepthPmndrsProps, {
854
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
855
+ effect: vue47.ShallowRef<ColorDepthEffect | null>;
856
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<ColorDepthPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
857
+ declare const _default$6: typeof __VLS_export$14;
858
+ //#endregion
859
+ //#region src/core/pmndrs/GridPmndrs.vue.d.ts
860
+ interface GridPmndrsProps {
861
+ /**
862
+ * The blend function.
863
+ */
864
+ blendFunction?: BlendFunction;
865
+ /**
866
+ * The scale.
867
+ */
868
+ scale?: number;
869
+ /**
870
+ * The line width.
871
+ */
872
+ lineWidth?: number;
873
+ }
874
+ declare const __VLS_export$13: vue47.DefineComponent<GridPmndrsProps, {
875
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
876
+ effect: vue47.ShallowRef<GridEffect | null>;
877
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<GridPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
878
+ declare const _default$17: typeof __VLS_export$13;
879
+ //#endregion
880
+ //#region src/core/pmndrs/custom/fish-eye/index.d.ts
881
+ /**
882
+ * FishEyeEffect - A custom effect for applying a fish-eye distortion
883
+ */
884
+ declare class FishEyeEffect extends Effect {
885
+ /**
886
+ * Creates a new FishEyeEffect instance.
887
+ *
888
+ * @param {object} [options] - Configuration options for the effect.
889
+ * @param {BlendFunction} [options.blendFunction] - Blend mode.
890
+ * @param {Vector2} [options.lensS] - Lens scale.
891
+ * @param {Vector2} [options.lensF] - Lens factor.
892
+ * @param {number} [options.scale] - Scale.
893
+ *
894
+ */
895
+ constructor({
896
+ blendFunction,
897
+ lensS,
898
+ lensF,
899
+ scale
900
+ }?: {
901
+ blendFunction?: BlendFunction | undefined;
902
+ lensS?: Vector2 | undefined;
903
+ lensF?: Vector2 | undefined;
904
+ scale?: number | undefined;
905
+ });
906
+ /**
907
+ * The lensS.
908
+ *
909
+ * @type {Vector2}
910
+ */
911
+ get lensS(): any;
912
+ set lensS(value: any);
913
+ /**
914
+ * The lensF.
915
+ *
916
+ * @type {Vector2}
917
+ */
918
+ get lensF(): any;
919
+ set lensF(value: any);
920
+ /**
921
+ * The scale.
922
+ *
923
+ * @type {number}
924
+ */
925
+ get scale(): any;
926
+ set scale(value: any);
927
+ }
928
+ //#endregion
929
+ //#region src/core/pmndrs/FishEyePmndrs.vue.d.ts
930
+ interface FishEyePmndrsProps {
931
+ /**
932
+ * The blend function for the effect.
933
+ * Determines how this effect blends with other effects.
934
+ */
935
+ blendFunction?: BlendFunction;
936
+ /**
937
+ * The lens scale.
938
+ * A Vector2 value or an array of two numbers.
939
+ */
940
+ lensS?: Vector2 | [number, number];
941
+ /**
942
+ * The lens factor.
943
+ * A Vector2 value or an array of two numbers.
944
+ */
945
+ lensF?: Vector2 | [number, number];
946
+ /**
947
+ * The scale of the effect.
948
+ * A number value.
949
+ */
950
+ scale?: number;
951
+ }
952
+ declare const __VLS_export$12: vue47.DefineComponent<FishEyePmndrsProps, {
953
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
954
+ effect: vue47.ShallowRef<FishEyeEffect | null>;
955
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<FishEyePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
956
+ declare const _default$13: typeof __VLS_export$12;
957
+ //#endregion
958
+ //#region src/core/pmndrs/BrightnessContrastPmndrs.vue.d.ts
959
+ interface BrightnessContrastPmndrsProps {
960
+ /**
961
+ * The blend function.
962
+ */
963
+ blendFunction?: BlendFunction;
964
+ /**
965
+ * The brightness of the effect.
966
+ */
967
+ brightness?: number;
968
+ /**
969
+ * The contrast of the effect.
970
+ */
971
+ contrast?: number;
972
+ }
973
+ declare const __VLS_export$11: vue47.DefineComponent<BrightnessContrastPmndrsProps, {
974
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
975
+ effect: vue47.ShallowRef<BrightnessContrastEffect | null>;
976
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<BrightnessContrastPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
977
+ declare const _default$3: typeof __VLS_export$11;
978
+ //#endregion
979
+ //#region src/core/pmndrs/SMAAPmndrs.vue.d.ts
980
+ declare const DEBUG_MODE: {
981
+ readonly OFF: 0;
982
+ readonly EDGES: 1;
983
+ readonly WEIGHTS: 2;
984
+ };
985
+ interface SMAAPmndrsProps {
986
+ /**
987
+ * The blend function.
988
+ */
989
+ blendFunction?: BlendFunction;
990
+ /**
991
+ * The opacity of the effect.
992
+ */
993
+ opacity?: number;
994
+ /**
995
+ * The preset configuration for SMAA (Subpixel Morphological Antialiasing).
996
+ */
997
+ preset?: SMAAPreset;
998
+ /**
999
+ * The mode used for edge detection.
1000
+ */
1001
+ edgeDetectionMode?: EdgeDetectionMode;
1002
+ /**
1003
+ * The mode used for predication to improve edge detection.
1004
+ */
1005
+ predicationMode?: PredicationMode;
1006
+ /**
1007
+ * The debug mode for visualizing the effect.
1008
+ *
1009
+ * OPTIONS:
1010
+ * - 0: OFF
1011
+ * - 1: EDGES
1012
+ * - 2: WEIGHTS
1013
+ */
1014
+ debug?: typeof DEBUG_MODE[keyof typeof DEBUG_MODE];
1015
+ }
1016
+ declare const __VLS_export$10: vue47.DefineComponent<SMAAPmndrsProps, {
1017
+ pass: vue47.ShallowRef<EffectPass | null>;
1018
+ effect: vue47.ShallowRef<SMAAEffect | null>;
1019
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<SMAAPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1020
+ declare const _default$29: typeof __VLS_export$10;
1021
+ //#endregion
1022
+ //#region src/core/pmndrs/FXAAPmndrs.vue.d.ts
1023
+ interface FXAAPmndrsProps {
1024
+ /**
1025
+ * The blend function.
1026
+ */
1027
+ blendFunction?: BlendFunction;
1028
+ /**
1029
+ * The opacity of the effect.
1030
+ */
1031
+ opacity?: number;
1032
+ /**
1033
+ * The maximum amount of edge detection samples.
1034
+ */
1035
+ samples?: number;
1036
+ /**
1037
+ * The minimum edge detection threshold. Range is [0.0, 1.0].
1038
+ */
1039
+ minEdgeThreshold?: number;
1040
+ /**
1041
+ * The maximum edge detection threshold. Range is [0.0, 1.0].
1042
+ */
1043
+ maxEdgeThreshold?: number;
1044
+ /**
1045
+ * The subpixel blend quality. Range is [0.0, 1.0].
1046
+ */
1047
+ subpixelQuality?: number;
1048
+ }
1049
+ declare const __VLS_export$9: vue47.DefineComponent<FXAAPmndrsProps, {
1050
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
1051
+ effect: vue47.ShallowRef<FXAAEffect | null>;
1052
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<FXAAPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1053
+ declare const _default$12: typeof __VLS_export$9;
1054
+ //#endregion
1055
+ //#region src/core/pmndrs/TexturePmndrs.vue.d.ts
1056
+ interface TexturePmndrsProps {
1057
+ /**
1058
+ * The blend function.
1059
+ */
1060
+ blendFunction?: BlendFunction;
1061
+ /**
1062
+ * The texture.
1063
+ */
1064
+ texture?: Texture;
1065
+ /**
1066
+ * The opacity of the effect.
1067
+ */
1068
+ opacity?: number;
1069
+ }
1070
+ declare const __VLS_export$8: vue47.DefineComponent<TexturePmndrsProps, {
1071
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
1072
+ effect: vue47.ShallowRef<TextureEffect | null>;
1073
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<TexturePmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1074
+ declare const _default$33: typeof __VLS_export$8;
1075
+ //#endregion
1076
+ //#region src/core/pmndrs/ASCIIPmndrs.vue.d.ts
1077
+ type ASCIITextureOptions = ConstructorParameters<typeof ASCIITexture>[0];
1078
+ interface ASCIIPmndrsProps {
1079
+ /**
1080
+ * The blend function.
1081
+ */
1082
+ blendFunction?: BlendFunction;
1083
+ /**
1084
+ * The opacity of the effect.
1085
+ */
1086
+ opacity?: number;
1087
+ /**
1088
+ * The cell size.
1089
+ */
1090
+ cellSize?: number;
1091
+ /**
1092
+ * Controls whether the effect should be inverted.
1093
+ */
1094
+ inverted?: boolean;
1095
+ /**
1096
+ * The color of the effect.
1097
+ */
1098
+ color?: Color | string | number | null;
1099
+ /**
1100
+ * Controls whether the effect should use the scene color.
1101
+ * If `true`, it overrides the `color` props.
1102
+ */
1103
+ useSceneColor?: boolean;
1104
+ /**
1105
+ * The ASCII texture options to use for creating an ASCIITexture instance.
1106
+ * https://pmndrs.github.io/postprocessing/public/docs/class/src/textures/ASCIITexture.js~ASCIITexture.html
1107
+ */
1108
+ asciiTexture?: ASCIITextureOptions;
1109
+ }
1110
+ declare const __VLS_export$7: vue47.DefineComponent<ASCIIPmndrsProps, {
1111
+ pass: vue47.ShallowRef<postprocessing0.EffectPass | null>;
1112
+ effect: vue47.ShallowRef<ASCIIEffect | null>;
1113
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<ASCIIPmndrsProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1114
+ declare const _default: typeof __VLS_export$7;
1115
+ //#endregion
1116
+ //#region src/core/three/composables/useEffect.d.ts
1117
+ /**
1118
+ * @param newPassFunction - A function that returns a new pass instance.
1119
+ * @param passDependencies - A reactive object that the pass depends on (usually props). Changes to this object will trigger re-rendering.
1120
+ * @param dependencyFieldsTriggeringRecreation - fields in passDependencies that require effect recreation when changed
1121
+ */
1122
+ declare const useEffect: <T extends Pass, D extends Record<PropertyKey, any>>(newPassFunction: () => T, passDependencies?: Reactive<D>, dependencyFieldsTriggeringRecreation?: (keyof D)[]) => {
1123
+ pass: ShallowRef<T>;
1124
+ };
1125
+ //#endregion
1126
+ //#region src/core/three/EffectComposer.vue.d.ts
1127
+ interface EffectComposerProps {
1128
+ enabled?: boolean;
1129
+ withoutRenderPass?: boolean;
1130
+ }
1131
+ declare const __VLS_export$6: __VLS_WithSlots<vue47.DefineComponent<EffectComposerProps, {
1132
+ composer: ShallowRef<EffectComposer$1 | null>;
1133
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<EffectComposerProps> & Readonly<{}>, {
1134
+ enabled: boolean;
1135
+ }, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>, {
1136
+ default?: (props: {}) => any;
1137
+ }>;
1138
+ declare const _default$10: typeof __VLS_export$6;
1139
+ type __VLS_WithSlots<T, S> = T & {
1140
+ new (): {
1141
+ $slots: S;
1142
+ };
1143
+ };
1144
+ //#endregion
1145
+ //#region src/core/three/Glitch.vue.d.ts
1146
+ interface GlitchProps {
1147
+ /**
1148
+ * The size of the generated noise map
1149
+ */
1150
+ dtSize?: number;
1151
+ /**
1152
+ * If true, the glitch effect will be more wild 🤪
1153
+ */
1154
+ goWild?: boolean;
1155
+ }
1156
+ declare const __VLS_export$5: vue47.DefineComponent<GlitchProps, {
1157
+ pass: vue47.ShallowRef<GlitchPass>;
1158
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<GlitchProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1159
+ declare const _default$14: typeof __VLS_export$5;
1160
+ //#endregion
1161
+ //#region src/core/three/Halftone.vue.d.ts
1162
+ declare enum HalftoneShape {
1163
+ Dot = 1,
1164
+ Ellipse = 2,
1165
+ Line = 3,
1166
+ Square = 4,
1167
+ }
1168
+ interface HalftoneProps {
1169
+ shape?: HalftoneShape;
1170
+ radius?: number;
1171
+ rotateR?: number;
1172
+ rotateG?: number;
1173
+ rotateB?: number;
1174
+ scatter?: number;
1175
+ blending?: number;
1176
+ greyscale?: boolean;
1177
+ blendingMode?: Blending;
1178
+ }
1179
+ declare const __VLS_export$4: vue47.DefineComponent<HalftoneProps, {
1180
+ pass: vue47.ShallowRef<HalftonePass>;
1181
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<HalftoneProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1182
+ declare const _default$18: typeof __VLS_export$4;
1183
+ //#endregion
1184
+ //#region src/core/three/Pixelation.vue.d.ts
1185
+ interface PixelationProps {
1186
+ pixelSize: number;
1187
+ depthEdgeStrength?: number;
1188
+ normalEdgeStrength?: number;
1189
+ }
1190
+ declare const __VLS_export$3: vue47.DefineComponent<PixelationProps, {
1191
+ pass: vue47.ShallowRef<RenderPixelatedPass>;
1192
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<PixelationProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1193
+ declare const _default$26: typeof __VLS_export$3;
1194
+ //#endregion
1195
+ //#region src/core/three/Output.vue.d.ts
1196
+ declare const __VLS_export$2: vue47.DefineComponent<{}, {
1197
+ pass: vue47.ShallowRef<OutputPass>;
1198
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any>;
1199
+ declare const _default$25: typeof __VLS_export$2;
1200
+ //#endregion
1201
+ //#region src/core/three/SMAA.vue.d.ts
1202
+ interface SMAAProps {
1203
+ width?: number;
1204
+ height?: number;
1205
+ }
1206
+ declare const __VLS_export$1: vue47.DefineComponent<SMAAProps, {
1207
+ pass: vue47.ShallowRef<SMAAPass>;
1208
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<SMAAProps> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1209
+ declare const _default$28: typeof __VLS_export$1;
1210
+ //#endregion
1211
+ //#region src/core/three/UnrealBloom.vue.d.ts
1212
+ interface UnrealBloomProps {
1213
+ radius?: number;
1214
+ strength?: number;
1215
+ threshold?: number;
1216
+ }
1217
+ declare const __VLS_export: vue47.DefineComponent<UnrealBloomProps, {
1218
+ pass: vue47.ShallowRef<UnrealBloomPass>;
1219
+ }, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<UnrealBloomProps> & Readonly<{}>, {
1220
+ radius: number;
1221
+ strength: number;
1222
+ threshold: number;
1223
+ }, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
1224
+ declare const _default$36: typeof __VLS_export;
1225
+ //#endregion
1226
+ export { _default as ASCIIPmndrs, ASCIIPmndrsProps, _default$1 as BarrelBlurPmndrs, BarrelBlurPmndrsProps, _default$2 as BloomPmndrs, BloomPmndrsProps, _default$3 as BrightnessContrastPmndrs, BrightnessContrastPmndrsProps, _default$4 as ChromaticAberrationPmndrs, ChromaticAberrationPmndrsProps, _default$5 as ColorAveragePmndrs, ColorAveragePmndrsProps, _default$6 as ColorDepthPmndrs, ColorDepthPmndrsProps, _default$7 as DepthOfFieldPmndrs, DepthOfFieldPmndrsProps, _default$8 as DepthPickingPassPmndrs, DepthPickingPassPmndrsProps, _default$9 as DotScreenPmndrs, DotScreenPmndrsProps, _default$10 as EffectComposer, _default$11 as EffectComposerPmndrs, EffectComposerPmndrsProps, EffectComposerProps, _default$12 as FXAAPmndrs, FXAAPmndrsProps, _default$13 as FishEyePmndrs, FishEyePmndrsProps, _default$14 as Glitch, _default$15 as GlitchPmndrs, GlitchPmndrsProps, GlitchProps, _default$16 as GodRaysPmndrs, GodRaysPmndrsProps, _default$17 as GridPmndrs, GridPmndrsProps, _default$18 as Halftone, HalftoneProps, _default$19 as HueSaturationPmndrs, HueSaturationPmndrsProps, _default$20 as KuwaharaPmndrs, KuwaharaPmndrsProps, _default$21 as LensDistortionPmndrs, LensDistortionPmndrsProps, _default$22 as LinocutPmndrs, LinocutPmndrsProps, _default$23 as NoisePmndrs, NoisePmndrsProps, _default$24 as OutlinePmndrs, OutlinePmndrsProps, _default$25 as Output, _default$26 as Pixelation, _default$27 as PixelationPmndrs, PixelationPmndrsProps, PixelationProps, _default$28 as SMAA, _default$29 as SMAAPmndrs, SMAAPmndrsProps, SMAAProps, _default$30 as ScanlinePmndrs, ScanlinePmndrsProps, _default$31 as SepiaPmndrs, SepiaPmndrsProps, _default$32 as ShockWavePmndrs, ShockWavePmndrsProps, _default$33 as TexturePmndrs, TexturePmndrsProps, _default$34 as TiltShiftPmndrs, TiltShiftPmndrsProps, _default$35 as ToneMappingPmndrs, ToneMappingPmndrsProps, _default$36 as UnrealBloom, UnrealBloomProps, _default$37 as VignettePmndrs, VignettePmndrsProps, useEffect, useEffectPmndrs };