angular-three-postprocessing 3.7.0 → 4.0.0-next.2

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.
@@ -1,4 +1,4 @@
1
- import { Camera, Scene, TextureDataType } from 'three';
1
+ import * as THREE from 'three';
2
2
  import * as i0 from "@angular/core";
3
3
  export interface NgtpEffectComposerOptions {
4
4
  enabled: boolean;
@@ -9,19 +9,15 @@ export interface NgtpEffectComposerOptions {
9
9
  autoClear: boolean;
10
10
  resolutionScale?: number;
11
11
  multisampling: number;
12
- frameBufferType: TextureDataType;
12
+ frameBufferType: THREE.TextureDataType;
13
13
  renderPriority: number;
14
- camera?: Camera;
15
- scene?: Scene;
14
+ camera?: THREE.Camera;
15
+ scene?: THREE.Scene;
16
16
  }
17
17
  export declare class NgtpEffectComposer {
18
18
  options: import("@angular/core").InputSignalWithTransform<NgtpEffectComposerOptions, "" | Partial<NgtpEffectComposerOptions>>;
19
19
  private injector;
20
20
  private store;
21
- private size;
22
- private gl;
23
- private defaultScene;
24
- private defaultCamera;
25
21
  private depthBuffer;
26
22
  private stencilBuffer;
27
23
  private multisampling;
@@ -30,8 +26,8 @@ export declare class NgtpEffectComposer {
30
26
  private resolutionScale;
31
27
  private enabled;
32
28
  private renderPriority;
33
- scene: import("@angular/core").Signal<Scene>;
34
- camera: import("@angular/core").Signal<Camera>;
29
+ scene: import("@angular/core").Signal<THREE.Scene>;
30
+ camera: import("@angular/core").Signal<THREE.Camera>;
35
31
  private groupRef;
36
32
  private priority;
37
33
  private composerData;
package/lib/effect.d.ts CHANGED
@@ -45,8 +45,8 @@ export declare class NgtpEffect {
45
45
  blendFunction: import("@angular/core").InputSignal<BlendFunction | undefined>;
46
46
  opacity: import("@angular/core").InputSignal<number | undefined>;
47
47
  private store;
48
- camera: import("@angular/core").Signal<import("angular-three").NgtCameraManual>;
49
- invalidate: import("@angular/core").Signal<(frames?: number) => void>;
48
+ camera: import("angular-three").DeepSignal<import("angular-three").NgtCamera>;
49
+ invalidate: import("angular-three").Signal<(frames?: number) => void>;
50
50
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffect, never>;
51
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>;
52
52
  }
@@ -1,5 +1,5 @@
1
1
  import { Effect } from 'postprocessing';
2
- import { Texture } from 'three';
2
+ import * as THREE from 'three';
3
3
  import * as i0 from "@angular/core";
4
4
  interface ASCIIEffectOptions {
5
5
  font?: string;
@@ -12,11 +12,11 @@ interface ASCIIEffectOptions {
12
12
  export declare class ASCIIEffect extends Effect {
13
13
  constructor({ font, characters, fontSize, cellSize, color, invert, }?: ASCIIEffectOptions);
14
14
  /** Draws the characters on a Canvas and returns a texture */
15
- createCharactersTexture(characters: string, font: string, fontSize: number): Texture;
15
+ createCharactersTexture(characters: string, font: string, fontSize: number): THREE.Texture;
16
16
  }
17
17
  export declare class NgtpASCII {
18
18
  options: import("@angular/core").InputSignalWithTransform<ASCIIEffectOptions, "" | Partial<ASCIIEffectOptions>>;
19
- effect: import("@angular/core").Signal<ASCIIEffect>;
19
+ protected effect: import("@angular/core").Signal<ASCIIEffect>;
20
20
  constructor();
21
21
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpASCII, never>;
22
22
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpASCII, "ngtp-ascii", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -3,8 +3,9 @@ import { NgtpEffect } from '../effect';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export declare class NgtpBloom {
6
- effect: NgtpEffect;
7
6
  options: import("@angular/core").InputSignal<Omit<BloomEffectOptions, "blendFunction">>;
7
+ protected effect: NgtpEffect;
8
+ constructor();
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpBloom, never>;
9
10
  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
11
  }
@@ -4,12 +4,13 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type BrightnessEffectOptions = NonNullable<ConstructorParameters<typeof BrightnessContrastEffect>[0]>;
6
6
  export declare class NgtpBrightnessContrast {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  brightness?: number;
11
10
  contrast?: number;
12
11
  }, "blendFunction">>;
12
+ protected effect: NgtpEffect;
13
+ constructor();
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpBrightnessContrast, never>;
14
15
  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
16
  }
@@ -4,13 +4,14 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type ChromaticAberrationEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ChromaticAberrationEffect>[0]>>;
6
6
  export declare class NgtpChromaticAberration {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  offset?: import("three").Vector2;
11
10
  radialModulation: boolean;
12
11
  modulationOffset: number;
13
12
  }>, "blendFunction">>;
13
+ protected effect: NgtpEffect;
14
+ constructor();
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpChromaticAberration, never>;
15
16
  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
17
  }
@@ -6,6 +6,7 @@ export declare class NgtpColorAverage {
6
6
  }, "" | Partial<{
7
7
  blendFunction: BlendFunction;
8
8
  }>>;
9
+ constructor();
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpColorAverage, never>;
10
11
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpColorAverage, "ngtp-color-average", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
11
12
  }
@@ -4,11 +4,12 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type ColorDepthEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ColorDepthEffect>[0]>>;
6
6
  export declare class NgtpColorDepth {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  bits?: number;
11
10
  }>, "blendFunction">>;
11
+ protected effect: NgtpEffect;
12
+ constructor();
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpColorDepth, never>;
13
14
  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
15
  }
@@ -1,19 +1,18 @@
1
1
  import { NgtVector3 } from 'angular-three';
2
2
  import { DepthOfFieldEffect } from 'postprocessing';
3
- import { DepthPackingStrategies, Texture } from 'three';
3
+ import * as THREE from 'three';
4
4
  import * as i0 from "@angular/core";
5
5
  type DOFOptions = NonNullable<ConstructorParameters<typeof DepthOfFieldEffect>[1]> & Partial<{
6
6
  target: NgtVector3;
7
7
  depthTexture: {
8
- texture: Texture;
9
- packing: DepthPackingStrategies;
8
+ texture: THREE.Texture;
9
+ packing: THREE.DepthPackingStrategies;
10
10
  };
11
11
  }>;
12
12
  export declare class NgtpDepthOfField {
13
13
  options: import("@angular/core").InputSignal<DOFOptions>;
14
- private autoFocus;
15
14
  private effectComposer;
16
- effect: import("@angular/core").Signal<DepthOfFieldEffect>;
15
+ protected effect: import("@angular/core").Signal<DepthOfFieldEffect>;
17
16
  constructor();
18
17
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDepthOfField, never>;
19
18
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDepthOfField, "ngtp-depth-of-field", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -4,11 +4,12 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type DepthEffectOptions = Partial<NonNullable<ConstructorParameters<typeof DepthEffect>[0]>>;
6
6
  export declare class NgtpDepth {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  inverted?: boolean;
11
10
  }>, "blendFunction">>;
11
+ protected effect: NgtpEffect;
12
+ constructor();
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDepth, never>;
13
14
  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
15
  }
@@ -4,12 +4,13 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type DotScreenEffectOptions = Partial<NonNullable<ConstructorParameters<typeof DotScreenEffect>[0]>>;
6
6
  export declare class NgtpDotScreen {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  angle?: number;
11
10
  scale?: number;
12
11
  }>, "blendFunction">>;
12
+ protected effect: NgtpEffect;
13
+ constructor();
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDotScreen, never>;
14
15
  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
16
  }
@@ -4,10 +4,11 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type FXAAEffectOptions = Partial<NonNullable<ConstructorParameters<typeof FXAAEffect>[0]>>;
6
6
  export declare class NgtpFXAA {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  }>, "blendFunction">>;
10
+ protected effect: NgtpEffect;
11
+ constructor();
11
12
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpFXAA, never>;
12
13
  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
14
  }
@@ -15,12 +15,16 @@ export declare class NgtpGlitch {
15
15
  }>>;
16
16
  private active;
17
17
  private mode;
18
+ private ratio;
19
+ private dtSize;
20
+ private columns;
21
+ private blendFunction;
22
+ private perturbationMap;
18
23
  private delay;
19
24
  private duration;
20
25
  private chromaticAberrationOffset;
21
26
  private strength;
22
27
  private store;
23
- private invalidate;
24
28
  effect: import("@angular/core").Signal<GlitchEffect>;
25
29
  constructor();
26
30
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGlitch, never>;
@@ -1,6 +1,6 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { GodRaysEffect } from 'postprocessing';
3
- import { Mesh, Points } from 'three';
3
+ import * as THREE from 'three';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class NgtpGodRays {
6
6
  options: import("@angular/core").InputSignal<{
@@ -19,10 +19,13 @@ export declare class NgtpGodRays {
19
19
  kernelSize?: import("postprocessing").KernelSize;
20
20
  blur?: boolean;
21
21
  } & {
22
- sun: Mesh | Points | ElementRef<Mesh | Points>;
22
+ sun: THREE.Mesh | THREE.Points | ElementRef<THREE.Mesh | THREE.Points> | (() => THREE.Mesh | THREE.Points | ElementRef<THREE.Mesh | THREE.Points> | undefined);
23
23
  }>;
24
24
  private effectComposer;
25
- effect: import("@angular/core").Signal<GodRaysEffect>;
25
+ private effectOptions;
26
+ private sun;
27
+ private sunElement;
28
+ protected effect: import("@angular/core").Signal<GodRaysEffect>;
26
29
  constructor();
27
30
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGodRays, never>;
28
31
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGodRays, "ngtp-god-rays", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -8,8 +8,9 @@ type GridOptions = NonNullable<ConstructorParameters<typeof GridEffect>[0]> & Pa
8
8
  }>;
9
9
  export declare class NgtpGrid {
10
10
  options: import("@angular/core").InputSignal<GridOptions>;
11
+ private effectOptions;
11
12
  private size;
12
- effect: import("@angular/core").Signal<GridEffect>;
13
+ protected effect: import("@angular/core").Signal<GridEffect>;
13
14
  constructor();
14
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGrid, never>;
15
16
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGrid, "ngtp-grid", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -4,12 +4,13 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type HueSaturationEffectOptions = Partial<NonNullable<ConstructorParameters<typeof HueSaturationEffect>[0]>>;
6
6
  export declare class NgtpHueSaturation {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  hue?: number;
11
10
  saturation?: number;
12
11
  }>, "blendFunction">>;
12
+ protected effect: NgtpEffect;
13
+ constructor();
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpHueSaturation, never>;
14
15
  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
16
  }
@@ -1,5 +1,6 @@
1
+ import { NgtVector3 } from 'angular-three';
1
2
  import { BlendFunction, Effect } from 'postprocessing';
2
- import { Color, Texture, Vector3, WebGLRenderTarget, WebGLRenderer } from 'three';
3
+ import * as THREE from 'three';
3
4
  import * as i0 from "@angular/core";
4
5
  export declare class LensFlareEffect extends Effect {
5
6
  constructor({ blendFunction, enabled, glareSize, lensPosition, iResolution, starPoints, flareSize, flareSpeed, flareShape, animated, anamorphic, colorGain, lensDirtTexture, haloScale, secondaryGhosts, aditionalStreaks, ghostScale, opacity, starBurst, }?: {
@@ -14,8 +15,8 @@ export declare class LensFlareEffect extends Effect {
14
15
  flareShape?: number | undefined;
15
16
  animated?: boolean | undefined;
16
17
  anamorphic?: boolean | undefined;
17
- colorGain?: Color | undefined;
18
- lensDirtTexture?: Texture | null | undefined;
18
+ colorGain?: THREE.Color | undefined;
19
+ lensDirtTexture?: THREE.Texture | null | undefined;
19
20
  haloScale?: number | undefined;
20
21
  secondaryGhosts?: boolean | undefined;
21
22
  aditionalStreaks?: boolean | undefined;
@@ -23,10 +24,10 @@ export declare class LensFlareEffect extends Effect {
23
24
  opacity?: number | undefined;
24
25
  starBurst?: boolean | undefined;
25
26
  });
26
- update(_renderer: WebGLRenderer, _inputBuffer: WebGLRenderTarget, deltaTime: number): void;
27
+ update(_renderer: THREE.WebGLRenderer, _inputBuffer: THREE.WebGLRenderTarget, deltaTime: number): void;
27
28
  }
28
29
  export type LensFlareOptions = ConstructorParameters<typeof LensFlareEffect>[0] & {
29
- position: Vector3;
30
+ position: NgtVector3;
30
31
  followMouse: boolean;
31
32
  smoothTime: number;
32
33
  };
@@ -43,8 +44,8 @@ export declare class NgtpLensFlare {
43
44
  flareShape?: number | undefined;
44
45
  animated?: boolean | undefined;
45
46
  anamorphic?: boolean | undefined;
46
- colorGain?: Color | undefined;
47
- lensDirtTexture?: Texture | null | undefined;
47
+ colorGain?: THREE.Color | undefined;
48
+ lensDirtTexture?: THREE.Texture | null | undefined;
48
49
  haloScale?: number | undefined;
49
50
  secondaryGhosts?: boolean | undefined;
50
51
  aditionalStreaks?: boolean | undefined;
@@ -52,7 +53,7 @@ export declare class NgtpLensFlare {
52
53
  opacity?: number | undefined;
53
54
  starBurst?: boolean | undefined;
54
55
  } & {
55
- position: Vector3;
56
+ position: NgtVector3;
56
57
  followMouse: boolean;
57
58
  smoothTime: number;
58
59
  }, "" | Partial<{
@@ -67,8 +68,8 @@ export declare class NgtpLensFlare {
67
68
  flareShape?: number | undefined;
68
69
  animated?: boolean | undefined;
69
70
  anamorphic?: boolean | undefined;
70
- colorGain?: Color | undefined;
71
- lensDirtTexture?: Texture | null | undefined;
71
+ colorGain?: THREE.Color | undefined;
72
+ lensDirtTexture?: THREE.Texture | null | undefined;
72
73
  haloScale?: number | undefined;
73
74
  secondaryGhosts?: boolean | undefined;
74
75
  aditionalStreaks?: boolean | undefined;
@@ -76,18 +77,17 @@ export declare class NgtpLensFlare {
76
77
  opacity?: number | undefined;
77
78
  starBurst?: boolean | undefined;
78
79
  } & {
79
- position: Vector3;
80
+ position: NgtVector3;
80
81
  followMouse: boolean;
81
82
  smoothTime: number;
82
83
  }>>;
83
84
  private store;
84
- private viewport;
85
- private raycaster;
86
- private pointer;
87
85
  private effectComposer;
86
+ private effectOptions;
87
+ private position;
88
88
  private projectedPosition;
89
89
  private mouse2d;
90
- effect: import("@angular/core").Signal<LensFlareEffect>;
90
+ protected effect: import("@angular/core").Signal<LensFlareEffect>;
91
91
  constructor();
92
92
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLensFlare, never>;
93
93
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLensFlare, "ngtp-lens-flare", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -1,17 +1,17 @@
1
1
  import { BlendFunction, LUT3DEffect } from 'postprocessing';
2
- import { Texture } from 'three';
2
+ import * as THREE from 'three';
3
3
  import * as i0 from "@angular/core";
4
4
  export interface LUTOptions {
5
- lut: Texture;
5
+ lut: THREE.Texture;
6
6
  blendFunction?: BlendFunction;
7
7
  tetrahedralInterpolation?: boolean;
8
8
  }
9
9
  export declare class NgtpLUT {
10
10
  options: import("@angular/core").InputSignal<LUTOptions>;
11
11
  private lut;
12
+ private tetrahedralInterpolation;
12
13
  private store;
13
- private invalidate;
14
- effect: import("@angular/core").Signal<LUT3DEffect>;
14
+ protected effect: import("@angular/core").Signal<LUT3DEffect>;
15
15
  constructor();
16
16
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLUT, never>;
17
17
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLUT, "ngtp-lut", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -4,11 +4,12 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type NoiseEffectOptions = Partial<NonNullable<ConstructorParameters<typeof NoiseEffect>[0]>>;
6
6
  export declare class NgtpNoise {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: BlendFunction;
10
9
  premultiply?: boolean;
11
10
  }>, "blendFunction">>;
11
+ protected effect: NgtpEffect;
12
+ constructor();
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpNoise, never>;
13
14
  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
15
  }
@@ -1,15 +1,15 @@
1
1
  import { ElementRef } from '@angular/core';
2
2
  import { OutlineEffect } from 'postprocessing';
3
- import { Object3D } from 'three';
3
+ import * as THREE from 'three';
4
4
  import * as i0 from "@angular/core";
5
5
  export type NgtpOutlineOptions = ConstructorParameters<typeof OutlineEffect>[2] & {
6
- selection?: Array<Object3D | ElementRef<Object3D>>;
6
+ selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
7
7
  selectionLayer: number;
8
8
  };
9
9
  export declare class NgtpOutline {
10
10
  options: import("@angular/core").InputSignalWithTransform<{
11
11
  blendFunction?: import("postprocessing").BlendFunction;
12
- patternTexture?: import("three").Texture;
12
+ patternTexture?: THREE.Texture;
13
13
  patternScale?: number;
14
14
  edgeStrength?: number;
15
15
  pulseSpeed?: number;
@@ -25,11 +25,11 @@ export declare class NgtpOutline {
25
25
  blur?: boolean;
26
26
  xRay?: boolean;
27
27
  } & {
28
- selection?: Array<Object3D | ElementRef<Object3D>>;
28
+ selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
29
29
  selectionLayer: number;
30
30
  }, "" | Partial<{
31
31
  blendFunction?: import("postprocessing").BlendFunction;
32
- patternTexture?: import("three").Texture;
32
+ patternTexture?: THREE.Texture;
33
33
  patternScale?: number;
34
34
  edgeStrength?: number;
35
35
  pulseSpeed?: number;
@@ -45,13 +45,12 @@ export declare class NgtpOutline {
45
45
  blur?: boolean;
46
46
  xRay?: boolean;
47
47
  } & {
48
- selection?: Array<Object3D | ElementRef<Object3D>>;
48
+ selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
49
49
  selectionLayer: number;
50
50
  }>>;
51
51
  private ngtSelection;
52
52
  private effectComposer;
53
53
  private store;
54
- private invalidate;
55
54
  private selection;
56
55
  private selectionLayer;
57
56
  private blendFunction;
@@ -10,7 +10,7 @@ export declare class NgtpPixelation {
10
10
  granularity: number;
11
11
  }>>;
12
12
  private granularity;
13
- effect: import("@angular/core").Signal<PixelationEffect>;
13
+ protected effect: import("@angular/core").Signal<PixelationEffect>;
14
14
  constructor();
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpPixelation, never>;
16
16
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpPixelation, "ngtp-pixelation", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -4,7 +4,6 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type ScanlineEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ScanlineEffect>[0]>>;
6
6
  export declare class NgtpScanline {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignalWithTransform<Omit<Partial<{
9
8
  blendFunction?: BlendFunction;
10
9
  density?: number;
@@ -12,6 +11,8 @@ export declare class NgtpScanline {
12
11
  blendFunction?: BlendFunction;
13
12
  density?: number;
14
13
  }>, "blendFunction">>>;
14
+ protected effect: NgtpEffect;
15
+ constructor();
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpScanline, never>;
16
17
  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
18
  }
@@ -4,11 +4,12 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type SepiaEffectOptions = Partial<NonNullable<ConstructorParameters<typeof SepiaEffect>[0]>>;
6
6
  export declare class NgtpSepia {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  intensity?: number;
11
10
  }>, "blendFunction">>;
11
+ protected effect: NgtpEffect;
12
+ constructor();
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSepia, never>;
13
14
  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
15
  }
@@ -4,8 +4,9 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type ShockWaveEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ShockWaveEffect>[0]>>;
6
6
  export declare class NgtpShockWave {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<import("three").Camera>, "blendFunction">>;
8
+ protected effect: NgtpEffect;
9
+ constructor();
9
10
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpShockWave, never>;
10
11
  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
12
  }
@@ -4,12 +4,13 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type SMAAEffectOptions = Partial<NonNullable<ConstructorParameters<typeof SMAAEffect>[0]>>;
6
6
  export declare class NgtpSMAA {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  preset?: import("postprocessing").SMAAPreset;
10
9
  edgeDetectionMode?: import("postprocessing").EdgeDetectionMode;
11
10
  predicationMode?: import("postprocessing").PredicationMode;
12
11
  }>, "blendFunction">>;
12
+ protected effect: NgtpEffect;
13
+ constructor();
13
14
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSMAA, never>;
14
15
  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
16
  }
@@ -20,7 +20,6 @@ export declare class TiltShift2Effect extends Effect {
20
20
  }
21
21
  export type TiltShift2EffectOptions = Partial<NonNullable<ConstructorParameters<typeof TiltShift2Effect>[0]>>;
22
22
  export declare class NgtpTiltShift2 {
23
- effect: NgtpEffect;
24
23
  options: import("@angular/core").InputSignal<Omit<Partial<{
25
24
  blendFunction?: BlendFunction | undefined;
26
25
  blur?: number | undefined;
@@ -30,6 +29,7 @@ export declare class NgtpTiltShift2 {
30
29
  samples?: number | undefined;
31
30
  direction?: number[] | undefined;
32
31
  }>, "blendFunction">>;
32
+ protected effect: NgtpEffect;
33
33
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpTiltShift2, never>;
34
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
  }
@@ -4,7 +4,6 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type TiltShiftEffectOptions = Partial<NonNullable<ConstructorParameters<typeof TiltShiftEffect>[0]>>;
6
6
  export declare class NgtpTiltShift {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: BlendFunction;
10
9
  offset?: number;
@@ -17,6 +16,8 @@ export declare class NgtpTiltShift {
17
16
  resolutionX?: number;
18
17
  resolutionY?: number;
19
18
  }>, "blendFunction">>;
19
+ protected effect: NgtpEffect;
20
+ constructor();
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpTiltShift, never>;
21
22
  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
23
  }
@@ -4,7 +4,6 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type ToneMappingEffectOptions = NonNullable<ConstructorParameters<typeof ToneMappingEffect>[0]>;
6
6
  export declare class NgtpToneMapping {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  adaptive?: boolean;
@@ -17,6 +16,8 @@ export declare class NgtpToneMapping {
17
16
  averageLuminance?: number;
18
17
  adaptationRate?: number;
19
18
  }, "blendFunction">>;
19
+ protected effect: NgtpEffect;
20
+ constructor();
20
21
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpToneMapping, never>;
21
22
  static ɵcmp: i0.ɵɵComponentDeclaration<NgtpToneMapping, "ngtp-tone-mapping", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
22
23
  }
@@ -4,7 +4,6 @@ import * as i0 from "@angular/core";
4
4
  import * as i1 from "../effect";
5
5
  export type VignetteEffectOptions = Partial<NonNullable<ConstructorParameters<typeof VignetteEffect>[0]>>;
6
6
  export declare class NgtpVignette {
7
- effect: NgtpEffect;
8
7
  options: import("@angular/core").InputSignal<Omit<Partial<{
9
8
  blendFunction?: import("postprocessing").BlendFunction;
10
9
  technique?: import("postprocessing").VignetteTechnique;
@@ -12,6 +11,8 @@ export declare class NgtpVignette {
12
11
  offset?: number;
13
12
  darkness?: number;
14
13
  }>, "blendFunction">>;
14
+ protected effect: NgtpEffect;
15
+ constructor();
15
16
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpVignette, never>;
16
17
  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
18
  }
@@ -10,11 +10,12 @@ export declare class WaterEffect extends Effect {
10
10
  }
11
11
  export type WaterEffectOptions = Partial<NonNullable<ConstructorParameters<typeof WaterEffect>[0]>>;
12
12
  export declare class NgtpWater {
13
- effect: NgtpEffect;
14
13
  options: import("@angular/core").InputSignal<Omit<Partial<{
15
14
  blendFunction?: BlendFunction | undefined;
16
15
  factor?: number | undefined;
17
16
  }>, "blendFunction">>;
17
+ protected effect: NgtpEffect;
18
+ constructor();
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<NgtpWater, never>;
19
20
  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
21
  }