angular-three-postprocessing 4.0.0-next.99 → 4.0.0
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.
- package/README.md +80 -21
- package/fesm2022/angular-three-postprocessing-n8ao.mjs +42 -7
- package/fesm2022/angular-three-postprocessing-n8ao.mjs.map +1 -1
- package/fesm2022/angular-three-postprocessing.mjs +1185 -241
- package/fesm2022/angular-three-postprocessing.mjs.map +1 -1
- package/n8ao/README.md +143 -0
- package/package.json +7 -7
- package/types/angular-three-postprocessing-n8ao.d.ts +167 -0
- package/types/angular-three-postprocessing.d.ts +1887 -0
- package/index.d.ts +0 -3
- package/lib/effect-composer.d.ts +0 -38
- package/lib/effect.d.ts +0 -52
- package/lib/effects/ascii.d.ts +0 -24
- package/lib/effects/bloom.d.ts +0 -11
- package/lib/effects/brightness-contrast.d.ts +0 -16
- package/lib/effects/chromatic-abberation.d.ts +0 -17
- package/lib/effects/color-average.d.ts +0 -12
- package/lib/effects/color-depth.d.ts +0 -15
- package/lib/effects/depth-of-field.d.ts +0 -20
- package/lib/effects/depth.d.ts +0 -15
- package/lib/effects/dot-screen.d.ts +0 -16
- package/lib/effects/fxaa.d.ts +0 -14
- package/lib/effects/glitch.d.ts +0 -32
- package/lib/effects/god-rays.d.ts +0 -32
- package/lib/effects/grid.d.ts +0 -18
- package/lib/effects/hue-saturation.d.ts +0 -16
- package/lib/effects/index.d.ts +0 -29
- package/lib/effects/lens-flare.d.ts +0 -94
- package/lib/effects/lut.d.ts +0 -18
- package/lib/effects/noise.d.ts +0 -15
- package/lib/effects/outline.d.ts +0 -73
- package/lib/effects/pixelation.d.ts +0 -17
- package/lib/effects/scanline.d.ts +0 -18
- package/lib/effects/selective-bloom.d.ts +0 -42
- package/lib/effects/sepia.d.ts +0 -15
- package/lib/effects/shock-wave.d.ts +0 -12
- package/lib/effects/smaa.d.ts +0 -16
- package/lib/effects/tilt-shift-2.d.ts +0 -35
- package/lib/effects/tilt-shift.d.ts +0 -23
- package/lib/effects/tone-mapping.d.ts +0 -23
- package/lib/effects/vignette.d.ts +0 -18
- package/lib/effects/water.d.ts +0 -21
- package/n8ao/index.d.ts +0 -1
- package/n8ao/lib/n8ao.d.ts +0 -35
package/index.d.ts
DELETED
package/lib/effect-composer.d.ts
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { EffectComposer } from 'postprocessing';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface NgtpEffectComposerOptions {
|
|
5
|
-
enabled: boolean;
|
|
6
|
-
depthBuffer?: boolean;
|
|
7
|
-
/** Only used for SSGI currently, leave it disabled for everything else unless it's needed */
|
|
8
|
-
enableNormalPass?: boolean;
|
|
9
|
-
stencilBuffer?: boolean;
|
|
10
|
-
autoClear: boolean;
|
|
11
|
-
resolutionScale?: number;
|
|
12
|
-
multisampling: number;
|
|
13
|
-
frameBufferType: THREE.TextureDataType;
|
|
14
|
-
renderPriority: number;
|
|
15
|
-
camera?: THREE.Camera;
|
|
16
|
-
scene?: THREE.Scene;
|
|
17
|
-
}
|
|
18
|
-
export declare class NgtpEffectComposer {
|
|
19
|
-
options: import("@angular/core").InputSignalWithTransform<NgtpEffectComposerOptions, "" | Partial<NgtpEffectComposerOptions>>;
|
|
20
|
-
private store;
|
|
21
|
-
private depthBuffer;
|
|
22
|
-
private stencilBuffer;
|
|
23
|
-
private multisampling;
|
|
24
|
-
private frameBufferType;
|
|
25
|
-
private enableNormalPass;
|
|
26
|
-
private resolutionScale;
|
|
27
|
-
private enabled;
|
|
28
|
-
private renderPriority;
|
|
29
|
-
scene: import("@angular/core").Signal<THREE.Scene>;
|
|
30
|
-
camera: import("@angular/core").Signal<THREE.Camera>;
|
|
31
|
-
private groupRef;
|
|
32
|
-
private priority;
|
|
33
|
-
private composerData;
|
|
34
|
-
effectComposer: import("@angular/core").Signal<EffectComposer>;
|
|
35
|
-
constructor();
|
|
36
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffectComposer, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpEffectComposer, "ngtp-effect-composer", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
38
|
-
}
|
package/lib/effect.d.ts
DELETED
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { BlendFunction } from 'postprocessing';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare const injectDefaultEffectOptions: {
|
|
4
|
-
(): {
|
|
5
|
-
blendFunction?: BlendFunction;
|
|
6
|
-
opacity?: number;
|
|
7
|
-
};
|
|
8
|
-
(injectOptions: import("@angular/core").InjectOptions & {
|
|
9
|
-
optional?: false;
|
|
10
|
-
} & {
|
|
11
|
-
injector?: import("@angular/core").Injector;
|
|
12
|
-
}): {
|
|
13
|
-
blendFunction?: BlendFunction;
|
|
14
|
-
opacity?: number;
|
|
15
|
-
};
|
|
16
|
-
(injectOptions: import("@angular/core").InjectOptions & {
|
|
17
|
-
injector?: import("@angular/core").Injector;
|
|
18
|
-
}): {
|
|
19
|
-
blendFunction?: BlendFunction;
|
|
20
|
-
opacity?: number;
|
|
21
|
-
} | null;
|
|
22
|
-
}, provideDefaultEffectOptions: ((value: {
|
|
23
|
-
blendFunction?: BlendFunction;
|
|
24
|
-
opacity?: number;
|
|
25
|
-
} | (() => {
|
|
26
|
-
blendFunction?: BlendFunction;
|
|
27
|
-
opacity?: number;
|
|
28
|
-
})) => import("@angular/core").Provider) & ((value: {
|
|
29
|
-
blendFunction?: BlendFunction;
|
|
30
|
-
opacity?: number;
|
|
31
|
-
} | (() => {
|
|
32
|
-
blendFunction?: BlendFunction;
|
|
33
|
-
opacity?: number;
|
|
34
|
-
})) => import("@angular/core").Provider);
|
|
35
|
-
export declare class NgtpEffectBlendMode {
|
|
36
|
-
effect: NgtpEffect | null;
|
|
37
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffectBlendMode, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpEffectBlendMode, "ngtp-effect-blend-mode", never, {}, {}, never, never, true, never>;
|
|
39
|
-
}
|
|
40
|
-
export declare class NgtpEffect {
|
|
41
|
-
defaultEffectOptions: {
|
|
42
|
-
blendFunction?: BlendFunction;
|
|
43
|
-
opacity?: number;
|
|
44
|
-
} | null;
|
|
45
|
-
blendFunction: import("@angular/core").InputSignal<BlendFunction | undefined>;
|
|
46
|
-
opacity: import("@angular/core").InputSignal<number | undefined>;
|
|
47
|
-
private store;
|
|
48
|
-
camera: import("angular-three").DeepSignal<import("angular-three").NgtCamera>;
|
|
49
|
-
invalidate: import("angular-three").Signal<(frames?: number) => void>;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffect, 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>;
|
|
52
|
-
}
|
package/lib/effects/ascii.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Effect } from 'postprocessing';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
interface ASCIIEffectOptions {
|
|
5
|
-
font?: string;
|
|
6
|
-
characters?: string;
|
|
7
|
-
fontSize?: number;
|
|
8
|
-
cellSize?: number;
|
|
9
|
-
color?: string;
|
|
10
|
-
invert?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export declare class ASCIIEffect extends Effect {
|
|
13
|
-
constructor({ font, characters, fontSize, cellSize, color, invert, }?: ASCIIEffectOptions);
|
|
14
|
-
/** Draws the characters on a Canvas and returns a texture */
|
|
15
|
-
createCharactersTexture(characters: string, font: string, fontSize: number): THREE.Texture;
|
|
16
|
-
}
|
|
17
|
-
export declare class NgtpASCII {
|
|
18
|
-
options: import("@angular/core").InputSignalWithTransform<ASCIIEffectOptions, "" | Partial<ASCIIEffectOptions>>;
|
|
19
|
-
protected effect: import("@angular/core").Signal<ASCIIEffect>;
|
|
20
|
-
constructor();
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpASCII, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpASCII, "ngtp-ascii", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
package/lib/effects/bloom.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BloomEffectOptions } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export declare class NgtpBloom {
|
|
6
|
-
options: import("@angular/core").InputSignal<Omit<BloomEffectOptions, "blendFunction">>;
|
|
7
|
-
protected effect: NgtpEffect;
|
|
8
|
-
constructor();
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpBloom, never>;
|
|
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: {}; }]>;
|
|
11
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { BrightnessContrastEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type BrightnessEffectOptions = NonNullable<ConstructorParameters<typeof BrightnessContrastEffect>[0]>;
|
|
6
|
-
export declare class NgtpBrightnessContrast {
|
|
7
|
-
options: import("@angular/core").InputSignal<Omit<{
|
|
8
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
9
|
-
brightness?: number;
|
|
10
|
-
contrast?: number;
|
|
11
|
-
}, "blendFunction">>;
|
|
12
|
-
protected effect: NgtpEffect;
|
|
13
|
-
constructor();
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpBrightnessContrast, never>;
|
|
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: {}; }]>;
|
|
16
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ChromaticAberrationEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type ChromaticAberrationEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ChromaticAberrationEffect>[0]>>;
|
|
6
|
-
export declare class NgtpChromaticAberration {
|
|
7
|
-
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
8
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
9
|
-
offset?: import("three").Vector2;
|
|
10
|
-
radialModulation: boolean;
|
|
11
|
-
modulationOffset: number;
|
|
12
|
-
}>, "blendFunction">>;
|
|
13
|
-
protected effect: NgtpEffect;
|
|
14
|
-
constructor();
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpChromaticAberration, never>;
|
|
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: {}; }]>;
|
|
17
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BlendFunction } from 'postprocessing';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class NgtpColorAverage {
|
|
4
|
-
options: import("@angular/core").InputSignalWithTransform<{
|
|
5
|
-
blendFunction: BlendFunction;
|
|
6
|
-
}, "" | Partial<{
|
|
7
|
-
blendFunction: BlendFunction;
|
|
8
|
-
}>>;
|
|
9
|
-
constructor();
|
|
10
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpColorAverage, never>;
|
|
11
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpColorAverage, "ngtp-color-average", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
12
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ColorDepthEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type ColorDepthEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ColorDepthEffect>[0]>>;
|
|
6
|
-
export declare class NgtpColorDepth {
|
|
7
|
-
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
8
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
9
|
-
bits?: number;
|
|
10
|
-
}>, "blendFunction">>;
|
|
11
|
-
protected effect: NgtpEffect;
|
|
12
|
-
constructor();
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpColorDepth, never>;
|
|
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: {}; }]>;
|
|
15
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { NgtVector3 } from 'angular-three';
|
|
2
|
-
import { DepthOfFieldEffect } from 'postprocessing';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
type DOFOptions = NonNullable<ConstructorParameters<typeof DepthOfFieldEffect>[1]> & Partial<{
|
|
6
|
-
target: NgtVector3;
|
|
7
|
-
depthTexture: {
|
|
8
|
-
texture: THREE.Texture;
|
|
9
|
-
packing: THREE.DepthPackingStrategies;
|
|
10
|
-
};
|
|
11
|
-
}>;
|
|
12
|
-
export declare class NgtpDepthOfField {
|
|
13
|
-
options: import("@angular/core").InputSignal<DOFOptions>;
|
|
14
|
-
private effectComposer;
|
|
15
|
-
protected effect: import("@angular/core").Signal<DepthOfFieldEffect>;
|
|
16
|
-
constructor();
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDepthOfField, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDepthOfField, "ngtp-depth-of-field", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
package/lib/effects/depth.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { DepthEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type DepthEffectOptions = Partial<NonNullable<ConstructorParameters<typeof DepthEffect>[0]>>;
|
|
6
|
-
export declare class NgtpDepth {
|
|
7
|
-
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
8
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
9
|
-
inverted?: boolean;
|
|
10
|
-
}>, "blendFunction">>;
|
|
11
|
-
protected effect: NgtpEffect;
|
|
12
|
-
constructor();
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDepth, never>;
|
|
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: {}; }]>;
|
|
15
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DotScreenEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type DotScreenEffectOptions = Partial<NonNullable<ConstructorParameters<typeof DotScreenEffect>[0]>>;
|
|
6
|
-
export declare class NgtpDotScreen {
|
|
7
|
-
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
8
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
9
|
-
angle?: number;
|
|
10
|
-
scale?: number;
|
|
11
|
-
}>, "blendFunction">>;
|
|
12
|
-
protected effect: NgtpEffect;
|
|
13
|
-
constructor();
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDotScreen, never>;
|
|
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: {}; }]>;
|
|
16
|
-
}
|
package/lib/effects/fxaa.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { FXAAEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type FXAAEffectOptions = Partial<NonNullable<ConstructorParameters<typeof FXAAEffect>[0]>>;
|
|
6
|
-
export declare class NgtpFXAA {
|
|
7
|
-
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
8
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
9
|
-
}>, "blendFunction">>;
|
|
10
|
-
protected effect: NgtpEffect;
|
|
11
|
-
constructor();
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpFXAA, never>;
|
|
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: {}; }]>;
|
|
14
|
-
}
|
package/lib/effects/glitch.d.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { NgtVector2 } from 'angular-three';
|
|
2
|
-
import { GlitchEffect, GlitchMode } from 'postprocessing';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type GlitchOptions = NonNullable<ConstructorParameters<typeof GlitchEffect>[0]> & Partial<{
|
|
5
|
-
mode: GlitchMode;
|
|
6
|
-
active: boolean;
|
|
7
|
-
delay: NgtVector2;
|
|
8
|
-
duration: NgtVector2;
|
|
9
|
-
chromaticAberrationOffset: NgtVector2;
|
|
10
|
-
strength: NgtVector2;
|
|
11
|
-
}>;
|
|
12
|
-
export declare class NgtpGlitch {
|
|
13
|
-
options: import("@angular/core").InputSignalWithTransform<GlitchOptions, "" | Partial<{
|
|
14
|
-
active: boolean;
|
|
15
|
-
}>>;
|
|
16
|
-
private active;
|
|
17
|
-
private mode;
|
|
18
|
-
private ratio;
|
|
19
|
-
private dtSize;
|
|
20
|
-
private columns;
|
|
21
|
-
private blendFunction;
|
|
22
|
-
private perturbationMap;
|
|
23
|
-
private delay;
|
|
24
|
-
private duration;
|
|
25
|
-
private chromaticAberrationOffset;
|
|
26
|
-
private strength;
|
|
27
|
-
private store;
|
|
28
|
-
effect: import("@angular/core").Signal<GlitchEffect>;
|
|
29
|
-
constructor();
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGlitch, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGlitch, "ngtp-glitch", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { GodRaysEffect } from 'postprocessing';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class NgtpGodRays {
|
|
6
|
-
options: import("@angular/core").InputSignal<{
|
|
7
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
8
|
-
samples?: number;
|
|
9
|
-
density?: number;
|
|
10
|
-
decay?: number;
|
|
11
|
-
weight?: number;
|
|
12
|
-
exposure?: number;
|
|
13
|
-
clampMax?: number;
|
|
14
|
-
resolutionScale?: number;
|
|
15
|
-
resolutionX?: number;
|
|
16
|
-
resolutionY?: number;
|
|
17
|
-
width?: number;
|
|
18
|
-
height?: number;
|
|
19
|
-
kernelSize?: import("postprocessing").KernelSize;
|
|
20
|
-
blur?: boolean;
|
|
21
|
-
} & {
|
|
22
|
-
sun: THREE.Mesh | THREE.Points | ElementRef<THREE.Mesh | THREE.Points> | (() => THREE.Mesh | THREE.Points | ElementRef<THREE.Mesh | THREE.Points> | undefined);
|
|
23
|
-
}>;
|
|
24
|
-
private effectComposer;
|
|
25
|
-
private effectOptions;
|
|
26
|
-
private sun;
|
|
27
|
-
private sunElement;
|
|
28
|
-
protected effect: import("@angular/core").Signal<GodRaysEffect>;
|
|
29
|
-
constructor();
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGodRays, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGodRays, "ngtp-god-rays", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
-
}
|
package/lib/effects/grid.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { GridEffect } from 'postprocessing';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type GridOptions = NonNullable<ConstructorParameters<typeof GridEffect>[0]> & Partial<{
|
|
4
|
-
size: {
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
};
|
|
8
|
-
}>;
|
|
9
|
-
export declare class NgtpGrid {
|
|
10
|
-
options: import("@angular/core").InputSignal<GridOptions>;
|
|
11
|
-
private effectOptions;
|
|
12
|
-
private size;
|
|
13
|
-
protected effect: import("@angular/core").Signal<GridEffect>;
|
|
14
|
-
constructor();
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGrid, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGrid, "ngtp-grid", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
18
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { HueSaturationEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type HueSaturationEffectOptions = Partial<NonNullable<ConstructorParameters<typeof HueSaturationEffect>[0]>>;
|
|
6
|
-
export declare class NgtpHueSaturation {
|
|
7
|
-
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
8
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
9
|
-
hue?: number;
|
|
10
|
-
saturation?: number;
|
|
11
|
-
}>, "blendFunction">>;
|
|
12
|
-
protected effect: NgtpEffect;
|
|
13
|
-
constructor();
|
|
14
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpHueSaturation, never>;
|
|
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: {}; }]>;
|
|
16
|
-
}
|
package/lib/effects/index.d.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * from './ascii';
|
|
2
|
-
export * from './bloom';
|
|
3
|
-
export * from './brightness-contrast';
|
|
4
|
-
export * from './chromatic-abberation';
|
|
5
|
-
export * from './color-average';
|
|
6
|
-
export * from './color-depth';
|
|
7
|
-
export * from './depth';
|
|
8
|
-
export * from './depth-of-field';
|
|
9
|
-
export * from './dot-screen';
|
|
10
|
-
export * from './fxaa';
|
|
11
|
-
export * from './glitch';
|
|
12
|
-
export * from './god-rays';
|
|
13
|
-
export * from './grid';
|
|
14
|
-
export * from './hue-saturation';
|
|
15
|
-
export * from './lens-flare';
|
|
16
|
-
export * from './lut';
|
|
17
|
-
export * from './noise';
|
|
18
|
-
export * from './outline';
|
|
19
|
-
export * from './pixelation';
|
|
20
|
-
export * from './scanline';
|
|
21
|
-
export * from './selective-bloom';
|
|
22
|
-
export * from './sepia';
|
|
23
|
-
export * from './shock-wave';
|
|
24
|
-
export * from './smaa';
|
|
25
|
-
export * from './tilt-shift';
|
|
26
|
-
export * from './tilt-shift-2';
|
|
27
|
-
export * from './tone-mapping';
|
|
28
|
-
export * from './vignette';
|
|
29
|
-
export * from './water';
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { NgtVector3 } from 'angular-three';
|
|
2
|
-
import { BlendFunction, Effect } from 'postprocessing';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LensFlareEffect extends Effect {
|
|
6
|
-
constructor({ blendFunction, enabled, glareSize, lensPosition, iResolution, starPoints, flareSize, flareSpeed, flareShape, animated, anamorphic, colorGain, lensDirtTexture, haloScale, secondaryGhosts, aditionalStreaks, ghostScale, opacity, starBurst, }?: {
|
|
7
|
-
blendFunction?: BlendFunction | undefined;
|
|
8
|
-
enabled?: boolean | undefined;
|
|
9
|
-
glareSize?: number | undefined;
|
|
10
|
-
lensPosition?: number[] | undefined;
|
|
11
|
-
iResolution?: number[] | undefined;
|
|
12
|
-
starPoints?: number | undefined;
|
|
13
|
-
flareSize?: number | undefined;
|
|
14
|
-
flareSpeed?: number | undefined;
|
|
15
|
-
flareShape?: number | undefined;
|
|
16
|
-
animated?: boolean | undefined;
|
|
17
|
-
anamorphic?: boolean | undefined;
|
|
18
|
-
colorGain?: THREE.Color | undefined;
|
|
19
|
-
lensDirtTexture?: THREE.Texture | null | undefined;
|
|
20
|
-
haloScale?: number | undefined;
|
|
21
|
-
secondaryGhosts?: boolean | undefined;
|
|
22
|
-
aditionalStreaks?: boolean | undefined;
|
|
23
|
-
ghostScale?: number | undefined;
|
|
24
|
-
opacity?: number | undefined;
|
|
25
|
-
starBurst?: boolean | undefined;
|
|
26
|
-
});
|
|
27
|
-
update(_renderer: THREE.WebGLRenderer, _inputBuffer: THREE.WebGLRenderTarget, deltaTime: number): void;
|
|
28
|
-
}
|
|
29
|
-
export type LensFlareOptions = ConstructorParameters<typeof LensFlareEffect>[0] & {
|
|
30
|
-
position: NgtVector3;
|
|
31
|
-
followMouse: boolean;
|
|
32
|
-
smoothTime: number;
|
|
33
|
-
};
|
|
34
|
-
export declare class NgtpLensFlare {
|
|
35
|
-
options: import("@angular/core").InputSignalWithTransform<{
|
|
36
|
-
blendFunction?: BlendFunction | undefined;
|
|
37
|
-
enabled?: boolean | undefined;
|
|
38
|
-
glareSize?: number | undefined;
|
|
39
|
-
lensPosition?: number[] | undefined;
|
|
40
|
-
iResolution?: number[] | undefined;
|
|
41
|
-
starPoints?: number | undefined;
|
|
42
|
-
flareSize?: number | undefined;
|
|
43
|
-
flareSpeed?: number | undefined;
|
|
44
|
-
flareShape?: number | undefined;
|
|
45
|
-
animated?: boolean | undefined;
|
|
46
|
-
anamorphic?: boolean | undefined;
|
|
47
|
-
colorGain?: THREE.Color | undefined;
|
|
48
|
-
lensDirtTexture?: THREE.Texture | null | undefined;
|
|
49
|
-
haloScale?: number | undefined;
|
|
50
|
-
secondaryGhosts?: boolean | undefined;
|
|
51
|
-
aditionalStreaks?: boolean | undefined;
|
|
52
|
-
ghostScale?: number | undefined;
|
|
53
|
-
opacity?: number | undefined;
|
|
54
|
-
starBurst?: boolean | undefined;
|
|
55
|
-
} & {
|
|
56
|
-
position: NgtVector3;
|
|
57
|
-
followMouse: boolean;
|
|
58
|
-
smoothTime: number;
|
|
59
|
-
}, "" | Partial<{
|
|
60
|
-
blendFunction?: BlendFunction | undefined;
|
|
61
|
-
enabled?: boolean | undefined;
|
|
62
|
-
glareSize?: number | undefined;
|
|
63
|
-
lensPosition?: number[] | undefined;
|
|
64
|
-
iResolution?: number[] | undefined;
|
|
65
|
-
starPoints?: number | undefined;
|
|
66
|
-
flareSize?: number | undefined;
|
|
67
|
-
flareSpeed?: number | undefined;
|
|
68
|
-
flareShape?: number | undefined;
|
|
69
|
-
animated?: boolean | undefined;
|
|
70
|
-
anamorphic?: boolean | undefined;
|
|
71
|
-
colorGain?: THREE.Color | undefined;
|
|
72
|
-
lensDirtTexture?: THREE.Texture | null | undefined;
|
|
73
|
-
haloScale?: number | undefined;
|
|
74
|
-
secondaryGhosts?: boolean | undefined;
|
|
75
|
-
aditionalStreaks?: boolean | undefined;
|
|
76
|
-
ghostScale?: number | undefined;
|
|
77
|
-
opacity?: number | undefined;
|
|
78
|
-
starBurst?: boolean | undefined;
|
|
79
|
-
} & {
|
|
80
|
-
position: NgtVector3;
|
|
81
|
-
followMouse: boolean;
|
|
82
|
-
smoothTime: number;
|
|
83
|
-
}>>;
|
|
84
|
-
private store;
|
|
85
|
-
private effectComposer;
|
|
86
|
-
private effectOptions;
|
|
87
|
-
private position;
|
|
88
|
-
private projectedPosition;
|
|
89
|
-
private mouse2d;
|
|
90
|
-
protected effect: import("@angular/core").Signal<LensFlareEffect>;
|
|
91
|
-
constructor();
|
|
92
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLensFlare, never>;
|
|
93
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLensFlare, "ngtp-lens-flare", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
94
|
-
}
|
package/lib/effects/lut.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BlendFunction, LUT3DEffect } from 'postprocessing';
|
|
2
|
-
import * as THREE from 'three';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export interface LUTOptions {
|
|
5
|
-
lut: THREE.Texture;
|
|
6
|
-
blendFunction?: BlendFunction;
|
|
7
|
-
tetrahedralInterpolation?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export declare class NgtpLUT {
|
|
10
|
-
options: import("@angular/core").InputSignal<LUTOptions>;
|
|
11
|
-
private lut;
|
|
12
|
-
private tetrahedralInterpolation;
|
|
13
|
-
private store;
|
|
14
|
-
protected effect: import("@angular/core").Signal<LUT3DEffect>;
|
|
15
|
-
constructor();
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLUT, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLUT, "ngtp-lut", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
18
|
-
}
|
package/lib/effects/noise.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { BlendFunction, NoiseEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type NoiseEffectOptions = Partial<NonNullable<ConstructorParameters<typeof NoiseEffect>[0]>>;
|
|
6
|
-
export declare class NgtpNoise {
|
|
7
|
-
options: import("@angular/core").InputSignal<Omit<Partial<{
|
|
8
|
-
blendFunction?: BlendFunction;
|
|
9
|
-
premultiply?: boolean;
|
|
10
|
-
}>, "blendFunction">>;
|
|
11
|
-
protected effect: NgtpEffect;
|
|
12
|
-
constructor();
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpNoise, never>;
|
|
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: {}; }]>;
|
|
15
|
-
}
|
package/lib/effects/outline.d.ts
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { OutlineEffect } from 'postprocessing';
|
|
3
|
-
import * as THREE from 'three';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export type NgtpOutlineOptions = ConstructorParameters<typeof OutlineEffect>[2] & {
|
|
6
|
-
selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
|
|
7
|
-
selectionLayer: number;
|
|
8
|
-
};
|
|
9
|
-
export declare class NgtpOutline {
|
|
10
|
-
options: import("@angular/core").InputSignalWithTransform<{
|
|
11
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
12
|
-
patternTexture?: THREE.Texture;
|
|
13
|
-
patternScale?: number;
|
|
14
|
-
edgeStrength?: number;
|
|
15
|
-
pulseSpeed?: number;
|
|
16
|
-
visibleEdgeColor?: number;
|
|
17
|
-
hiddenEdgeColor?: number;
|
|
18
|
-
multisampling?: number;
|
|
19
|
-
resolutionScale?: number;
|
|
20
|
-
resolutionX?: number;
|
|
21
|
-
resolutionY?: number;
|
|
22
|
-
width?: number;
|
|
23
|
-
height?: number;
|
|
24
|
-
kernelSize?: import("postprocessing").KernelSize;
|
|
25
|
-
blur?: boolean;
|
|
26
|
-
xRay?: boolean;
|
|
27
|
-
} & {
|
|
28
|
-
selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
|
|
29
|
-
selectionLayer: number;
|
|
30
|
-
}, "" | Partial<{
|
|
31
|
-
blendFunction?: import("postprocessing").BlendFunction;
|
|
32
|
-
patternTexture?: THREE.Texture;
|
|
33
|
-
patternScale?: number;
|
|
34
|
-
edgeStrength?: number;
|
|
35
|
-
pulseSpeed?: number;
|
|
36
|
-
visibleEdgeColor?: number;
|
|
37
|
-
hiddenEdgeColor?: number;
|
|
38
|
-
multisampling?: number;
|
|
39
|
-
resolutionScale?: number;
|
|
40
|
-
resolutionX?: number;
|
|
41
|
-
resolutionY?: number;
|
|
42
|
-
width?: number;
|
|
43
|
-
height?: number;
|
|
44
|
-
kernelSize?: import("postprocessing").KernelSize;
|
|
45
|
-
blur?: boolean;
|
|
46
|
-
xRay?: boolean;
|
|
47
|
-
} & {
|
|
48
|
-
selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
|
|
49
|
-
selectionLayer: number;
|
|
50
|
-
}>>;
|
|
51
|
-
private selectionApi;
|
|
52
|
-
private effectComposer;
|
|
53
|
-
private store;
|
|
54
|
-
private selection;
|
|
55
|
-
private selectionLayer;
|
|
56
|
-
private blendFunction;
|
|
57
|
-
private patternTexture;
|
|
58
|
-
private edgeStrength;
|
|
59
|
-
private pulseSpeed;
|
|
60
|
-
private visibleEdgeColor;
|
|
61
|
-
private hiddenEdgeColor;
|
|
62
|
-
private width;
|
|
63
|
-
private height;
|
|
64
|
-
private kernelSize;
|
|
65
|
-
private blur;
|
|
66
|
-
private xRay;
|
|
67
|
-
private restOptions;
|
|
68
|
-
effect: import("@angular/core").Signal<OutlineEffect>;
|
|
69
|
-
constructor();
|
|
70
|
-
private handleSelectionChangeEffect;
|
|
71
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpOutline, never>;
|
|
72
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpOutline, "ngtp-outline", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
73
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { PixelationEffect } from 'postprocessing';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface PixelationOptions {
|
|
4
|
-
granularity: number;
|
|
5
|
-
}
|
|
6
|
-
export declare class NgtpPixelation {
|
|
7
|
-
options: import("@angular/core").InputSignalWithTransform<{
|
|
8
|
-
granularity: number;
|
|
9
|
-
}, "" | Partial<{
|
|
10
|
-
granularity: number;
|
|
11
|
-
}>>;
|
|
12
|
-
private granularity;
|
|
13
|
-
protected effect: import("@angular/core").Signal<PixelationEffect>;
|
|
14
|
-
constructor();
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpPixelation, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpPixelation, "ngtp-pixelation", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { BlendFunction, ScanlineEffect } from 'postprocessing';
|
|
2
|
-
import { NgtpEffect } from '../effect';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../effect";
|
|
5
|
-
export type ScanlineEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ScanlineEffect>[0]>>;
|
|
6
|
-
export declare class NgtpScanline {
|
|
7
|
-
options: import("@angular/core").InputSignalWithTransform<Omit<Partial<{
|
|
8
|
-
blendFunction?: BlendFunction;
|
|
9
|
-
density?: number;
|
|
10
|
-
}>, "blendFunction">, "" | Partial<Omit<Partial<{
|
|
11
|
-
blendFunction?: BlendFunction;
|
|
12
|
-
density?: number;
|
|
13
|
-
}>, "blendFunction">>>;
|
|
14
|
-
protected effect: NgtpEffect;
|
|
15
|
-
constructor();
|
|
16
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpScanline, never>;
|
|
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: {}; }]>;
|
|
18
|
-
}
|