@cognite/reveal 4.5.1-dev.20231025 → 4.5.1-dev.20231027

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.
@@ -43,6 +43,17 @@ export declare class CadManager {
43
43
  addModel(modelIdentifier: ModelIdentifier, geometryFilter?: GeometryFilter): Promise<CadNode>;
44
44
  removeModel(model: CadNode): void;
45
45
  getLoadingStateObserver(): Observable<LoadingState>;
46
+ /**
47
+ * Sets the Memory Cache size for all loaded models to the current budget
48
+ * @param budget The budget to calculate cache size by
49
+ */
50
+ private updateCacheSizeForAllLoadedModels;
51
+ /**
52
+ * Sets the Memory Cache size the model to the current budget
53
+ * @param model The model to update
54
+ * @param budget The budget to calculate cache size by
55
+ */
56
+ private setCacheSizeForModel;
46
57
  private markNeedsRedraw;
47
58
  private handleMaterialsChanged;
48
59
  private updateTreeIndexToSectorsMap;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cognite/reveal",
3
- "version": "4.5.1-dev.20231025",
3
+ "version": "4.5.1-dev.20231027",
4
4
  "description": "WebGL based 3D viewer for CAD and point clouds processed in Cognite Data Fusion.",
5
5
  "homepage": "https://github.com/cognitedata/reveal/tree/master/viewer",
6
6
  "repository": {
@@ -101,7 +101,7 @@
101
101
  "concurrently": "8.2.2",
102
102
  "cross-env": "7.0.3",
103
103
  "dat.gui": "0.7.9",
104
- "eslint": "8.51.0",
104
+ "eslint": "8.52.0",
105
105
  "eslint-config-prettier": "9.0.0",
106
106
  "eslint-plugin-header": "3.1.1",
107
107
  "eslint-plugin-jsdoc": "46.8.2",