angular-three-postprocessing 4.0.0-next.11 → 4.0.0-next.111
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/fesm2022/angular-three-postprocessing-n8ao.mjs +6 -6
- package/fesm2022/angular-three-postprocessing-n8ao.mjs.map +1 -1
- package/fesm2022/angular-three-postprocessing.mjs +189 -182
- package/fesm2022/angular-three-postprocessing.mjs.map +1 -1
- package/index.d.ts +715 -3
- package/n8ao/index.d.ts +39 -1
- package/package.json +4 -4
- package/lib/effect-composer.d.ts +0 -39
- 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/lib/n8ao.d.ts +0 -35
package/index.d.ts
CHANGED
|
@@ -1,3 +1,715 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import * as angular_three from 'angular-three';
|
|
2
|
+
import { NgtVector3, NgtVector2 } from 'angular-three';
|
|
3
|
+
import * as i0 from '@angular/core';
|
|
4
|
+
import { ElementRef } from '@angular/core';
|
|
5
|
+
import * as postprocessing from 'postprocessing';
|
|
6
|
+
import { BlendFunction, EffectComposer, Effect, BloomEffectOptions, BrightnessContrastEffect, ChromaticAberrationEffect, ColorDepthEffect, DepthEffect, DepthOfFieldEffect, DotScreenEffect, FXAAEffect, GlitchEffect, GlitchMode, GodRaysEffect, GridEffect, HueSaturationEffect, LUT3DEffect, NoiseEffect, OutlineEffect, PixelationEffect, ScanlineEffect, SelectiveBloomEffect, SepiaEffect, ShockWaveEffect, SMAAEffect, TiltShiftEffect, ToneMappingEffect, VignetteEffect } from 'postprocessing';
|
|
7
|
+
import * as THREE from 'three';
|
|
8
|
+
|
|
9
|
+
declare const injectDefaultEffectOptions: {
|
|
10
|
+
(): {
|
|
11
|
+
blendFunction?: BlendFunction;
|
|
12
|
+
opacity?: number;
|
|
13
|
+
};
|
|
14
|
+
(injectOptions: i0.InjectOptions & {
|
|
15
|
+
optional?: false;
|
|
16
|
+
} & {
|
|
17
|
+
injector?: i0.Injector;
|
|
18
|
+
}): {
|
|
19
|
+
blendFunction?: BlendFunction;
|
|
20
|
+
opacity?: number;
|
|
21
|
+
};
|
|
22
|
+
(injectOptions: i0.InjectOptions & {
|
|
23
|
+
injector?: i0.Injector;
|
|
24
|
+
}): {
|
|
25
|
+
blendFunction?: BlendFunction;
|
|
26
|
+
opacity?: number;
|
|
27
|
+
} | null;
|
|
28
|
+
};
|
|
29
|
+
declare const provideDefaultEffectOptions: ((value: {
|
|
30
|
+
blendFunction?: BlendFunction;
|
|
31
|
+
opacity?: number;
|
|
32
|
+
} | (() => {
|
|
33
|
+
blendFunction?: BlendFunction;
|
|
34
|
+
opacity?: number;
|
|
35
|
+
})) => i0.Provider) & ((value: {
|
|
36
|
+
blendFunction?: BlendFunction;
|
|
37
|
+
opacity?: number;
|
|
38
|
+
} | (() => {
|
|
39
|
+
blendFunction?: BlendFunction;
|
|
40
|
+
opacity?: number;
|
|
41
|
+
})) => i0.Provider);
|
|
42
|
+
declare class NgtpEffectBlendMode {
|
|
43
|
+
effect: NgtpEffect | null;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffectBlendMode, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpEffectBlendMode, "ngtp-effect-blend-mode", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
47
|
+
declare class NgtpEffect {
|
|
48
|
+
defaultEffectOptions: {
|
|
49
|
+
blendFunction?: BlendFunction;
|
|
50
|
+
opacity?: number;
|
|
51
|
+
} | null;
|
|
52
|
+
blendFunction: i0.InputSignal<BlendFunction | undefined>;
|
|
53
|
+
opacity: i0.InputSignal<number | undefined>;
|
|
54
|
+
private store;
|
|
55
|
+
camera: angular_three.DeepSignal<angular_three.NgtCamera>;
|
|
56
|
+
invalidate: angular_three.Signal<(frames?: number) => void>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffect, never>;
|
|
58
|
+
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>;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface NgtpEffectComposerOptions {
|
|
62
|
+
enabled: boolean;
|
|
63
|
+
depthBuffer?: boolean;
|
|
64
|
+
/** Only used for SSGI currently, leave it disabled for everything else unless it's needed */
|
|
65
|
+
enableNormalPass?: boolean;
|
|
66
|
+
stencilBuffer?: boolean;
|
|
67
|
+
autoClear: boolean;
|
|
68
|
+
resolutionScale?: number;
|
|
69
|
+
multisampling: number;
|
|
70
|
+
frameBufferType: THREE.TextureDataType;
|
|
71
|
+
renderPriority: number;
|
|
72
|
+
camera?: THREE.Camera;
|
|
73
|
+
scene?: THREE.Scene;
|
|
74
|
+
}
|
|
75
|
+
declare class NgtpEffectComposer {
|
|
76
|
+
options: i0.InputSignalWithTransform<NgtpEffectComposerOptions, "" | Partial<NgtpEffectComposerOptions>>;
|
|
77
|
+
private store;
|
|
78
|
+
private depthBuffer;
|
|
79
|
+
private stencilBuffer;
|
|
80
|
+
private multisampling;
|
|
81
|
+
private frameBufferType;
|
|
82
|
+
private enableNormalPass;
|
|
83
|
+
private resolutionScale;
|
|
84
|
+
private enabled;
|
|
85
|
+
private renderPriority;
|
|
86
|
+
scene: i0.Signal<THREE.Scene>;
|
|
87
|
+
camera: i0.Signal<THREE.Camera>;
|
|
88
|
+
private groupRef;
|
|
89
|
+
private priority;
|
|
90
|
+
private composerData;
|
|
91
|
+
effectComposer: i0.Signal<EffectComposer>;
|
|
92
|
+
constructor();
|
|
93
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpEffectComposer, never>;
|
|
94
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpEffectComposer, "ngtp-effect-composer", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
interface ASCIIEffectOptions {
|
|
98
|
+
font?: string;
|
|
99
|
+
characters?: string;
|
|
100
|
+
fontSize?: number;
|
|
101
|
+
cellSize?: number;
|
|
102
|
+
color?: string;
|
|
103
|
+
invert?: boolean;
|
|
104
|
+
}
|
|
105
|
+
declare class ASCIIEffect extends Effect {
|
|
106
|
+
constructor({ font, characters, fontSize, cellSize, color, invert, }?: ASCIIEffectOptions);
|
|
107
|
+
/** Draws the characters on a Canvas and returns a texture */
|
|
108
|
+
createCharactersTexture(characters: string, font: string, fontSize: number): THREE.Texture;
|
|
109
|
+
}
|
|
110
|
+
declare class NgtpASCII {
|
|
111
|
+
options: i0.InputSignalWithTransform<ASCIIEffectOptions, "" | Partial<ASCIIEffectOptions>>;
|
|
112
|
+
protected effect: i0.Signal<ASCIIEffect>;
|
|
113
|
+
constructor();
|
|
114
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpASCII, never>;
|
|
115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpASCII, "ngtp-ascii", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare class NgtpBloom {
|
|
119
|
+
options: i0.InputSignal<Omit<BloomEffectOptions, "blendFunction">>;
|
|
120
|
+
protected effect: NgtpEffect;
|
|
121
|
+
constructor();
|
|
122
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpBloom, never>;
|
|
123
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpBloom, "ngtp-bloom", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
type BrightnessEffectOptions = NonNullable<ConstructorParameters<typeof BrightnessContrastEffect>[0]>;
|
|
127
|
+
declare class NgtpBrightnessContrast {
|
|
128
|
+
options: i0.InputSignal<Omit<{
|
|
129
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
130
|
+
brightness?: number;
|
|
131
|
+
contrast?: number;
|
|
132
|
+
}, "blendFunction">>;
|
|
133
|
+
protected effect: NgtpEffect;
|
|
134
|
+
constructor();
|
|
135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpBrightnessContrast, never>;
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpBrightnessContrast, "ngtp-brightness-contrast", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
type ChromaticAberrationEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ChromaticAberrationEffect>[0]>>;
|
|
140
|
+
declare class NgtpChromaticAberration {
|
|
141
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
142
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
143
|
+
offset?: THREE.Vector2;
|
|
144
|
+
radialModulation: boolean;
|
|
145
|
+
modulationOffset: number;
|
|
146
|
+
}>, "blendFunction">>;
|
|
147
|
+
protected effect: NgtpEffect;
|
|
148
|
+
constructor();
|
|
149
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpChromaticAberration, never>;
|
|
150
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpChromaticAberration, "ngtp-chromatic-aberration", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
declare class NgtpColorAverage {
|
|
154
|
+
options: i0.InputSignalWithTransform<{
|
|
155
|
+
blendFunction: BlendFunction;
|
|
156
|
+
}, "" | Partial<{
|
|
157
|
+
blendFunction: BlendFunction;
|
|
158
|
+
}>>;
|
|
159
|
+
constructor();
|
|
160
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpColorAverage, never>;
|
|
161
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpColorAverage, "ngtp-color-average", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
type ColorDepthEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ColorDepthEffect>[0]>>;
|
|
165
|
+
declare class NgtpColorDepth {
|
|
166
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
167
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
168
|
+
bits?: number;
|
|
169
|
+
}>, "blendFunction">>;
|
|
170
|
+
protected effect: NgtpEffect;
|
|
171
|
+
constructor();
|
|
172
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpColorDepth, never>;
|
|
173
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpColorDepth, "ngtp-color-depth", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
type DepthEffectOptions = Partial<NonNullable<ConstructorParameters<typeof DepthEffect>[0]>>;
|
|
177
|
+
declare class NgtpDepth {
|
|
178
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
179
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
180
|
+
inverted?: boolean;
|
|
181
|
+
}>, "blendFunction">>;
|
|
182
|
+
protected effect: NgtpEffect;
|
|
183
|
+
constructor();
|
|
184
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDepth, never>;
|
|
185
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDepth, "ngtp-depth", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
type DOFOptions = NonNullable<ConstructorParameters<typeof DepthOfFieldEffect>[1]> & Partial<{
|
|
189
|
+
target: NgtVector3;
|
|
190
|
+
depthTexture: {
|
|
191
|
+
texture: THREE.Texture;
|
|
192
|
+
packing: THREE.DepthPackingStrategies;
|
|
193
|
+
};
|
|
194
|
+
}>;
|
|
195
|
+
declare class NgtpDepthOfField {
|
|
196
|
+
options: i0.InputSignal<DOFOptions>;
|
|
197
|
+
private effectComposer;
|
|
198
|
+
protected effect: i0.Signal<DepthOfFieldEffect>;
|
|
199
|
+
constructor();
|
|
200
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDepthOfField, never>;
|
|
201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDepthOfField, "ngtp-depth-of-field", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
type DotScreenEffectOptions = Partial<NonNullable<ConstructorParameters<typeof DotScreenEffect>[0]>>;
|
|
205
|
+
declare class NgtpDotScreen {
|
|
206
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
207
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
208
|
+
angle?: number;
|
|
209
|
+
scale?: number;
|
|
210
|
+
}>, "blendFunction">>;
|
|
211
|
+
protected effect: NgtpEffect;
|
|
212
|
+
constructor();
|
|
213
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpDotScreen, never>;
|
|
214
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpDotScreen, "ngtp-dot-screen", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
type FXAAEffectOptions = Partial<NonNullable<ConstructorParameters<typeof FXAAEffect>[0]>>;
|
|
218
|
+
declare class NgtpFXAA {
|
|
219
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
220
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
221
|
+
}>, "blendFunction">>;
|
|
222
|
+
protected effect: NgtpEffect;
|
|
223
|
+
constructor();
|
|
224
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpFXAA, never>;
|
|
225
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpFXAA, "ngtp-fxaa", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
type GlitchOptions = NonNullable<ConstructorParameters<typeof GlitchEffect>[0]> & Partial<{
|
|
229
|
+
mode: GlitchMode;
|
|
230
|
+
active: boolean;
|
|
231
|
+
delay: NgtVector2;
|
|
232
|
+
duration: NgtVector2;
|
|
233
|
+
chromaticAberrationOffset: NgtVector2;
|
|
234
|
+
strength: NgtVector2;
|
|
235
|
+
}>;
|
|
236
|
+
declare class NgtpGlitch {
|
|
237
|
+
options: i0.InputSignalWithTransform<GlitchOptions, "" | Partial<{
|
|
238
|
+
active: boolean;
|
|
239
|
+
}>>;
|
|
240
|
+
private active;
|
|
241
|
+
private mode;
|
|
242
|
+
private ratio;
|
|
243
|
+
private dtSize;
|
|
244
|
+
private columns;
|
|
245
|
+
private blendFunction;
|
|
246
|
+
private perturbationMap;
|
|
247
|
+
private delay;
|
|
248
|
+
private duration;
|
|
249
|
+
private chromaticAberrationOffset;
|
|
250
|
+
private strength;
|
|
251
|
+
private store;
|
|
252
|
+
effect: i0.Signal<GlitchEffect>;
|
|
253
|
+
constructor();
|
|
254
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGlitch, never>;
|
|
255
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGlitch, "ngtp-glitch", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
declare class NgtpGodRays {
|
|
259
|
+
options: i0.InputSignal<{
|
|
260
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
261
|
+
samples?: number;
|
|
262
|
+
density?: number;
|
|
263
|
+
decay?: number;
|
|
264
|
+
weight?: number;
|
|
265
|
+
exposure?: number;
|
|
266
|
+
clampMax?: number;
|
|
267
|
+
resolutionScale?: number;
|
|
268
|
+
resolutionX?: number;
|
|
269
|
+
resolutionY?: number;
|
|
270
|
+
width?: number;
|
|
271
|
+
height?: number;
|
|
272
|
+
kernelSize?: postprocessing.KernelSize;
|
|
273
|
+
blur?: boolean;
|
|
274
|
+
} & {
|
|
275
|
+
sun: THREE.Mesh | THREE.Points | ElementRef<THREE.Mesh | THREE.Points> | (() => THREE.Mesh | THREE.Points | ElementRef<THREE.Mesh | THREE.Points> | undefined);
|
|
276
|
+
}>;
|
|
277
|
+
private effectComposer;
|
|
278
|
+
private effectOptions;
|
|
279
|
+
private sun;
|
|
280
|
+
private sunElement;
|
|
281
|
+
protected effect: i0.Signal<GodRaysEffect>;
|
|
282
|
+
constructor();
|
|
283
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGodRays, never>;
|
|
284
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGodRays, "ngtp-god-rays", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
type GridOptions = NonNullable<ConstructorParameters<typeof GridEffect>[0]> & Partial<{
|
|
288
|
+
size: {
|
|
289
|
+
width: number;
|
|
290
|
+
height: number;
|
|
291
|
+
};
|
|
292
|
+
}>;
|
|
293
|
+
declare class NgtpGrid {
|
|
294
|
+
options: i0.InputSignal<GridOptions>;
|
|
295
|
+
private effectOptions;
|
|
296
|
+
private size;
|
|
297
|
+
protected effect: i0.Signal<GridEffect>;
|
|
298
|
+
constructor();
|
|
299
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpGrid, never>;
|
|
300
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpGrid, "ngtp-grid", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
type HueSaturationEffectOptions = Partial<NonNullable<ConstructorParameters<typeof HueSaturationEffect>[0]>>;
|
|
304
|
+
declare class NgtpHueSaturation {
|
|
305
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
306
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
307
|
+
hue?: number;
|
|
308
|
+
saturation?: number;
|
|
309
|
+
}>, "blendFunction">>;
|
|
310
|
+
protected effect: NgtpEffect;
|
|
311
|
+
constructor();
|
|
312
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpHueSaturation, never>;
|
|
313
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpHueSaturation, "ngtp-hue-saturation", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare class LensFlareEffect extends Effect {
|
|
317
|
+
constructor({ blendFunction, enabled, glareSize, lensPosition, iResolution, starPoints, flareSize, flareSpeed, flareShape, animated, anamorphic, colorGain, lensDirtTexture, haloScale, secondaryGhosts, aditionalStreaks, ghostScale, opacity, starBurst, }?: {
|
|
318
|
+
blendFunction?: BlendFunction | undefined;
|
|
319
|
+
enabled?: boolean | undefined;
|
|
320
|
+
glareSize?: number | undefined;
|
|
321
|
+
lensPosition?: number[] | undefined;
|
|
322
|
+
iResolution?: number[] | undefined;
|
|
323
|
+
starPoints?: number | undefined;
|
|
324
|
+
flareSize?: number | undefined;
|
|
325
|
+
flareSpeed?: number | undefined;
|
|
326
|
+
flareShape?: number | undefined;
|
|
327
|
+
animated?: boolean | undefined;
|
|
328
|
+
anamorphic?: boolean | undefined;
|
|
329
|
+
colorGain?: THREE.Color | undefined;
|
|
330
|
+
lensDirtTexture?: THREE.Texture | null | undefined;
|
|
331
|
+
haloScale?: number | undefined;
|
|
332
|
+
secondaryGhosts?: boolean | undefined;
|
|
333
|
+
aditionalStreaks?: boolean | undefined;
|
|
334
|
+
ghostScale?: number | undefined;
|
|
335
|
+
opacity?: number | undefined;
|
|
336
|
+
starBurst?: boolean | undefined;
|
|
337
|
+
});
|
|
338
|
+
update(_renderer: THREE.WebGLRenderer, _inputBuffer: THREE.WebGLRenderTarget, deltaTime: number): void;
|
|
339
|
+
}
|
|
340
|
+
type LensFlareOptions = ConstructorParameters<typeof LensFlareEffect>[0] & {
|
|
341
|
+
position: NgtVector3;
|
|
342
|
+
followMouse: boolean;
|
|
343
|
+
smoothTime: number;
|
|
344
|
+
};
|
|
345
|
+
declare class NgtpLensFlare {
|
|
346
|
+
options: i0.InputSignalWithTransform<{
|
|
347
|
+
blendFunction?: BlendFunction | undefined;
|
|
348
|
+
enabled?: boolean | undefined;
|
|
349
|
+
glareSize?: number | undefined;
|
|
350
|
+
lensPosition?: number[] | undefined;
|
|
351
|
+
iResolution?: number[] | undefined;
|
|
352
|
+
starPoints?: number | undefined;
|
|
353
|
+
flareSize?: number | undefined;
|
|
354
|
+
flareSpeed?: number | undefined;
|
|
355
|
+
flareShape?: number | undefined;
|
|
356
|
+
animated?: boolean | undefined;
|
|
357
|
+
anamorphic?: boolean | undefined;
|
|
358
|
+
colorGain?: THREE.Color | undefined;
|
|
359
|
+
lensDirtTexture?: THREE.Texture | null | undefined;
|
|
360
|
+
haloScale?: number | undefined;
|
|
361
|
+
secondaryGhosts?: boolean | undefined;
|
|
362
|
+
aditionalStreaks?: boolean | undefined;
|
|
363
|
+
ghostScale?: number | undefined;
|
|
364
|
+
opacity?: number | undefined;
|
|
365
|
+
starBurst?: boolean | undefined;
|
|
366
|
+
} & {
|
|
367
|
+
position: NgtVector3;
|
|
368
|
+
followMouse: boolean;
|
|
369
|
+
smoothTime: number;
|
|
370
|
+
}, "" | Partial<{
|
|
371
|
+
blendFunction?: BlendFunction | undefined;
|
|
372
|
+
enabled?: boolean | undefined;
|
|
373
|
+
glareSize?: number | undefined;
|
|
374
|
+
lensPosition?: number[] | undefined;
|
|
375
|
+
iResolution?: number[] | undefined;
|
|
376
|
+
starPoints?: number | undefined;
|
|
377
|
+
flareSize?: number | undefined;
|
|
378
|
+
flareSpeed?: number | undefined;
|
|
379
|
+
flareShape?: number | undefined;
|
|
380
|
+
animated?: boolean | undefined;
|
|
381
|
+
anamorphic?: boolean | undefined;
|
|
382
|
+
colorGain?: THREE.Color | undefined;
|
|
383
|
+
lensDirtTexture?: THREE.Texture | null | undefined;
|
|
384
|
+
haloScale?: number | undefined;
|
|
385
|
+
secondaryGhosts?: boolean | undefined;
|
|
386
|
+
aditionalStreaks?: boolean | undefined;
|
|
387
|
+
ghostScale?: number | undefined;
|
|
388
|
+
opacity?: number | undefined;
|
|
389
|
+
starBurst?: boolean | undefined;
|
|
390
|
+
} & {
|
|
391
|
+
position: NgtVector3;
|
|
392
|
+
followMouse: boolean;
|
|
393
|
+
smoothTime: number;
|
|
394
|
+
}>>;
|
|
395
|
+
private store;
|
|
396
|
+
private effectComposer;
|
|
397
|
+
private effectOptions;
|
|
398
|
+
private position;
|
|
399
|
+
private projectedPosition;
|
|
400
|
+
private mouse2d;
|
|
401
|
+
protected effect: i0.Signal<LensFlareEffect>;
|
|
402
|
+
constructor();
|
|
403
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLensFlare, never>;
|
|
404
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLensFlare, "ngtp-lens-flare", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
interface LUTOptions {
|
|
408
|
+
lut: THREE.Texture;
|
|
409
|
+
blendFunction?: BlendFunction;
|
|
410
|
+
tetrahedralInterpolation?: boolean;
|
|
411
|
+
}
|
|
412
|
+
declare class NgtpLUT {
|
|
413
|
+
options: i0.InputSignal<LUTOptions>;
|
|
414
|
+
private lut;
|
|
415
|
+
private tetrahedralInterpolation;
|
|
416
|
+
private store;
|
|
417
|
+
protected effect: i0.Signal<LUT3DEffect>;
|
|
418
|
+
constructor();
|
|
419
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpLUT, never>;
|
|
420
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpLUT, "ngtp-lut", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
type NoiseEffectOptions = Partial<NonNullable<ConstructorParameters<typeof NoiseEffect>[0]>>;
|
|
424
|
+
declare class NgtpNoise {
|
|
425
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
426
|
+
blendFunction?: BlendFunction;
|
|
427
|
+
premultiply?: boolean;
|
|
428
|
+
}>, "blendFunction">>;
|
|
429
|
+
protected effect: NgtpEffect;
|
|
430
|
+
constructor();
|
|
431
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpNoise, never>;
|
|
432
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpNoise, "ngtp-noise", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
type NgtpOutlineOptions = ConstructorParameters<typeof OutlineEffect>[2] & {
|
|
436
|
+
selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
|
|
437
|
+
selectionLayer: number;
|
|
438
|
+
};
|
|
439
|
+
declare class NgtpOutline {
|
|
440
|
+
options: i0.InputSignalWithTransform<{
|
|
441
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
442
|
+
patternTexture?: THREE.Texture;
|
|
443
|
+
patternScale?: number;
|
|
444
|
+
edgeStrength?: number;
|
|
445
|
+
pulseSpeed?: number;
|
|
446
|
+
visibleEdgeColor?: number;
|
|
447
|
+
hiddenEdgeColor?: number;
|
|
448
|
+
multisampling?: number;
|
|
449
|
+
resolutionScale?: number;
|
|
450
|
+
resolutionX?: number;
|
|
451
|
+
resolutionY?: number;
|
|
452
|
+
width?: number;
|
|
453
|
+
height?: number;
|
|
454
|
+
kernelSize?: postprocessing.KernelSize;
|
|
455
|
+
blur?: boolean;
|
|
456
|
+
xRay?: boolean;
|
|
457
|
+
} & {
|
|
458
|
+
selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
|
|
459
|
+
selectionLayer: number;
|
|
460
|
+
}, "" | Partial<{
|
|
461
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
462
|
+
patternTexture?: THREE.Texture;
|
|
463
|
+
patternScale?: number;
|
|
464
|
+
edgeStrength?: number;
|
|
465
|
+
pulseSpeed?: number;
|
|
466
|
+
visibleEdgeColor?: number;
|
|
467
|
+
hiddenEdgeColor?: number;
|
|
468
|
+
multisampling?: number;
|
|
469
|
+
resolutionScale?: number;
|
|
470
|
+
resolutionX?: number;
|
|
471
|
+
resolutionY?: number;
|
|
472
|
+
width?: number;
|
|
473
|
+
height?: number;
|
|
474
|
+
kernelSize?: postprocessing.KernelSize;
|
|
475
|
+
blur?: boolean;
|
|
476
|
+
xRay?: boolean;
|
|
477
|
+
} & {
|
|
478
|
+
selection?: Array<THREE.Object3D | ElementRef<THREE.Object3D>>;
|
|
479
|
+
selectionLayer: number;
|
|
480
|
+
}>>;
|
|
481
|
+
private selectionApi;
|
|
482
|
+
private effectComposer;
|
|
483
|
+
private store;
|
|
484
|
+
private selection;
|
|
485
|
+
private selectionLayer;
|
|
486
|
+
private blendFunction;
|
|
487
|
+
private patternTexture;
|
|
488
|
+
private edgeStrength;
|
|
489
|
+
private pulseSpeed;
|
|
490
|
+
private visibleEdgeColor;
|
|
491
|
+
private hiddenEdgeColor;
|
|
492
|
+
private width;
|
|
493
|
+
private height;
|
|
494
|
+
private kernelSize;
|
|
495
|
+
private blur;
|
|
496
|
+
private xRay;
|
|
497
|
+
private restOptions;
|
|
498
|
+
effect: i0.Signal<OutlineEffect>;
|
|
499
|
+
constructor();
|
|
500
|
+
private handleSelectionChangeEffect;
|
|
501
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpOutline, never>;
|
|
502
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpOutline, "ngtp-outline", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
interface PixelationOptions {
|
|
506
|
+
granularity: number;
|
|
507
|
+
}
|
|
508
|
+
declare class NgtpPixelation {
|
|
509
|
+
options: i0.InputSignalWithTransform<{
|
|
510
|
+
granularity: number;
|
|
511
|
+
}, "" | Partial<{
|
|
512
|
+
granularity: number;
|
|
513
|
+
}>>;
|
|
514
|
+
private granularity;
|
|
515
|
+
protected effect: i0.Signal<PixelationEffect>;
|
|
516
|
+
constructor();
|
|
517
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpPixelation, never>;
|
|
518
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpPixelation, "ngtp-pixelation", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
type ScanlineEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ScanlineEffect>[0]>>;
|
|
522
|
+
declare class NgtpScanline {
|
|
523
|
+
options: i0.InputSignalWithTransform<Omit<Partial<{
|
|
524
|
+
blendFunction?: BlendFunction;
|
|
525
|
+
density?: number;
|
|
526
|
+
}>, "blendFunction">, "" | Partial<Omit<Partial<{
|
|
527
|
+
blendFunction?: BlendFunction;
|
|
528
|
+
density?: number;
|
|
529
|
+
}>, "blendFunction">>>;
|
|
530
|
+
protected effect: NgtpEffect;
|
|
531
|
+
constructor();
|
|
532
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpScanline, never>;
|
|
533
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpScanline, "ngtp-scanline", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
type SelectiveBloomOptions = BloomEffectOptions & {
|
|
537
|
+
selectionLayer: number;
|
|
538
|
+
inverted: boolean;
|
|
539
|
+
ignoreBackground: boolean;
|
|
540
|
+
};
|
|
541
|
+
declare class NgtpSelectiveBloom {
|
|
542
|
+
lights: i0.InputSignal<THREE.Object3D<THREE.Object3DEventMap>[] | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined>[]>;
|
|
543
|
+
selection: i0.InputSignal<THREE.Object3D<THREE.Object3DEventMap> | THREE.Object3D<THREE.Object3DEventMap>[] | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined> | ElementRef<THREE.Object3D<THREE.Object3DEventMap> | undefined>[]>;
|
|
544
|
+
options: i0.InputSignalWithTransform<SelectiveBloomOptions, "" | Partial<SelectiveBloomOptions>>;
|
|
545
|
+
private blendFunction;
|
|
546
|
+
private luminanceThreshold;
|
|
547
|
+
private luminanceSmoothing;
|
|
548
|
+
private mipmapBlur;
|
|
549
|
+
private intensity;
|
|
550
|
+
private radius;
|
|
551
|
+
private levels;
|
|
552
|
+
private kernelSize;
|
|
553
|
+
private resolutionScale;
|
|
554
|
+
private width;
|
|
555
|
+
private height;
|
|
556
|
+
private resolutionX;
|
|
557
|
+
private resolutionY;
|
|
558
|
+
private inverted;
|
|
559
|
+
private ignoreBackground;
|
|
560
|
+
private selectionLayer;
|
|
561
|
+
private store;
|
|
562
|
+
private effectComposer;
|
|
563
|
+
private selectionApi;
|
|
564
|
+
private resolvedLights;
|
|
565
|
+
private resolvedSelected;
|
|
566
|
+
private resolvedNgtSelected;
|
|
567
|
+
protected effect: i0.Signal<SelectiveBloomEffect>;
|
|
568
|
+
constructor();
|
|
569
|
+
private addLight;
|
|
570
|
+
private removeLight;
|
|
571
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSelectiveBloom, never>;
|
|
572
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSelectiveBloom, "ngtp-selective-bloom", never, { "lights": { "alias": "lights"; "required": true; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
type SepiaEffectOptions = Partial<NonNullable<ConstructorParameters<typeof SepiaEffect>[0]>>;
|
|
576
|
+
declare class NgtpSepia {
|
|
577
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
578
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
579
|
+
intensity?: number;
|
|
580
|
+
}>, "blendFunction">>;
|
|
581
|
+
protected effect: NgtpEffect;
|
|
582
|
+
constructor();
|
|
583
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSepia, never>;
|
|
584
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSepia, "ngtp-sepia", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
585
|
+
}
|
|
586
|
+
|
|
587
|
+
type ShockWaveEffectOptions = Partial<NonNullable<ConstructorParameters<typeof ShockWaveEffect>[0]>>;
|
|
588
|
+
declare class NgtpShockWave {
|
|
589
|
+
options: i0.InputSignal<Omit<Partial<THREE.Camera>, "blendFunction">>;
|
|
590
|
+
protected effect: NgtpEffect;
|
|
591
|
+
constructor();
|
|
592
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpShockWave, never>;
|
|
593
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpShockWave, "ngtp-shock-wave", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
type SMAAEffectOptions = Partial<NonNullable<ConstructorParameters<typeof SMAAEffect>[0]>>;
|
|
597
|
+
declare class NgtpSMAA {
|
|
598
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
599
|
+
preset?: postprocessing.SMAAPreset;
|
|
600
|
+
edgeDetectionMode?: postprocessing.EdgeDetectionMode;
|
|
601
|
+
predicationMode?: postprocessing.PredicationMode;
|
|
602
|
+
}>, "blendFunction">>;
|
|
603
|
+
protected effect: NgtpEffect;
|
|
604
|
+
constructor();
|
|
605
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpSMAA, never>;
|
|
606
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpSMAA, "ngtp-smaa", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
type TiltShiftEffectOptions = Partial<NonNullable<ConstructorParameters<typeof TiltShiftEffect>[0]>>;
|
|
610
|
+
declare class NgtpTiltShift {
|
|
611
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
612
|
+
blendFunction?: BlendFunction;
|
|
613
|
+
offset?: number;
|
|
614
|
+
rotation?: number;
|
|
615
|
+
focusArea?: number;
|
|
616
|
+
feather?: number;
|
|
617
|
+
bias?: number;
|
|
618
|
+
kernelSize?: postprocessing.KernelSize;
|
|
619
|
+
resolutionScale?: number;
|
|
620
|
+
resolutionX?: number;
|
|
621
|
+
resolutionY?: number;
|
|
622
|
+
}>, "blendFunction">>;
|
|
623
|
+
protected effect: NgtpEffect;
|
|
624
|
+
constructor();
|
|
625
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpTiltShift, never>;
|
|
626
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpTiltShift, "ngtp-tilt-shift", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
627
|
+
}
|
|
628
|
+
|
|
629
|
+
declare class TiltShift2Effect extends Effect {
|
|
630
|
+
constructor({ blendFunction, blur, // [0, 1], can go beyond 1 for extra
|
|
631
|
+
taper, // [0, 1], can go beyond 1 for extra
|
|
632
|
+
start, // [0,1] percentage x,y of screenspace
|
|
633
|
+
end, // [0,1] percentage x,y of screenspace
|
|
634
|
+
samples, // number of blur samples
|
|
635
|
+
direction, }?: {
|
|
636
|
+
blendFunction?: BlendFunction | undefined;
|
|
637
|
+
blur?: number | undefined;
|
|
638
|
+
taper?: number | undefined;
|
|
639
|
+
start?: number[] | undefined;
|
|
640
|
+
end?: number[] | undefined;
|
|
641
|
+
samples?: number | undefined;
|
|
642
|
+
direction?: number[] | undefined;
|
|
643
|
+
});
|
|
644
|
+
}
|
|
645
|
+
type TiltShift2EffectOptions = Partial<NonNullable<ConstructorParameters<typeof TiltShift2Effect>[0]>>;
|
|
646
|
+
declare class NgtpTiltShift2 {
|
|
647
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
648
|
+
blendFunction?: BlendFunction | undefined;
|
|
649
|
+
blur?: number | undefined;
|
|
650
|
+
taper?: number | undefined;
|
|
651
|
+
start?: number[] | undefined;
|
|
652
|
+
end?: number[] | undefined;
|
|
653
|
+
samples?: number | undefined;
|
|
654
|
+
direction?: number[] | undefined;
|
|
655
|
+
}>, "blendFunction">>;
|
|
656
|
+
protected effect: NgtpEffect;
|
|
657
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpTiltShift2, never>;
|
|
658
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpTiltShift2, "ngtp-tilt-shift2", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
type ToneMappingEffectOptions = NonNullable<ConstructorParameters<typeof ToneMappingEffect>[0]>;
|
|
662
|
+
declare class NgtpToneMapping {
|
|
663
|
+
options: i0.InputSignal<Omit<{
|
|
664
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
665
|
+
adaptive?: boolean;
|
|
666
|
+
mode?: postprocessing.ToneMappingMode;
|
|
667
|
+
resolution?: number;
|
|
668
|
+
maxLuminance?: number;
|
|
669
|
+
whitePoint?: number;
|
|
670
|
+
middleGrey?: number;
|
|
671
|
+
minLuminance?: number;
|
|
672
|
+
averageLuminance?: number;
|
|
673
|
+
adaptationRate?: number;
|
|
674
|
+
}, "blendFunction">>;
|
|
675
|
+
protected effect: NgtpEffect;
|
|
676
|
+
constructor();
|
|
677
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpToneMapping, never>;
|
|
678
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpToneMapping, "ngtp-tone-mapping", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
type VignetteEffectOptions = Partial<NonNullable<ConstructorParameters<typeof VignetteEffect>[0]>>;
|
|
682
|
+
declare class NgtpVignette {
|
|
683
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
684
|
+
blendFunction?: postprocessing.BlendFunction;
|
|
685
|
+
technique?: postprocessing.VignetteTechnique;
|
|
686
|
+
eskil?: boolean;
|
|
687
|
+
offset?: number;
|
|
688
|
+
darkness?: number;
|
|
689
|
+
}>, "blendFunction">>;
|
|
690
|
+
protected effect: NgtpEffect;
|
|
691
|
+
constructor();
|
|
692
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpVignette, never>;
|
|
693
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpVignette, "ngtp-vignette", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
declare class WaterEffect extends Effect {
|
|
697
|
+
constructor({ blendFunction, factor }?: {
|
|
698
|
+
blendFunction?: BlendFunction | undefined;
|
|
699
|
+
factor?: number | undefined;
|
|
700
|
+
});
|
|
701
|
+
}
|
|
702
|
+
type WaterEffectOptions = Partial<NonNullable<ConstructorParameters<typeof WaterEffect>[0]>>;
|
|
703
|
+
declare class NgtpWater {
|
|
704
|
+
options: i0.InputSignal<Omit<Partial<{
|
|
705
|
+
blendFunction?: BlendFunction | undefined;
|
|
706
|
+
factor?: number | undefined;
|
|
707
|
+
}>, "blendFunction">>;
|
|
708
|
+
protected effect: NgtpEffect;
|
|
709
|
+
constructor();
|
|
710
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgtpWater, never>;
|
|
711
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NgtpWater, "ngtp-water", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof NgtpEffect; inputs: { "blendFunction": "blendFunction"; "opacity": "opacity"; }; outputs: {}; }]>;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export { ASCIIEffect, LensFlareEffect, NgtpASCII, NgtpBloom, NgtpBrightnessContrast, NgtpChromaticAberration, NgtpColorAverage, NgtpColorDepth, NgtpDepth, NgtpDepthOfField, NgtpDotScreen, NgtpEffect, NgtpEffectBlendMode, NgtpEffectComposer, NgtpFXAA, NgtpGlitch, NgtpGodRays, NgtpGrid, NgtpHueSaturation, NgtpLUT, NgtpLensFlare, NgtpNoise, NgtpOutline, NgtpPixelation, NgtpSMAA, NgtpScanline, NgtpSelectiveBloom, NgtpSepia, NgtpShockWave, NgtpTiltShift, NgtpTiltShift2, NgtpToneMapping, NgtpVignette, NgtpWater, TiltShift2Effect, WaterEffect, injectDefaultEffectOptions, provideDefaultEffectOptions };
|
|
715
|
+
export type { BrightnessEffectOptions, ChromaticAberrationEffectOptions, ColorDepthEffectOptions, DepthEffectOptions, DotScreenEffectOptions, FXAAEffectOptions, GlitchOptions, HueSaturationEffectOptions, LUTOptions, LensFlareOptions, NgtpEffectComposerOptions, NgtpOutlineOptions, NoiseEffectOptions, PixelationOptions, SMAAEffectOptions, ScanlineEffectOptions, SelectiveBloomOptions, SepiaEffectOptions, ShockWaveEffectOptions, TiltShift2EffectOptions, TiltShiftEffectOptions, ToneMappingEffectOptions, VignetteEffectOptions, WaterEffectOptions };
|