@flighthq/effects 0.5.1-next.903.f434bc2 → 0.5.1-next.905.5fbf787

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/README.md +2 -2
  2. package/package.json +9 -9
  3. package/src/autoExposureEffect.test.ts +6 -1
  4. package/src/barrelDistortionEffect.test.ts +6 -1
  5. package/src/bevelEffect.test.ts +11 -1
  6. package/src/bitmapDisplacementEffect.test.ts +6 -0
  7. package/src/blendEffect.test.ts +6 -1
  8. package/src/bloomEffect.test.ts +6 -0
  9. package/src/blurEffect.test.ts +11 -1
  10. package/src/bokehDepthOfFieldEffect.test.ts +6 -0
  11. package/src/cameraMotionBlurEffect.test.ts +6 -1
  12. package/src/chromaticAberrationEffect.test.ts +6 -1
  13. package/src/compositeEffect.test.ts +6 -1
  14. package/src/contactShadowsEffect.test.ts +6 -0
  15. package/src/convolutionEffect.test.ts +6 -0
  16. package/src/crtEffect.test.ts +6 -1
  17. package/src/customShaderEffect.test.ts +6 -1
  18. package/src/directionalBlurEffect.test.ts +6 -0
  19. package/src/displacementEffect.test.ts +6 -0
  20. package/src/ditherEffect.test.ts +6 -1
  21. package/src/dropShadowEffect.test.ts +6 -0
  22. package/src/filmEmulationEffect.test.ts +6 -1
  23. package/src/filmGrainEffect.test.ts +6 -1
  24. package/src/fxaaEffect.test.ts +6 -1
  25. package/src/glitchEffect.test.ts +11 -1
  26. package/src/godRaysEffect.test.ts +6 -1
  27. package/src/gradientBevelEffect.test.ts +6 -0
  28. package/src/gradientGlowEffect.test.ts +6 -0
  29. package/src/halftoneEffect.test.ts +6 -1
  30. package/src/innerGlowEffect.test.ts +6 -0
  31. package/src/innerShadowEffect.test.ts +6 -0
  32. package/src/kuwaharaEffect.test.ts +6 -1
  33. package/src/lensDirtEffect.test.ts +6 -1
  34. package/src/lensDistortionEffect.test.ts +6 -1
  35. package/src/lensFlareEffect.test.ts +6 -1
  36. package/src/medianEffect.test.ts +11 -1
  37. package/src/motionBlurEffect.test.ts +6 -1
  38. package/src/outerGlowEffect.test.ts +6 -0
  39. package/src/outlineEffect.test.ts +11 -1
  40. package/src/panniniProjectionEffect.test.ts +6 -1
  41. package/src/pixelateEffect.test.ts +6 -1
  42. package/src/posterizeEffect.test.ts +6 -1
  43. package/src/radialBlurEffect.test.ts +6 -1
  44. package/src/renderEffect.test.ts +7 -0
  45. package/src/scanlinesEffect.test.ts +6 -1
  46. package/src/screenSpaceFogEffect.test.ts +6 -1
  47. package/src/sharpenEffect.test.ts +6 -1
  48. package/src/sketchEffect.test.ts +6 -1
  49. package/src/smaaEffect.test.ts +6 -1
  50. package/src/ssaoEffect.test.ts +6 -1
  51. package/src/ssrEffect.test.ts +6 -1
  52. package/src/taaEffect.test.ts +6 -1
  53. package/src/tiltShiftEffect.test.ts +6 -0
  54. package/src/toneMapEffect.test.ts +6 -1
  55. package/src/vignetteEffect.test.ts +6 -1
  56. package/src/volumetricLightEffect.test.ts +6 -1
  57. package/src/whiteBalanceEffect.test.ts +6 -1
package/README.md CHANGED
@@ -13,5 +13,5 @@ Import the supported application-facing API from `@flighthq/effects`. The `@flig
13
13
  This package is part of the locked-version Flight SDK graph. Applications may instead install and import `@flighthq/sdk` when package-level tree shaking is sufficient.
14
14
 
15
15
  - [Flight project](https://github.com/flighthq/flight)
16
- - [Source for @flighthq/effects@0.5.1-next.903.f434bc2](https://github.com/flighthq/flight/tree/f434bc233778d75aeea61995df3a8cfaec459a85/packages/effects)
17
- - [License](https://github.com/flighthq/flight/blob/f434bc233778d75aeea61995df3a8cfaec459a85/LICENSE.md)
16
+ - [Source for @flighthq/effects@0.5.1-next.905.5fbf787](https://github.com/flighthq/flight/tree/5fbf7874064c384307542d68b4dcb6a895ff0dcf/packages/effects)
17
+ - [License](https://github.com/flighthq/flight/blob/5fbf7874064c384307542d68b4dcb6a895ff0dcf/LICENSE.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flighthq/effects",
3
- "version": "0.5.1-next.903.f434bc2",
3
+ "version": "0.5.1-next.905.5fbf787",
4
4
  "author": "Joshua Granick and other contributors",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -38,14 +38,14 @@
38
38
  "clean:dist": "tsx ../../scripts/clean-package-dist.ts"
39
39
  },
40
40
  "dependencies": {
41
- "@flighthq/color": "0.5.1-next.903.f434bc2",
42
- "@flighthq/entity": "0.5.1-next.903.f434bc2",
43
- "@flighthq/geometry": "0.5.1-next.903.f434bc2",
44
- "@flighthq/node": "0.5.1-next.903.f434bc2",
45
- "@flighthq/registry": "0.5.1-next.903.f434bc2",
46
- "@flighthq/render": "0.5.1-next.903.f434bc2",
47
- "@flighthq/signals": "0.5.1-next.903.f434bc2",
48
- "@flighthq/types": "0.5.1-next.903.f434bc2"
41
+ "@flighthq/color": "0.5.1-next.905.5fbf787",
42
+ "@flighthq/entity": "0.5.1-next.905.5fbf787",
43
+ "@flighthq/geometry": "0.5.1-next.905.5fbf787",
44
+ "@flighthq/node": "0.5.1-next.905.5fbf787",
45
+ "@flighthq/registry": "0.5.1-next.905.5fbf787",
46
+ "@flighthq/render": "0.5.1-next.905.5fbf787",
47
+ "@flighthq/signals": "0.5.1-next.905.5fbf787",
48
+ "@flighthq/types": "0.5.1-next.905.5fbf787"
49
49
  },
50
50
  "devDependencies": {
51
51
  "typescript": "^5.3.0"
@@ -1,4 +1,4 @@
1
- import { createAutoExposureEffect } from './autoExposureEffect';
1
+ import { createAutoExposureEffect, initializeAutoExposureEffect } from './autoExposureEffect';
2
2
 
3
3
  describe('createAutoExposureEffect', () => {
4
4
  it('carries options', () => {
@@ -9,3 +9,8 @@ describe('createAutoExposureEffect', () => {
9
9
  expect(createAutoExposureEffect().kind).toBe('AutoExposureEffect');
10
10
  });
11
11
  });
12
+ describe('initializeAutoExposureEffect', () => {
13
+ it('is the construction initializer of createAutoExposureEffect', () => {
14
+ expect(typeof initializeAutoExposureEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createBarrelDistortionEffect } from './barrelDistortionEffect';
1
+ import { createBarrelDistortionEffect, initializeBarrelDistortionEffect } from './barrelDistortionEffect';
2
2
 
3
3
  describe('createBarrelDistortionEffect', () => {
4
4
  it('carries options', () => {
@@ -9,3 +9,8 @@ describe('createBarrelDistortionEffect', () => {
9
9
  expect(createBarrelDistortionEffect().kind).toBe('BarrelDistortionEffect');
10
10
  });
11
11
  });
12
+ describe('initializeBarrelDistortionEffect', () => {
13
+ it('is the construction initializer of createBarrelDistortionEffect', () => {
14
+ expect(typeof initializeBarrelDistortionEffect).toBe('function');
15
+ });
16
+ });
@@ -1,6 +1,11 @@
1
1
  import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contract';
2
2
 
3
- import { createBevelEffect, getBevelEffectPadding, registerBevelEffectPaddingResolver } from './bevelEffect';
3
+ import {
4
+ createBevelEffect,
5
+ getBevelEffectPadding,
6
+ initializeBevelEffect,
7
+ registerBevelEffectPaddingResolver,
8
+ } from './bevelEffect';
4
9
 
5
10
  describe('createBevelEffect', () => {
6
11
  it('tags the intent type', () => {
@@ -26,6 +31,11 @@ describe('getBevelEffectPadding', () => {
26
31
  });
27
32
  });
28
33
 
34
+ describe('initializeBevelEffect', () => {
35
+ it('is the construction initializer of createBevelEffect', () => {
36
+ expect(typeof initializeBevelEffect).toBe('function');
37
+ });
38
+ });
29
39
  describe('registerBevelEffectPaddingResolver', () => {
30
40
  it('registers the bevel footprint on only the supplied state', () => {
31
41
  const state = createRenderState();
@@ -5,6 +5,7 @@ import { ImageChannel } from '@flighthq/types/contract';
5
5
  import {
6
6
  createBitmapDisplacementEffect,
7
7
  getBitmapDisplacementEffectPadding,
8
+ initializeBitmapDisplacementEffect,
8
9
  registerBitmapDisplacementEffectPaddingResolver,
9
10
  } from './bitmapDisplacementEffect';
10
11
  import { createDisplacementEffect } from './displacementEffect';
@@ -73,6 +74,11 @@ describe('getBitmapDisplacementEffectPadding', () => {
73
74
  });
74
75
  });
75
76
 
77
+ describe('initializeBitmapDisplacementEffect', () => {
78
+ it('is the construction initializer of createBitmapDisplacementEffect', () => {
79
+ expect(typeof initializeBitmapDisplacementEffect).toBe('function');
80
+ });
81
+ });
76
82
  describe('registerBitmapDisplacementEffectPaddingResolver', () => {
77
83
  it('registers the footprint on only the supplied state', () => {
78
84
  const state = createRenderState();
@@ -1,6 +1,6 @@
1
1
  import { AdvancedBlendMode } from '@flighthq/types/contract';
2
2
 
3
- import { createBlendEffect } from './blendEffect';
3
+ import { createBlendEffect, initializeBlendEffect } from './blendEffect';
4
4
 
5
5
  describe('createBlendEffect', () => {
6
6
  it('builds a BlendEffect carrying the requested mode', () => {
@@ -21,3 +21,8 @@ describe('createBlendEffect', () => {
21
21
  expect(effect.opacity).toBeUndefined();
22
22
  });
23
23
  });
24
+ describe('initializeBlendEffect', () => {
25
+ it('is the construction initializer of createBlendEffect', () => {
26
+ expect(typeof initializeBlendEffect).toBe('function');
27
+ });
28
+ });
@@ -6,6 +6,7 @@ import {
6
6
  computeBloomThreshold,
7
7
  createBloomEffect,
8
8
  getBloomEffectPadding,
9
+ initializeBloomEffect,
9
10
  registerBloomEffectPaddingResolver,
10
11
  } from './bloomEffect';
11
12
 
@@ -60,6 +61,11 @@ describe('getBloomEffectPadding', () => {
60
61
  });
61
62
  });
62
63
 
64
+ describe('initializeBloomEffect', () => {
65
+ it('is the construction initializer of createBloomEffect', () => {
66
+ expect(typeof initializeBloomEffect).toBe('function');
67
+ });
68
+ });
63
69
  describe('registerBloomEffectPaddingResolver', () => {
64
70
  it('registers the bloom footprint on only the supplied state', () => {
65
71
  const state = createRenderState();
@@ -1,6 +1,11 @@
1
1
  import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contract';
2
2
 
3
- import { createBlurEffect, getBlurEffectPadding, registerBlurEffectPaddingResolver } from './blurEffect';
3
+ import {
4
+ createBlurEffect,
5
+ getBlurEffectPadding,
6
+ initializeBlurEffect,
7
+ registerBlurEffectPaddingResolver,
8
+ } from './blurEffect';
4
9
 
5
10
  describe('createBlurEffect', () => {
6
11
  it('sets the kind', () => {
@@ -29,6 +34,11 @@ describe('getBlurEffectPadding', () => {
29
34
  });
30
35
  });
31
36
 
37
+ describe('initializeBlurEffect', () => {
38
+ it('is the construction initializer of createBlurEffect', () => {
39
+ expect(typeof initializeBlurEffect).toBe('function');
40
+ });
41
+ });
32
42
  describe('registerBlurEffectPaddingResolver', () => {
33
43
  it('registers the blur resolver on only the supplied state', () => {
34
44
  const state = createRenderState();
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createBokehDepthOfFieldEffect,
5
5
  getBokehDepthOfFieldEffectPadding,
6
+ initializeBokehDepthOfFieldEffect,
6
7
  registerBokehDepthOfFieldEffectPaddingResolver,
7
8
  } from './bokehDepthOfFieldEffect';
8
9
 
@@ -31,6 +32,11 @@ describe('getBokehDepthOfFieldEffectPadding', () => {
31
32
  });
32
33
  });
33
34
 
35
+ describe('initializeBokehDepthOfFieldEffect', () => {
36
+ it('is the construction initializer of createBokehDepthOfFieldEffect', () => {
37
+ expect(typeof initializeBokehDepthOfFieldEffect).toBe('function');
38
+ });
39
+ });
34
40
  describe('registerBokehDepthOfFieldEffectPaddingResolver', () => {
35
41
  it('registers the bokeh footprint on only the supplied state', () => {
36
42
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createCameraMotionBlurEffect } from './cameraMotionBlurEffect';
1
+ import { createCameraMotionBlurEffect, initializeCameraMotionBlurEffect } from './cameraMotionBlurEffect';
2
2
 
3
3
  describe('createCameraMotionBlurEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -12,3 +12,8 @@ describe('createCameraMotionBlurEffect', () => {
12
12
  });
13
13
  });
14
14
  });
15
+ describe('initializeCameraMotionBlurEffect', () => {
16
+ it('is the construction initializer of createCameraMotionBlurEffect', () => {
17
+ expect(typeof initializeCameraMotionBlurEffect).toBe('function');
18
+ });
19
+ });
@@ -1,4 +1,4 @@
1
- import { createChromaticAberrationEffect } from './chromaticAberrationEffect';
1
+ import { createChromaticAberrationEffect, initializeChromaticAberrationEffect } from './chromaticAberrationEffect';
2
2
 
3
3
  describe('createChromaticAberrationEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -12,3 +12,8 @@ describe('createChromaticAberrationEffect', () => {
12
12
  });
13
13
  });
14
14
  });
15
+ describe('initializeChromaticAberrationEffect', () => {
16
+ it('is the construction initializer of createChromaticAberrationEffect', () => {
17
+ expect(typeof initializeChromaticAberrationEffect).toBe('function');
18
+ });
19
+ });
@@ -1,6 +1,6 @@
1
1
  import { CompositeOperator } from '@flighthq/types/contract';
2
2
 
3
- import { createCompositeEffect } from './compositeEffect';
3
+ import { createCompositeEffect, initializeCompositeEffect } from './compositeEffect';
4
4
 
5
5
  describe('createCompositeEffect', () => {
6
6
  it('builds a CompositeEffect carrying the requested operator', () => {
@@ -19,3 +19,8 @@ describe('createCompositeEffect', () => {
19
19
  expect(effect.backdropKey).toBeUndefined();
20
20
  });
21
21
  });
22
+ describe('initializeCompositeEffect', () => {
23
+ it('is the construction initializer of createCompositeEffect', () => {
24
+ expect(typeof initializeCompositeEffect).toBe('function');
25
+ });
26
+ });
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createContactShadowsEffect,
5
5
  getContactShadowsEffectPadding,
6
+ initializeContactShadowsEffect,
6
7
  registerContactShadowsEffectPaddingResolver,
7
8
  } from './contactShadowsEffect';
8
9
 
@@ -30,6 +31,11 @@ describe('getContactShadowsEffectPadding', () => {
30
31
  });
31
32
  });
32
33
 
34
+ describe('initializeContactShadowsEffect', () => {
35
+ it('is the construction initializer of createContactShadowsEffect', () => {
36
+ expect(typeof initializeContactShadowsEffect).toBe('function');
37
+ });
38
+ });
33
39
  describe('registerContactShadowsEffectPaddingResolver', () => {
34
40
  it('registers the explicit zero footprint on only the supplied state', () => {
35
41
  const state = createRenderState();
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createConvolutionEffect,
5
5
  getConvolutionEffectPadding,
6
+ initializeConvolutionEffect,
6
7
  registerConvolutionEffectPaddingResolver,
7
8
  } from './convolutionEffect';
8
9
 
@@ -36,6 +37,11 @@ describe('getConvolutionEffectPadding', () => {
36
37
  });
37
38
  });
38
39
 
40
+ describe('initializeConvolutionEffect', () => {
41
+ it('is the construction initializer of createConvolutionEffect', () => {
42
+ expect(typeof initializeConvolutionEffect).toBe('function');
43
+ });
44
+ });
39
45
  describe('registerConvolutionEffectPaddingResolver', () => {
40
46
  it('registers the convolution footprint on only the supplied state', () => {
41
47
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createCrtEffect } from './crtEffect';
1
+ import { createCrtEffect, initializeCrtEffect } from './crtEffect';
2
2
 
3
3
  describe('createCrtEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -14,3 +14,8 @@ describe('createCrtEffect', () => {
14
14
  });
15
15
  });
16
16
  });
17
+ describe('initializeCrtEffect', () => {
18
+ it('is the construction initializer of createCrtEffect', () => {
19
+ expect(typeof initializeCrtEffect).toBe('function');
20
+ });
21
+ });
@@ -1,4 +1,4 @@
1
- import { createCustomShaderEffect } from './customShaderEffect';
1
+ import { createCustomShaderEffect, initializeCustomShaderEffect } from './customShaderEffect';
2
2
 
3
3
  describe('createCustomShaderEffect', () => {
4
4
  it('carries options', () => {
@@ -12,3 +12,8 @@ describe('createCustomShaderEffect', () => {
12
12
  expect(createCustomShaderEffect({ shaderKey: 'test' }).kind).toBe('CustomShaderEffect');
13
13
  });
14
14
  });
15
+ describe('initializeCustomShaderEffect', () => {
16
+ it('is the construction initializer of createCustomShaderEffect', () => {
17
+ expect(typeof initializeCustomShaderEffect).toBe('function');
18
+ });
19
+ });
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createDirectionalBlurEffect,
5
5
  getDirectionalBlurEffectPadding,
6
+ initializeDirectionalBlurEffect,
6
7
  registerDirectionalBlurEffectPaddingResolver,
7
8
  } from './directionalBlurEffect';
8
9
 
@@ -27,6 +28,11 @@ describe('getDirectionalBlurEffectPadding', () => {
27
28
  });
28
29
  });
29
30
 
31
+ describe('initializeDirectionalBlurEffect', () => {
32
+ it('is the construction initializer of createDirectionalBlurEffect', () => {
33
+ expect(typeof initializeDirectionalBlurEffect).toBe('function');
34
+ });
35
+ });
30
36
  describe('registerDirectionalBlurEffectPaddingResolver', () => {
31
37
  it('registers the directional-blur footprint on only the supplied state', () => {
32
38
  const state = createRenderState();
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createDisplacementEffect,
5
5
  getDisplacementEffectPadding,
6
+ initializeDisplacementEffect,
6
7
  registerDisplacementEffectPaddingResolver,
7
8
  } from './displacementEffect';
8
9
 
@@ -31,6 +32,11 @@ describe('getDisplacementEffectPadding', () => {
31
32
  });
32
33
  });
33
34
 
35
+ describe('initializeDisplacementEffect', () => {
36
+ it('is the construction initializer of createDisplacementEffect', () => {
37
+ expect(typeof initializeDisplacementEffect).toBe('function');
38
+ });
39
+ });
34
40
  describe('registerDisplacementEffectPaddingResolver', () => {
35
41
  it('registers the displacement footprint on only the supplied state', () => {
36
42
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createDitherEffect } from './ditherEffect';
1
+ import { createDitherEffect, initializeDitherEffect } from './ditherEffect';
2
2
 
3
3
  describe('createDitherEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createDitherEffect', () => {
9
9
  expect(createDitherEffect({ levels: 4 })).toMatchObject({ levels: 4 });
10
10
  });
11
11
  });
12
+ describe('initializeDitherEffect', () => {
13
+ it('is the construction initializer of createDitherEffect', () => {
14
+ expect(typeof initializeDitherEffect).toBe('function');
15
+ });
16
+ });
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createDropShadowEffect,
5
5
  getDropShadowEffectPadding,
6
+ initializeDropShadowEffect,
6
7
  registerDropShadowEffectPaddingResolver,
7
8
  } from './dropShadowEffect';
8
9
 
@@ -30,6 +31,11 @@ describe('getDropShadowEffectPadding', () => {
30
31
  });
31
32
  });
32
33
 
34
+ describe('initializeDropShadowEffect', () => {
35
+ it('is the construction initializer of createDropShadowEffect', () => {
36
+ expect(typeof initializeDropShadowEffect).toBe('function');
37
+ });
38
+ });
33
39
  describe('registerDropShadowEffectPaddingResolver', () => {
34
40
  it('registers the drop-shadow footprint on only the supplied state', () => {
35
41
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createFilmEmulationEffect } from './filmEmulationEffect';
1
+ import { createFilmEmulationEffect, initializeFilmEmulationEffect } from './filmEmulationEffect';
2
2
 
3
3
  describe('createFilmEmulationEffect', () => {
4
4
  it('carries options', () => {
@@ -12,3 +12,8 @@ describe('createFilmEmulationEffect', () => {
12
12
  expect(createFilmEmulationEffect().kind).toBe('FilmEmulationEffect');
13
13
  });
14
14
  });
15
+ describe('initializeFilmEmulationEffect', () => {
16
+ it('is the construction initializer of createFilmEmulationEffect', () => {
17
+ expect(typeof initializeFilmEmulationEffect).toBe('function');
18
+ });
19
+ });
@@ -1,4 +1,4 @@
1
- import { createFilmGrainEffect } from './filmGrainEffect';
1
+ import { createFilmGrainEffect, initializeFilmGrainEffect } from './filmGrainEffect';
2
2
 
3
3
  describe('createFilmGrainEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -13,3 +13,8 @@ describe('createFilmGrainEffect', () => {
13
13
  });
14
14
  });
15
15
  });
16
+ describe('initializeFilmGrainEffect', () => {
17
+ it('is the construction initializer of createFilmGrainEffect', () => {
18
+ expect(typeof initializeFilmGrainEffect).toBe('function');
19
+ });
20
+ });
@@ -1,4 +1,4 @@
1
- import { createFxaaEffect } from './fxaaEffect';
1
+ import { createFxaaEffect, initializeFxaaEffect } from './fxaaEffect';
2
2
 
3
3
  describe('createFxaaEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -12,3 +12,8 @@ describe('createFxaaEffect', () => {
12
12
  });
13
13
  });
14
14
  });
15
+ describe('initializeFxaaEffect', () => {
16
+ it('is the construction initializer of createFxaaEffect', () => {
17
+ expect(typeof initializeFxaaEffect).toBe('function');
18
+ });
19
+ });
@@ -1,6 +1,11 @@
1
1
  import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contract';
2
2
 
3
- import { createGlitchEffect, getGlitchEffectPadding, registerGlitchEffectPaddingResolver } from './glitchEffect';
3
+ import {
4
+ createGlitchEffect,
5
+ getGlitchEffectPadding,
6
+ initializeGlitchEffect,
7
+ registerGlitchEffectPaddingResolver,
8
+ } from './glitchEffect';
4
9
 
5
10
  describe('createGlitchEffect', () => {
6
11
  it('tags the intent type', () => {
@@ -28,6 +33,11 @@ describe('getGlitchEffectPadding', () => {
28
33
  });
29
34
  });
30
35
 
36
+ describe('initializeGlitchEffect', () => {
37
+ it('is the construction initializer of createGlitchEffect', () => {
38
+ expect(typeof initializeGlitchEffect).toBe('function');
39
+ });
40
+ });
31
41
  describe('registerGlitchEffectPaddingResolver', () => {
32
42
  it('registers the glitch footprint on only the supplied state', () => {
33
43
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createGodRaysEffect } from './godRaysEffect';
1
+ import { createGodRaysEffect, initializeGodRaysEffect } from './godRaysEffect';
2
2
 
3
3
  describe('createGodRaysEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -13,3 +13,8 @@ describe('createGodRaysEffect', () => {
13
13
  });
14
14
  });
15
15
  });
16
+ describe('initializeGodRaysEffect', () => {
17
+ it('is the construction initializer of createGodRaysEffect', () => {
18
+ expect(typeof initializeGodRaysEffect).toBe('function');
19
+ });
20
+ });
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createGradientBevelEffect,
5
5
  getGradientBevelEffectPadding,
6
+ initializeGradientBevelEffect,
6
7
  registerGradientBevelEffectPaddingResolver,
7
8
  } from './gradientBevelEffect';
8
9
 
@@ -41,6 +42,11 @@ describe('getGradientBevelEffectPadding', () => {
41
42
  });
42
43
  });
43
44
 
45
+ describe('initializeGradientBevelEffect', () => {
46
+ it('is the construction initializer of createGradientBevelEffect', () => {
47
+ expect(typeof initializeGradientBevelEffect).toBe('function');
48
+ });
49
+ });
44
50
  describe('registerGradientBevelEffectPaddingResolver', () => {
45
51
  it('registers the gradient-bevel footprint on only the supplied state', () => {
46
52
  const state = createRenderState();
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createGradientGlowEffect,
5
5
  getGradientGlowEffectPadding,
6
+ initializeGradientGlowEffect,
6
7
  registerGradientGlowEffectPaddingResolver,
7
8
  } from './gradientGlowEffect';
8
9
 
@@ -36,6 +37,11 @@ describe('getGradientGlowEffectPadding', () => {
36
37
  });
37
38
  });
38
39
 
40
+ describe('initializeGradientGlowEffect', () => {
41
+ it('is the construction initializer of createGradientGlowEffect', () => {
42
+ expect(typeof initializeGradientGlowEffect).toBe('function');
43
+ });
44
+ });
39
45
  describe('registerGradientGlowEffectPaddingResolver', () => {
40
46
  it('registers the gradient-glow footprint on only the supplied state', () => {
41
47
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createHalftoneEffect } from './halftoneEffect';
1
+ import { createHalftoneEffect, initializeHalftoneEffect } from './halftoneEffect';
2
2
 
3
3
  describe('createHalftoneEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createHalftoneEffect', () => {
9
9
  expect(createHalftoneEffect({ scale: 6, angle: 30 })).toMatchObject({ scale: 6, angle: 30 });
10
10
  });
11
11
  });
12
+ describe('initializeHalftoneEffect', () => {
13
+ it('is the construction initializer of createHalftoneEffect', () => {
14
+ expect(typeof initializeHalftoneEffect).toBe('function');
15
+ });
16
+ });
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createInnerGlowEffect,
5
5
  getInnerGlowEffectPadding,
6
+ initializeInnerGlowEffect,
6
7
  registerInnerGlowEffectPaddingResolver,
7
8
  } from './innerGlowEffect';
8
9
 
@@ -31,6 +32,11 @@ describe('getInnerGlowEffectPadding', () => {
31
32
  });
32
33
  });
33
34
 
35
+ describe('initializeInnerGlowEffect', () => {
36
+ it('is the construction initializer of createInnerGlowEffect', () => {
37
+ expect(typeof initializeInnerGlowEffect).toBe('function');
38
+ });
39
+ });
34
40
  describe('registerInnerGlowEffectPaddingResolver', () => {
35
41
  it('registers the inner-glow footprint on only the supplied state', () => {
36
42
  const state = createRenderState();
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createInnerShadowEffect,
5
5
  getInnerShadowEffectPadding,
6
+ initializeInnerShadowEffect,
6
7
  registerInnerShadowEffectPaddingResolver,
7
8
  } from './innerShadowEffect';
8
9
 
@@ -33,6 +34,11 @@ describe('getInnerShadowEffectPadding', () => {
33
34
  });
34
35
  });
35
36
 
37
+ describe('initializeInnerShadowEffect', () => {
38
+ it('is the construction initializer of createInnerShadowEffect', () => {
39
+ expect(typeof initializeInnerShadowEffect).toBe('function');
40
+ });
41
+ });
36
42
  describe('registerInnerShadowEffectPaddingResolver', () => {
37
43
  it('registers the inner-shadow footprint on only the supplied state', () => {
38
44
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createKuwaharaEffect } from './kuwaharaEffect';
1
+ import { createKuwaharaEffect, initializeKuwaharaEffect } from './kuwaharaEffect';
2
2
 
3
3
  describe('createKuwaharaEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createKuwaharaEffect', () => {
9
9
  expect(createKuwaharaEffect({ radius: 3 })).toMatchObject({ radius: 3 });
10
10
  });
11
11
  });
12
+ describe('initializeKuwaharaEffect', () => {
13
+ it('is the construction initializer of createKuwaharaEffect', () => {
14
+ expect(typeof initializeKuwaharaEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createLensDirtEffect } from './lensDirtEffect';
1
+ import { createLensDirtEffect, initializeLensDirtEffect } from './lensDirtEffect';
2
2
 
3
3
  describe('createLensDirtEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -13,3 +13,8 @@ describe('createLensDirtEffect', () => {
13
13
  });
14
14
  });
15
15
  });
16
+ describe('initializeLensDirtEffect', () => {
17
+ it('is the construction initializer of createLensDirtEffect', () => {
18
+ expect(typeof initializeLensDirtEffect).toBe('function');
19
+ });
20
+ });
@@ -1,4 +1,4 @@
1
- import { createLensDistortionEffect } from './lensDistortionEffect';
1
+ import { createLensDistortionEffect, initializeLensDistortionEffect } from './lensDistortionEffect';
2
2
 
3
3
  describe('createLensDistortionEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createLensDistortionEffect', () => {
9
9
  expect(createLensDistortionEffect({ amount: 0.3, scale: 0.9 })).toMatchObject({ amount: 0.3, scale: 0.9 });
10
10
  });
11
11
  });
12
+ describe('initializeLensDistortionEffect', () => {
13
+ it('is the construction initializer of createLensDistortionEffect', () => {
14
+ expect(typeof initializeLensDistortionEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createLensFlareEffect } from './lensFlareEffect';
1
+ import { createLensFlareEffect, initializeLensFlareEffect } from './lensFlareEffect';
2
2
 
3
3
  describe('createLensFlareEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -14,3 +14,8 @@ describe('createLensFlareEffect', () => {
14
14
  });
15
15
  });
16
16
  });
17
+ describe('initializeLensFlareEffect', () => {
18
+ it('is the construction initializer of createLensFlareEffect', () => {
19
+ expect(typeof initializeLensFlareEffect).toBe('function');
20
+ });
21
+ });
@@ -1,6 +1,11 @@
1
1
  import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contract';
2
2
 
3
- import { createMedianEffect, getMedianEffectPadding, registerMedianEffectPaddingResolver } from './medianEffect';
3
+ import {
4
+ createMedianEffect,
5
+ getMedianEffectPadding,
6
+ initializeMedianEffect,
7
+ registerMedianEffectPaddingResolver,
8
+ } from './medianEffect';
4
9
 
5
10
  describe('createMedianEffect', () => {
6
11
  it('tags the intent type', () => {
@@ -23,6 +28,11 @@ describe('getMedianEffectPadding', () => {
23
28
  });
24
29
  });
25
30
 
31
+ describe('initializeMedianEffect', () => {
32
+ it('is the construction initializer of createMedianEffect', () => {
33
+ expect(typeof initializeMedianEffect).toBe('function');
34
+ });
35
+ });
26
36
  describe('registerMedianEffectPaddingResolver', () => {
27
37
  it('registers the median footprint on only the supplied state', () => {
28
38
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createMotionBlurEffect } from './motionBlurEffect';
1
+ import { createMotionBlurEffect, initializeMotionBlurEffect } from './motionBlurEffect';
2
2
 
3
3
  describe('createMotionBlurEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createMotionBlurEffect', () => {
9
9
  expect(createMotionBlurEffect({ intensity: 0.8, samples: 12 })).toMatchObject({ intensity: 0.8, samples: 12 });
10
10
  });
11
11
  });
12
+ describe('initializeMotionBlurEffect', () => {
13
+ it('is the construction initializer of createMotionBlurEffect', () => {
14
+ expect(typeof initializeMotionBlurEffect).toBe('function');
15
+ });
16
+ });
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createOuterGlowEffect,
5
5
  getOuterGlowEffectPadding,
6
+ initializeOuterGlowEffect,
6
7
  registerOuterGlowEffectPaddingResolver,
7
8
  } from './outerGlowEffect';
8
9
 
@@ -30,6 +31,11 @@ describe('getOuterGlowEffectPadding', () => {
30
31
  });
31
32
  });
32
33
 
34
+ describe('initializeOuterGlowEffect', () => {
35
+ it('is the construction initializer of createOuterGlowEffect', () => {
36
+ expect(typeof initializeOuterGlowEffect).toBe('function');
37
+ });
38
+ });
33
39
  describe('registerOuterGlowEffectPaddingResolver', () => {
34
40
  it('registers the outer-glow footprint on only the supplied state', () => {
35
41
  const state = createRenderState();
@@ -1,6 +1,11 @@
1
1
  import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contract';
2
2
 
3
- import { createOutlineEffect, getOutlineEffectPadding, registerOutlineEffectPaddingResolver } from './outlineEffect';
3
+ import {
4
+ createOutlineEffect,
5
+ getOutlineEffectPadding,
6
+ initializeOutlineEffect,
7
+ registerOutlineEffectPaddingResolver,
8
+ } from './outlineEffect';
4
9
 
5
10
  describe('createOutlineEffect', () => {
6
11
  it('tags the intent type', () => {
@@ -27,6 +32,11 @@ describe('getOutlineEffectPadding', () => {
27
32
  });
28
33
  });
29
34
 
35
+ describe('initializeOutlineEffect', () => {
36
+ it('is the construction initializer of createOutlineEffect', () => {
37
+ expect(typeof initializeOutlineEffect).toBe('function');
38
+ });
39
+ });
30
40
  describe('registerOutlineEffectPaddingResolver', () => {
31
41
  it('registers the outline footprint on only the supplied state', () => {
32
42
  const state = createRenderState();
@@ -1,4 +1,4 @@
1
- import { createPanniniProjectionEffect } from './panniniProjectionEffect';
1
+ import { createPanniniProjectionEffect, initializePanniniProjectionEffect } from './panniniProjectionEffect';
2
2
 
3
3
  describe('createPanniniProjectionEffect', () => {
4
4
  it('carries options', () => {
@@ -12,3 +12,8 @@ describe('createPanniniProjectionEffect', () => {
12
12
  expect(createPanniniProjectionEffect().kind).toBe('PanniniProjectionEffect');
13
13
  });
14
14
  });
15
+ describe('initializePanniniProjectionEffect', () => {
16
+ it('is the construction initializer of createPanniniProjectionEffect', () => {
17
+ expect(typeof initializePanniniProjectionEffect).toBe('function');
18
+ });
19
+ });
@@ -1,4 +1,4 @@
1
- import { createPixelateEffect } from './pixelateEffect';
1
+ import { createPixelateEffect, initializePixelateEffect } from './pixelateEffect';
2
2
 
3
3
  describe('createPixelateEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createPixelateEffect', () => {
9
9
  expect(createPixelateEffect({ size: 8 })).toMatchObject({ size: 8 });
10
10
  });
11
11
  });
12
+ describe('initializePixelateEffect', () => {
13
+ it('is the construction initializer of createPixelateEffect', () => {
14
+ expect(typeof initializePixelateEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createPosterizeEffect } from './posterizeEffect';
1
+ import { createPosterizeEffect, initializePosterizeEffect } from './posterizeEffect';
2
2
 
3
3
  describe('createPosterizeEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createPosterizeEffect', () => {
9
9
  expect(createPosterizeEffect({ levels: 4 })).toMatchObject({ levels: 4 });
10
10
  });
11
11
  });
12
+ describe('initializePosterizeEffect', () => {
13
+ it('is the construction initializer of createPosterizeEffect', () => {
14
+ expect(typeof initializePosterizeEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createRadialBlurEffect } from './radialBlurEffect';
1
+ import { createRadialBlurEffect, initializeRadialBlurEffect } from './radialBlurEffect';
2
2
 
3
3
  describe('createRadialBlurEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -13,3 +13,8 @@ describe('createRadialBlurEffect', () => {
13
13
  });
14
14
  });
15
15
  });
16
+ describe('initializeRadialBlurEffect', () => {
17
+ it('is the construction initializer of createRadialBlurEffect', () => {
18
+ expect(typeof initializeRadialBlurEffect).toBe('function');
19
+ });
20
+ });
@@ -0,0 +1,7 @@
1
+ import { initializeRenderEffect } from './renderEffect';
2
+
3
+ describe('initializeRenderEffect', () => {
4
+ it('is the construction initializer of createRenderEffect', () => {
5
+ expect(typeof initializeRenderEffect).toBe('function');
6
+ });
7
+ });
@@ -1,4 +1,4 @@
1
- import { createScanlinesEffect } from './scanlinesEffect';
1
+ import { createScanlinesEffect, initializeScanlinesEffect } from './scanlinesEffect';
2
2
 
3
3
  describe('createScanlinesEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createScanlinesEffect', () => {
9
9
  expect(createScanlinesEffect({ count: 240, intensity: 0.4 })).toMatchObject({ count: 240, intensity: 0.4 });
10
10
  });
11
11
  });
12
+ describe('initializeScanlinesEffect', () => {
13
+ it('is the construction initializer of createScanlinesEffect', () => {
14
+ expect(typeof initializeScanlinesEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createScreenSpaceFogEffect } from './screenSpaceFogEffect';
1
+ import { createScreenSpaceFogEffect, initializeScreenSpaceFogEffect } from './screenSpaceFogEffect';
2
2
 
3
3
  describe('createScreenSpaceFogEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -12,3 +12,8 @@ describe('createScreenSpaceFogEffect', () => {
12
12
  });
13
13
  });
14
14
  });
15
+ describe('initializeScreenSpaceFogEffect', () => {
16
+ it('is the construction initializer of createScreenSpaceFogEffect', () => {
17
+ expect(typeof initializeScreenSpaceFogEffect).toBe('function');
18
+ });
19
+ });
@@ -1,4 +1,4 @@
1
- import { createSharpenEffect } from './sharpenEffect';
1
+ import { createSharpenEffect, initializeSharpenEffect } from './sharpenEffect';
2
2
 
3
3
  describe('createSharpenEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createSharpenEffect', () => {
9
9
  expect(createSharpenEffect({ amount: 0.6 })).toMatchObject({ amount: 0.6 });
10
10
  });
11
11
  });
12
+ describe('initializeSharpenEffect', () => {
13
+ it('is the construction initializer of createSharpenEffect', () => {
14
+ expect(typeof initializeSharpenEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createSketchEffect } from './sketchEffect';
1
+ import { createSketchEffect, initializeSketchEffect } from './sketchEffect';
2
2
 
3
3
  describe('createSketchEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createSketchEffect', () => {
9
9
  expect(createSketchEffect({ strength: 0.8 })).toMatchObject({ strength: 0.8 });
10
10
  });
11
11
  });
12
+ describe('initializeSketchEffect', () => {
13
+ it('is the construction initializer of createSketchEffect', () => {
14
+ expect(typeof initializeSketchEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createSmaaEffect } from './smaaEffect';
1
+ import { createSmaaEffect, initializeSmaaEffect } from './smaaEffect';
2
2
 
3
3
  describe('createSmaaEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createSmaaEffect', () => {
9
9
  expect(createSmaaEffect({ threshold: 0.1 })).toMatchObject({ threshold: 0.1 });
10
10
  });
11
11
  });
12
+ describe('initializeSmaaEffect', () => {
13
+ it('is the construction initializer of createSmaaEffect', () => {
14
+ expect(typeof initializeSmaaEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createSsaoEffect } from './ssaoEffect';
1
+ import { createSsaoEffect, initializeSsaoEffect } from './ssaoEffect';
2
2
 
3
3
  describe('createSsaoEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createSsaoEffect', () => {
9
9
  expect(createSsaoEffect({ radius: 4, intensity: 1.5 })).toMatchObject({ radius: 4, intensity: 1.5 });
10
10
  });
11
11
  });
12
+ describe('initializeSsaoEffect', () => {
13
+ it('is the construction initializer of createSsaoEffect', () => {
14
+ expect(typeof initializeSsaoEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createSsrEffect } from './ssrEffect';
1
+ import { createSsrEffect, initializeSsrEffect } from './ssrEffect';
2
2
 
3
3
  describe('createSsrEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createSsrEffect', () => {
9
9
  expect(createSsrEffect({ maxDistance: 10, steps: 32 })).toMatchObject({ maxDistance: 10, steps: 32 });
10
10
  });
11
11
  });
12
+ describe('initializeSsrEffect', () => {
13
+ it('is the construction initializer of createSsrEffect', () => {
14
+ expect(typeof initializeSsrEffect).toBe('function');
15
+ });
16
+ });
@@ -1,4 +1,4 @@
1
- import { createTaaEffect } from './taaEffect';
1
+ import { createTaaEffect, initializeTaaEffect } from './taaEffect';
2
2
 
3
3
  describe('createTaaEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createTaaEffect', () => {
9
9
  expect(createTaaEffect({ feedback: 0.9 })).toMatchObject({ feedback: 0.9 });
10
10
  });
11
11
  });
12
+ describe('initializeTaaEffect', () => {
13
+ it('is the construction initializer of createTaaEffect', () => {
14
+ expect(typeof initializeTaaEffect).toBe('function');
15
+ });
16
+ });
@@ -3,6 +3,7 @@ import { createRenderState, getRenderStateRuntime } from '@flighthq/render/contr
3
3
  import {
4
4
  createTiltShiftEffect,
5
5
  getTiltShiftEffectPadding,
6
+ initializeTiltShiftEffect,
6
7
  registerTiltShiftEffectPaddingResolver,
7
8
  } from './tiltShiftEffect';
8
9
 
@@ -31,6 +32,11 @@ describe('getTiltShiftEffectPadding', () => {
31
32
  });
32
33
  });
33
34
 
35
+ describe('initializeTiltShiftEffect', () => {
36
+ it('is the construction initializer of createTiltShiftEffect', () => {
37
+ expect(typeof initializeTiltShiftEffect).toBe('function');
38
+ });
39
+ });
34
40
  describe('registerTiltShiftEffectPaddingResolver', () => {
35
41
  it('registers the tilt-shift footprint on only the supplied state', () => {
36
42
  const state = createRenderState();
@@ -1,7 +1,12 @@
1
- import { createToneMapEffect } from './toneMapEffect';
1
+ import { createToneMapEffect, initializeToneMapEffect } from './toneMapEffect';
2
2
 
3
3
  describe('createToneMapEffect', () => {
4
4
  it('tags the intent type and operator', () => {
5
5
  expect(createToneMapEffect({ operator: 'aces' })).toMatchObject({ kind: 'ToneMapEffect', operator: 'aces' });
6
6
  });
7
7
  });
8
+ describe('initializeToneMapEffect', () => {
9
+ it('is the construction initializer of createToneMapEffect', () => {
10
+ expect(typeof initializeToneMapEffect).toBe('function');
11
+ });
12
+ });
@@ -1,4 +1,4 @@
1
- import { createVignetteEffect } from './vignetteEffect';
1
+ import { createVignetteEffect, initializeVignetteEffect } from './vignetteEffect';
2
2
 
3
3
  describe('createVignetteEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -14,3 +14,8 @@ describe('createVignetteEffect', () => {
14
14
  });
15
15
  });
16
16
  });
17
+ describe('initializeVignetteEffect', () => {
18
+ it('is the construction initializer of createVignetteEffect', () => {
19
+ expect(typeof initializeVignetteEffect).toBe('function');
20
+ });
21
+ });
@@ -1,4 +1,4 @@
1
- import { createVolumetricLightEffect } from './volumetricLightEffect';
1
+ import { createVolumetricLightEffect, initializeVolumetricLightEffect } from './volumetricLightEffect';
2
2
 
3
3
  describe('createVolumetricLightEffect', () => {
4
4
  it('carries options', () => {
@@ -12,3 +12,8 @@ describe('createVolumetricLightEffect', () => {
12
12
  expect(createVolumetricLightEffect().kind).toBe('VolumetricLightEffect');
13
13
  });
14
14
  });
15
+ describe('initializeVolumetricLightEffect', () => {
16
+ it('is the construction initializer of createVolumetricLightEffect', () => {
17
+ expect(typeof initializeVolumetricLightEffect).toBe('function');
18
+ });
19
+ });
@@ -1,4 +1,4 @@
1
- import { createWhiteBalanceEffect } from './whiteBalanceEffect';
1
+ import { createWhiteBalanceEffect, initializeWhiteBalanceEffect } from './whiteBalanceEffect';
2
2
 
3
3
  describe('createWhiteBalanceEffect', () => {
4
4
  it('tags the intent type', () => {
@@ -9,3 +9,8 @@ describe('createWhiteBalanceEffect', () => {
9
9
  expect(createWhiteBalanceEffect({ temperature: 0.3, tint: -0.2 })).toMatchObject({ temperature: 0.3, tint: -0.2 });
10
10
  });
11
11
  });
12
+ describe('initializeWhiteBalanceEffect', () => {
13
+ it('is the construction initializer of createWhiteBalanceEffect', () => {
14
+ expect(typeof initializeWhiteBalanceEffect).toBe('function');
15
+ });
16
+ });