@shapediver/viewer.rendering-engine.rendering-engine 1.12.0 → 1.12.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,15 @@
1
1
  export declare enum RENDERERTYPE {
2
+ /** The standard rendering engine */
2
3
  STANDARD = "standard",
4
+ /** A basic version of the rendering engine */
3
5
  ATTRIBUTES = "attributes"
4
6
  }
5
7
  export declare enum VISIBILITYMODE {
8
+ /** The viewer shows the scene instantly */
6
9
  INSTANT = "instant",
10
+ /** The viewer shows the scene after the first session loading */
7
11
  SESSION = "session",
12
+ /** The viewer is shown once the 'show' property is set to true */
8
13
  MANUAL = "manual"
9
14
  }
10
15
  export declare enum TEXTURE_ENCODING {
@@ -32,6 +37,11 @@ export interface IRenderingEngine {
32
37
  type: RENDERERTYPE;
33
38
  show: boolean;
34
39
  showStatistics: boolean;
40
+ /**
41
+ * Update the current tree with the provided node.
42
+ *
43
+ * @param root the root node
44
+ */
35
45
  update(): void;
36
46
  reset(): void;
37
47
  resize(width: number, height: number): void;
@@ -1 +1 @@
1
- {"version":3,"file":"IRenderingEngine.d.ts","sourceRoot":"","sources":["../src/IRenderingEngine.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IAEtB,QAAQ,aAAa;IAErB,UAAU,eAAe;CAC1B;AAED,oBAAY,cAAc;IAExB,OAAO,YAAY;IAEnB,OAAO,YAAY;IAEnB,MAAM,WAAW;CAClB;AAED,oBAAY,gBAAgB;IAC1B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,KAAK,UAAU;CAChB;AAED,oBAAY,YAAY;IACtB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC5B;AAGD,MAAM,WAAW,gBAAgB;IAG/B,iBAAiB,EAAE,OAAO,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;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,cAAc,EAAE,OAAO,CAAC;IAMxB;;;;OAIG;IACH,MAAM,IAAI,IAAI,CAAC;IACf,KAAK,IAAI,IAAI,CAAC;IACd,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5C,aAAa,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAG/D"}
@@ -3,13 +3,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TONE_MAPPING = exports.TEXTURE_ENCODING = exports.VISIBILITYMODE = exports.RENDERERTYPE = void 0;
4
4
  var RENDERERTYPE;
5
5
  (function (RENDERERTYPE) {
6
+ /** The standard rendering engine */
6
7
  RENDERERTYPE["STANDARD"] = "standard";
8
+ /** A basic version of the rendering engine */
7
9
  RENDERERTYPE["ATTRIBUTES"] = "attributes";
8
10
  })(RENDERERTYPE = exports.RENDERERTYPE || (exports.RENDERERTYPE = {}));
9
11
  var VISIBILITYMODE;
10
12
  (function (VISIBILITYMODE) {
13
+ /** The viewer shows the scene instantly */
11
14
  VISIBILITYMODE["INSTANT"] = "instant";
15
+ /** The viewer shows the scene after the first session loading */
12
16
  VISIBILITYMODE["SESSION"] = "session";
17
+ /** The viewer is shown once the 'show' property is set to true */
13
18
  VISIBILITYMODE["MANUAL"] = "manual";
14
19
  })(VISIBILITYMODE = exports.VISIBILITYMODE || (exports.VISIBILITYMODE = {}));
15
20
  var TEXTURE_ENCODING;
@@ -1 +1 @@
1
- {"version":3,"file":"IRenderingEngine.js","sourceRoot":"","sources":["../src/IRenderingEngine.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IAEtB,qCAAqB,CAAA;IAErB,yCAAyB,CAAA;AAC3B,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAED,IAAY,cAOX;AAPD,WA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gB,QAQ3B;AAED,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,6BAAa,CAAA;IACb,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,2CAA2B,CAAA;AAC7B,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shapediver/viewer.rendering-engine.rendering-engine",
3
- "version": "1.12.0",
3
+ "version": "1.12.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "Michael Oppitz <michael@shapediver.com>",
@@ -36,13 +36,13 @@
36
36
  "testEnvironment": "node"
37
37
  },
38
38
  "dependencies": {
39
- "@shapediver/viewer.rendering-engine.camera-engine": "1.12.0",
40
- "@shapediver/viewer.rendering-engine.canvas-engine": "1.12.0",
41
- "@shapediver/viewer.rendering-engine.light-engine": "1.12.0",
42
- "@shapediver/viewer.shared.node-tree": "1.12.0",
43
- "@shapediver/viewer.shared.services": "1.12.0",
39
+ "@shapediver/viewer.rendering-engine.camera-engine": "1.12.4",
40
+ "@shapediver/viewer.rendering-engine.canvas-engine": "1.12.4",
41
+ "@shapediver/viewer.rendering-engine.light-engine": "1.12.4",
42
+ "@shapediver/viewer.shared.node-tree": "1.12.4",
43
+ "@shapediver/viewer.shared.services": "1.12.4",
44
44
  "gl-matrix": "3.3.0",
45
45
  "tsyringe": "^4.5.0"
46
46
  },
47
- "gitHead": "5a8184e94f1d8664d8c4d1d713fefb65496b9ba0"
47
+ "gitHead": "8eaec07cb71ad7cda7a2b0c09d3a32c2b00bd205"
48
48
  }