@xviewer.js/postprocessing 1.0.0-alpha.1 → 1.0.0-alpha.10

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/package.json CHANGED
@@ -1,26 +1,28 @@
1
1
  {
2
- "name": "@xviewer.js/postprocessing",
3
- "version": "1.0.0-alpha.1",
4
- "publishConfig": {
5
- "access": "public",
6
- "registry": "https://registry.npmjs.org"
7
- },
8
- "license": "MIT",
9
- "main": "dist/main.js",
10
- "module": "dist/module.js",
11
- "types": "types/index.d.ts",
12
- "debug": "src/index.ts",
13
- "scripts": {
14
- "b:types": "tsc"
15
- },
16
- "files": [
17
- "dist/**/*",
18
- "types/**/*"
19
- ],
20
- "peerDependencies": {
21
- "postprocessing": ">= 6.35.4"
22
- },
23
- "dependencies": {
24
- "@xviewer.js/core": "1.0.0-alpha.1"
25
- }
2
+ "name": "@xviewer.js/postprocessing",
3
+ "version": "1.0.0-alpha.10",
4
+ "publishConfig": {
5
+ "access": "public",
6
+ "registry": "https://registry.npmjs.org"
7
+ },
8
+ "license": "MIT",
9
+ "type": "module",
10
+ "sideEffects": false,
11
+ "main": "dist/main.js",
12
+ "module": "dist/module.js",
13
+ "types": "types/index.d.ts",
14
+ "debug": "src/index.ts",
15
+ "files": [
16
+ "dist/**/*",
17
+ "types/**/*"
18
+ ],
19
+ "dependencies": {
20
+ "@xviewer.js/core": "1.0.0-alpha.10"
21
+ },
22
+ "peerDependencies": {
23
+ "postprocessing": ">= 6.35.4"
24
+ },
25
+ "scripts": {
26
+ "b:types": "tsc"
27
+ }
26
28
  }
@@ -1,4 +1,4 @@
1
- import { Plugin, Viewer } from "@xviewer/core";
1
+ import { Plugin, Viewer } from "@xviewer.js/core";
2
2
  import { EffectComposer, Pass } from "postprocessing";
3
3
  export declare class EffectComposerPlugin extends Plugin {
4
4
  static Instance(viewer: Viewer): EffectComposerPlugin;
@@ -12,7 +12,6 @@ export declare class EffectComposerPlugin extends Plugin {
12
12
  addPass<T extends Pass>(pass: T): T;
13
13
  removePass(pass: Pass): void;
14
14
  activePass(pass: Pass, v: boolean): Pass;
15
- getVelocityDepthNormalPass(autoAdd?: boolean): Pass;
16
15
  private _checkOutputPass;
17
16
  private _setRenderToScreen;
18
17
  }
@@ -1,4 +1,4 @@
1
- import { Plugin } from "@xviewer/core";
1
+ import { Plugin } from "@xviewer.js/core";
2
2
  import { EffectComposerPlugin } from "./EffectComposerPlugin";
3
3
  export declare class MSAAPlugin extends Plugin {
4
4
  get enable(): boolean;
@@ -1,4 +1,4 @@
1
- import { Plugin } from "@xviewer/core";
1
+ import { Plugin } from "@xviewer.js/core";
2
2
  import { Pass } from "postprocessing";
3
3
  import { EffectComposerPlugin } from "./EffectComposerPlugin";
4
4
  export declare class PassPlugin<T extends Pass> extends Plugin {
@@ -1,3 +1,3 @@
1
1
  /// <reference types="postprocessing" />
2
- import { Viewer } from "@xviewer/core";
3
- export declare function getVelocityDepthNormalPass(viewer: Viewer): import("postprocessing").Pass;
2
+ import { Viewer } from "@xviewer.js/core";
3
+ export declare function getVelocityDepthNormalPass(viewer: Viewer, autoAdd?: boolean): import("postprocessing").Pass;
package/types/index.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  export { EffectComposerPlugin } from "./EffectComposerPlugin";
2
2
  export { ToneMappingPlugin } from "./ToneMappingPlugin";
3
- export { MotionBlurPlugin } from "./MotionBlurPlugin";
4
3
  export { BloomPlugin } from "./BloomPlugin";
5
4
  export { FXAAPlugin } from "./FXAAPlugin";
6
5
  export { SMAAPlugin } from "./SMAAPlugin";
7
6
  export { MSAAPlugin } from "./MSAAPlugin";
8
7
  export { TRAAPlugin } from "./TRAAPlugin";
8
+ export { MotionBlurPlugin } from "./MotionBlurPlugin";
@@ -1,5 +0,0 @@
1
- import { PassPlugin } from "./PassPlugin";
2
- import { TAAPass } from "./realism-effects";
3
- export declare class TAAPlugin extends PassPlugin<TAAPass> {
4
- constructor();
5
- }