angular-three-postprocessing 2.0.0-beta.242 → 2.0.0-beta.244

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 (59) hide show
  1. package/esm2022/lib/effect-composer.mjs +13 -29
  2. package/esm2022/lib/effect.mjs +10 -13
  3. package/esm2022/lib/effects/ascii.mjs +7 -8
  4. package/esm2022/lib/effects/bloom.mjs +6 -6
  5. package/esm2022/lib/effects/brightness-contrast.mjs +6 -16
  6. package/esm2022/lib/effects/chromatic-abberation.mjs +6 -16
  7. package/esm2022/lib/effects/color-average.mjs +7 -8
  8. package/esm2022/lib/effects/color-depth.mjs +6 -6
  9. package/esm2022/lib/effects/depth-of-field.mjs +7 -8
  10. package/esm2022/lib/effects/depth.mjs +6 -6
  11. package/esm2022/lib/effects/dot-screen.mjs +6 -6
  12. package/esm2022/lib/effects/fxaa.mjs +6 -6
  13. package/esm2022/lib/effects/glitch.mjs +8 -9
  14. package/esm2022/lib/effects/god-rays.mjs +7 -8
  15. package/esm2022/lib/effects/grid.mjs +8 -9
  16. package/esm2022/lib/effects/hue-saturation.mjs +6 -6
  17. package/esm2022/lib/effects/lens-flare.mjs +8 -9
  18. package/esm2022/lib/effects/lut.mjs +8 -9
  19. package/esm2022/lib/effects/noise.mjs +6 -6
  20. package/esm2022/lib/effects/pixelation.mjs +7 -8
  21. package/esm2022/lib/effects/scanline.mjs +6 -6
  22. package/esm2022/lib/effects/sepia.mjs +6 -6
  23. package/esm2022/lib/effects/shock-wave.mjs +6 -6
  24. package/esm2022/lib/effects/smaa.mjs +6 -6
  25. package/esm2022/lib/effects/tilt-shift-2.mjs +6 -6
  26. package/esm2022/lib/effects/tilt-shift.mjs +6 -6
  27. package/esm2022/lib/effects/vignette.mjs +6 -6
  28. package/esm2022/lib/effects/water.mjs +6 -6
  29. package/fesm2022/angular-three-postprocessing.mjs +156 -203
  30. package/fesm2022/angular-three-postprocessing.mjs.map +1 -1
  31. package/lib/effect-composer.d.ts +2 -9
  32. package/lib/effect.d.ts +2 -4
  33. package/lib/effects/ascii.d.ts +1 -2
  34. package/lib/effects/bloom.d.ts +1 -1
  35. package/lib/effects/brightness-contrast.d.ts +1 -1
  36. package/lib/effects/chromatic-abberation.d.ts +1 -1
  37. package/lib/effects/color-average.d.ts +2 -3
  38. package/lib/effects/color-depth.d.ts +1 -1
  39. package/lib/effects/depth-of-field.d.ts +1 -2
  40. package/lib/effects/depth.d.ts +1 -1
  41. package/lib/effects/dot-screen.d.ts +1 -1
  42. package/lib/effects/fxaa.d.ts +1 -1
  43. package/lib/effects/glitch.d.ts +1 -2
  44. package/lib/effects/god-rays.d.ts +1 -2
  45. package/lib/effects/grid.d.ts +1 -2
  46. package/lib/effects/hue-saturation.d.ts +1 -1
  47. package/lib/effects/lens-flare.d.ts +1 -2
  48. package/lib/effects/lut.d.ts +1 -2
  49. package/lib/effects/noise.d.ts +1 -1
  50. package/lib/effects/pixelation.d.ts +1 -2
  51. package/lib/effects/scanline.d.ts +1 -1
  52. package/lib/effects/sepia.d.ts +1 -1
  53. package/lib/effects/shock-wave.d.ts +1 -1
  54. package/lib/effects/smaa.d.ts +1 -1
  55. package/lib/effects/tilt-shift-2.d.ts +1 -1
  56. package/lib/effects/tilt-shift.d.ts +1 -1
  57. package/lib/effects/vignette.d.ts +1 -1
  58. package/lib/effects/water.d.ts +1 -1
  59. package/package.json +53 -54
@@ -1,4 +1,4 @@
1
- import { ElementRef, Injector, TemplateRef, ViewContainerRef } from '@angular/core';
1
+ import { ElementRef, Injector } from '@angular/core';
2
2
  import { DepthDownsamplingPass, EffectComposer, NormalPass } from 'postprocessing';
3
3
  import { Camera, Group, Scene, TextureDataType } from 'three';
4
4
  import * as i0 from "@angular/core";
@@ -56,10 +56,6 @@ interface NgtpEffectComposerOptions {
56
56
  camera?: Camera;
57
57
  scene?: Scene;
58
58
  }
59
- export declare class NgtpEffects {
60
- static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffects, never>;
61
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtpEffects, "ng-template[effects]", never, {}, {}, never, never, true, never>;
62
- }
63
59
  export declare class NgtpEffectComposer {
64
60
  options: import("@angular/core").InputSignalWithTransform<NgtpEffectComposerOptions, "" | Partial<NgtpEffectComposerOptions>>;
65
61
  injector: Injector;
@@ -78,8 +74,6 @@ export declare class NgtpEffectComposer {
78
74
  enableNormalPass: import("@angular/core").Signal<boolean | undefined>;
79
75
  resolutionScale: import("@angular/core").Signal<number | undefined>;
80
76
  group: import("@angular/core").Signal<ElementRef<Group<import("three").Object3DEventMap>>>;
81
- groupAnchor: import("@angular/core").Signal<ViewContainerRef>;
82
- content: import("@angular/core").Signal<TemplateRef<any>>;
83
77
  composerData: import("@angular/core").Signal<{
84
78
  composer: EffectComposer;
85
79
  normalPass: NormalPass | null;
@@ -96,9 +90,8 @@ export declare class NgtpEffectComposer {
96
90
  constructor();
97
91
  private disableToneMapping;
98
92
  private setComposerSize;
99
- private render;
100
93
  private updatePasses;
101
94
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffectComposer, never>;
102
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpEffectComposer, "ngtp-effect-composer", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, ["content"], never, true, never>;
95
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpEffectComposer, "ngtp-effect-composer", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
103
96
  }
104
97
  export {};
package/lib/effect.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { BlendFunction, Effect } from 'postprocessing';
1
+ import { BlendFunction } from 'postprocessing';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare const injectDefaultEffectOptions: {
4
4
  (): {
@@ -42,15 +42,13 @@ export declare class NgtpEffect {
42
42
  blendFunction?: BlendFunction | undefined;
43
43
  opacity?: number | undefined;
44
44
  } | null;
45
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<Effect>>;
46
45
  blendFunction: import("@angular/core").InputSignal<BlendFunction | undefined>;
47
46
  opacity: import("@angular/core").InputSignal<number | undefined>;
48
- autoEffect: (autoEffectCallback: (autoEffectInjector: import("@angular/core").Injector) => void | (() => void), options?: Omit<import("@angular/core").CreateEffectOptions, "injector"> | undefined) => import("@angular/core").EffectRef;
49
47
  store: import("angular-three").NgtSignalStore<import("angular-three").NgtState>;
50
48
  camera: import("@angular/core").Signal<import("angular-three").NgtCameraManual>;
51
49
  invalidate: import("@angular/core").Signal<(frames?: number | undefined) => void>;
52
50
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffect, never>;
53
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgtpEffect, never, never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "blendFunction": { "alias": "blendFunction"; "required": false; "isSignal": true; }; "opacity": { "alias": "opacity"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgtpEffect, never, never, { "blendFunction": { "alias": "blendFunction"; "required": false; "isSignal": true; }; "opacity": { "alias": "opacity"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
54
52
  }
55
53
  export declare const NgtpEffectHostDirective: {
56
54
  directive: typeof NgtpEffect;
@@ -15,10 +15,9 @@ export declare class ASCIIEffect extends Effect {
15
15
  createCharactersTexture(characters: string, font: string, fontSize: number): Texture;
16
16
  }
17
17
  export declare class NgtpASCII {
18
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<ASCIIEffect>>;
19
18
  options: import("@angular/core").InputSignalWithTransform<ASCIIEffectOptions, "" | Partial<ASCIIEffectOptions>>;
20
19
  effect: import("@angular/core").Signal<ASCIIEffect>;
21
20
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpASCII, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpASCII, "ngtp-ascii", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpASCII, "ngtp-ascii", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
23
22
  }
24
23
  export {};
@@ -6,5 +6,5 @@ export declare class NgtpBloom {
6
6
  effect: NgtpEffect;
7
7
  options: import("@angular/core").InputSignal<Omit<BloomEffectOptions, "blendFunction">>;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpBloom, never>;
9
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpBloom, "ngtp-bloom", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpBloom, "ngtp-bloom", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
10
10
  }
@@ -11,5 +11,5 @@ export declare class NgtpBrightnessContrast {
11
11
  contrast?: number | undefined;
12
12
  }, "blendFunction">>;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpBrightnessContrast, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpBrightnessContrast, "ngtp-brightness-contrast", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpBrightnessContrast, "ngtp-brightness-contrast", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
15
15
  }
@@ -12,5 +12,5 @@ export declare class NgtpChromaticAberration {
12
12
  modulationOffset: number;
13
13
  }>, "blendFunction">>;
14
14
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpChromaticAberration, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpChromaticAberration, "ngtp-chromatic-aberration", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpChromaticAberration, "ngtp-chromatic-aberration", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
16
16
  }
@@ -1,12 +1,11 @@
1
- import { BlendFunction, ColorAverageEffect } from 'postprocessing';
1
+ import { BlendFunction } from 'postprocessing';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class NgtpColorAverage {
4
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<ColorAverageEffect>>;
5
4
  options: import("@angular/core").InputSignalWithTransform<{
6
5
  blendFunction: BlendFunction;
7
6
  }, "" | Partial<{
8
7
  blendFunction: BlendFunction;
9
8
  }>>;
10
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpColorAverage, never>;
11
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpColorAverage, "ngtp-color-average", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpColorAverage, "ngtp-color-average", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
12
11
  }
@@ -10,5 +10,5 @@ export declare class NgtpColorDepth {
10
10
  bits?: number | undefined;
11
11
  }>, "blendFunction">>;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpColorDepth, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpColorDepth, "ngtp-color-depth", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpColorDepth, "ngtp-color-depth", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
14
14
  }
@@ -19,12 +19,11 @@ export declare class NgtpDepthOfField {
19
19
  downSamplingPass: import("postprocessing").DepthDownsamplingPass | null;
20
20
  resolutionScale: number | undefined;
21
21
  }>;
22
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<DepthOfFieldEffect>>;
23
22
  options: import("@angular/core").InputSignal<DOFOptions>;
24
23
  autoFocus: import("@angular/core").Signal<boolean>;
25
24
  effect: import("@angular/core").Signal<DepthOfFieldEffect>;
26
25
  constructor();
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDepthOfField, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDepthOfField, "ngtp-depth-of-field", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDepthOfField, "ngtp-depth-of-field", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
29
28
  }
30
29
  export {};
@@ -10,5 +10,5 @@ export declare class NgtpDepth {
10
10
  inverted?: boolean | undefined;
11
11
  }>, "blendFunction">>;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDepth, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDepth, "ngtp-depth", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDepth, "ngtp-depth", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
14
14
  }
@@ -11,5 +11,5 @@ export declare class NgtpDotScreen {
11
11
  scale?: number | undefined;
12
12
  }>, "blendFunction">>;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDotScreen, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDotScreen, "ngtp-dot-screen", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDotScreen, "ngtp-dot-screen", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
15
15
  }
@@ -9,5 +9,5 @@ export declare class NgtpFXAA {
9
9
  blendFunction?: import("postprocessing").BlendFunction | undefined;
10
10
  }>, "blendFunction">>;
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpFXAA, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpFXAA, "ngtp-fxaa", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpFXAA, "ngtp-fxaa", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
13
13
  }
@@ -13,7 +13,6 @@ export declare class NgtpGlitch {
13
13
  autoEffect: (autoEffectCallback: (autoEffectInjector: import("@angular/core").Injector) => void | (() => void), options?: Omit<import("@angular/core").CreateEffectOptions, "injector"> | undefined) => import("@angular/core").EffectRef;
14
14
  store: import("angular-three").NgtSignalStore<import("angular-three").NgtState>;
15
15
  invalidate: import("@angular/core").Signal<(frames?: number | undefined) => void>;
16
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<GlitchEffect>>;
17
16
  options: import("@angular/core").InputSignalWithTransform<GlitchOptions, "" | Partial<{
18
17
  active: boolean;
19
18
  }>>;
@@ -26,5 +25,5 @@ export declare class NgtpGlitch {
26
25
  effect: import("@angular/core").Signal<GlitchEffect>;
27
26
  constructor();
28
27
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGlitch, never>;
29
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGlitch, "ngtp-glitch", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGlitch, "ngtp-glitch", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
30
29
  }
@@ -12,7 +12,6 @@ export declare class NgtpGodRays {
12
12
  downSamplingPass: import("postprocessing").DepthDownsamplingPass | null;
13
13
  resolutionScale: number | undefined;
14
14
  }>;
15
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<GodRaysEffect>>;
16
15
  options: import("@angular/core").InputSignal<{
17
16
  blendFunction?: import("postprocessing").BlendFunction | undefined;
18
17
  samples?: number | undefined;
@@ -34,5 +33,5 @@ export declare class NgtpGodRays {
34
33
  effect: import("@angular/core").Signal<GodRaysEffect>;
35
34
  constructor();
36
35
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGodRays, never>;
37
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGodRays, "ngtp-god-rays", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
36
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGodRays, "ngtp-god-rays", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
38
37
  }
@@ -10,7 +10,6 @@ export declare class NgtpGrid {
10
10
  autoEffect: (autoEffectCallback: (autoEffectInjector: import("@angular/core").Injector) => void | (() => void), options?: Omit<import("@angular/core").CreateEffectOptions, "injector"> | undefined) => import("@angular/core").EffectRef;
11
11
  store: import("angular-three").NgtSignalStore<import("angular-three").NgtState>;
12
12
  invalidate: import("@angular/core").Signal<(frames?: number | undefined) => void>;
13
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<GridEffect>>;
14
13
  options: import("@angular/core").InputSignal<GridOptions>;
15
14
  size: import("@angular/core").Signal<{
16
15
  width: number;
@@ -19,6 +18,6 @@ export declare class NgtpGrid {
19
18
  effect: import("@angular/core").Signal<GridEffect>;
20
19
  constructor();
21
20
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGrid, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGrid, "ngtp-grid", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGrid, "ngtp-grid", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
23
22
  }
24
23
  export {};
@@ -11,5 +11,5 @@ export declare class NgtpHueSaturation {
11
11
  saturation?: number | undefined;
12
12
  }>, "blendFunction">>;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpHueSaturation, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpHueSaturation, "ngtp-hue-saturation", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpHueSaturation, "ngtp-hue-saturation", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
15
15
  }
@@ -52,7 +52,6 @@ export declare class NgtpLensFlare {
52
52
  downSamplingPass: import("postprocessing").DepthDownsamplingPass | null;
53
53
  resolutionScale: number | undefined;
54
54
  }>;
55
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<LensFlareEffect>>;
56
55
  options: import("@angular/core").InputSignalWithTransform<{
57
56
  blendFunction?: BlendFunction | undefined;
58
57
  enabled?: boolean | undefined;
@@ -107,5 +106,5 @@ export declare class NgtpLensFlare {
107
106
  effect: import("@angular/core").Signal<LensFlareEffect>;
108
107
  constructor();
109
108
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLensFlare, never>;
110
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLensFlare, "ngtp-lens-flare", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
109
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLensFlare, "ngtp-lens-flare", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
111
110
  }
@@ -10,11 +10,10 @@ export declare class NgtpLUT {
10
10
  autoEffect: (autoEffectCallback: (autoEffectInjector: import("@angular/core").Injector) => void | (() => void), options?: Omit<import("@angular/core").CreateEffectOptions, "injector"> | undefined) => import("@angular/core").EffectRef;
11
11
  store: import("angular-three").NgtSignalStore<import("angular-three").NgtState>;
12
12
  invalidate: import("@angular/core").Signal<(frames?: number | undefined) => void>;
13
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<LUT3DEffect>>;
14
13
  options: import("@angular/core").InputSignal<LUTOptions>;
15
14
  lut: import("@angular/core").Signal<Texture>;
16
15
  effect: import("@angular/core").Signal<LUT3DEffect>;
17
16
  constructor();
18
17
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLUT, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLUT, "ngtp-lut", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLUT, "ngtp-lut", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
20
19
  }
@@ -10,5 +10,5 @@ export declare class NgtpNoise {
10
10
  premultiply?: boolean | undefined;
11
11
  }>, "blendFunction">>;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpNoise, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpNoise, "ngtp-noise", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpNoise, "ngtp-noise", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
14
14
  }
@@ -4,7 +4,6 @@ export interface PixelationOptions {
4
4
  granularity: number;
5
5
  }
6
6
  export declare class NgtpPixelation {
7
- effectRef: import("@angular/core").InputSignal<import("angular-three").NgtInjectedRef<PixelationEffect>>;
8
7
  options: import("@angular/core").InputSignalWithTransform<{
9
8
  granularity: number;
10
9
  }, "" | Partial<{
@@ -13,5 +12,5 @@ export declare class NgtpPixelation {
13
12
  granularity: import("@angular/core").Signal<number>;
14
13
  effect: import("@angular/core").Signal<PixelationEffect>;
15
14
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpPixelation, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpPixelation, "ngtp-pixelation", never, { "effectRef": { "alias": "effectRef"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpPixelation, "ngtp-pixelation", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
17
16
  }
@@ -13,5 +13,5 @@ export declare class NgtpScanline {
13
13
  density?: number | undefined;
14
14
  }>, "blendFunction">>>;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpScanline, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpScanline, "ngtp-scanline", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpScanline, "ngtp-scanline", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
17
17
  }
@@ -10,5 +10,5 @@ export declare class NgtpSepia {
10
10
  intensity?: number | undefined;
11
11
  }>, "blendFunction">>;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSepia, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSepia, "ngtp-sepia", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSepia, "ngtp-sepia", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
14
14
  }
@@ -7,5 +7,5 @@ export declare class NgtpShockWave {
7
7
  effect: NgtpEffect;
8
8
  options: import("@angular/core").InputSignal<Omit<Partial<import("three").Camera>, "blendFunction">>;
9
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpShockWave, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpShockWave, "ngtp-shock-wave", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpShockWave, "ngtp-shock-wave", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
11
11
  }
@@ -11,5 +11,5 @@ export declare class NgtpSMAA {
11
11
  predicationMode?: import("postprocessing").PredicationMode | undefined;
12
12
  }>, "blendFunction">>;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSMAA, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSMAA, "ngtp-smaa", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSMAA, "ngtp-smaa", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
15
15
  }
@@ -31,5 +31,5 @@ export declare class NgtpTiltShift2 {
31
31
  direction?: number[] | undefined;
32
32
  }>, "blendFunction">>;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpTiltShift2, never>;
34
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpTiltShift2, "ngtp-tilt-shift2", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpTiltShift2, "ngtp-tilt-shift2", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
35
35
  }
@@ -18,5 +18,5 @@ export declare class NgtpTiltShift {
18
18
  resolutionY?: number | undefined;
19
19
  }>, "blendFunction">>;
20
20
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpTiltShift, never>;
21
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpTiltShift, "ngtp-tilt-shift", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpTiltShift, "ngtp-tilt-shift", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
22
22
  }
@@ -13,5 +13,5 @@ export declare class NgtpVignette {
13
13
  darkness?: number | undefined;
14
14
  }>, "blendFunction">>;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpVignette, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpVignette, "ngtp-vignette", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpVignette, "ngtp-vignette", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
17
17
  }
@@ -16,5 +16,5 @@ export declare class NgtpWater {
16
16
  factor?: number | undefined;
17
17
  }>, "blendFunction">>;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpWater, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<NgtpWater, "ngtp-water", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; "effectRef": "effectRef"; }; outputs: {}; }]>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<NgtpWater, "ngtp-water", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
20
20
  }
package/package.json CHANGED
@@ -1,56 +1,55 @@
1
1
  {
2
- "name": "angular-three-postprocessing",
3
- "version": "2.0.0-beta.242",
4
- "publishConfig": {
5
- "access": "public"
6
- },
7
- "repository": {
8
- "type": "git",
9
- "url": "https://github.com/angular-threejs/angular-three/tree/main/libs/postprocessing"
10
- },
11
- "author": {
12
- "name": "Chau Tran",
13
- "email": "nartc7789@gmail.com",
14
- "url": "https://nartc.me"
15
- },
16
- "description": "Postprocessing for Angular Three",
17
- "keywords": [
18
- "angular",
19
- "threejs",
20
- "renderer",
21
- "postprocessing"
22
- ],
23
- "license": "MIT",
24
- "peerDependencies": {
25
- "@angular/common": "^18.0.0",
26
- "@angular/core": "^18.0.0",
27
- "maath": "^0.10.0",
28
- "ngxtension": "^3.0.0",
29
- "postprocessing": "^6.0.0",
30
- "three": ">=0.148.0",
31
- "three-stdlib": "^2.0.0"
32
- },
33
- "peerDependenciesMeta": {
34
- "maath": {
35
- "optional": true
36
- }
37
- },
38
- "dependencies": {
39
- "tslib": "^2.3.0"
40
- },
41
- "sideEffects": false,
42
- "module": "fesm2022/angular-three-postprocessing.mjs",
43
- "typings": "index.d.ts",
44
- "exports": {
45
- "./package.json": {
46
- "default": "./package.json"
47
- },
48
- ".": {
49
- "types": "./index.d.ts",
50
- "esm2022": "./esm2022/angular-three-postprocessing.mjs",
51
- "esm": "./esm2022/angular-three-postprocessing.mjs",
52
- "default": "./fesm2022/angular-three-postprocessing.mjs"
53
- }
54
- }
2
+ "name": "angular-three-postprocessing",
3
+ "version": "2.0.0-beta.244",
4
+ "publishConfig": {
5
+ "access": "public"
6
+ },
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/angular-threejs/angular-three/tree/main/libs/postprocessing"
10
+ },
11
+ "author": {
12
+ "name": "Chau Tran",
13
+ "email": "nartc7789@gmail.com",
14
+ "url": "https://nartc.me"
15
+ },
16
+ "description": "Postprocessing for Angular Three",
17
+ "keywords": [
18
+ "angular",
19
+ "threejs",
20
+ "renderer",
21
+ "postprocessing"
22
+ ],
23
+ "license": "MIT",
24
+ "peerDependencies": {
25
+ "@angular/common": "^18.0.0",
26
+ "@angular/core": "^18.0.0",
27
+ "maath": "^0.10.0",
28
+ "ngxtension": "^3.0.0",
29
+ "postprocessing": "^6.0.0",
30
+ "three": ">=0.148.0",
31
+ "three-stdlib": "^2.0.0"
32
+ },
33
+ "peerDependenciesMeta": {
34
+ "maath": {
35
+ "optional": true
36
+ }
37
+ },
38
+ "dependencies": {
39
+ "tslib": "^2.3.0"
40
+ },
41
+ "sideEffects": false,
42
+ "module": "fesm2022/angular-three-postprocessing.mjs",
43
+ "typings": "index.d.ts",
44
+ "exports": {
45
+ "./package.json": {
46
+ "default": "./package.json"
47
+ },
48
+ ".": {
49
+ "types": "./index.d.ts",
50
+ "esm2022": "./esm2022/angular-three-postprocessing.mjs",
51
+ "esm": "./esm2022/angular-three-postprocessing.mjs",
52
+ "default": "./fesm2022/angular-three-postprocessing.mjs"
53
+ }
54
+ }
55
55
  }
56
-