@babylonjs/node-editor 7.47.1 → 7.47.2

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.
@@ -137,7 +137,8 @@ import { Nullable } from "@babylonjs/core/types";
137
137
  import { LockObject } from "@babylonjs/node-editor/tabs/propertyGrids/lockObject";
138
138
  import { StateManager } from "@babylonjs/node-editor/nodeGraphSystem/stateManager";
139
139
  import { FilesInput } from "@babylonjs/core/Misc/filesInput";
140
- import { Texture } from "@babylonjs/core/Materials/Textures/texture";
140
+ import { RenderTargetTexture } from "@babylonjs/core/Materials/Textures/renderTargetTexture";
141
+ import { NodeMaterialDebugBlock } from "@babylonjs/core/Materials/Node/Blocks/debugBlock";
141
142
  export class GlobalState {
142
143
  hostElement: HTMLElement;
143
144
  hostDocument: Document;
@@ -181,9 +182,10 @@ export class GlobalState {
181
182
  pointerOverCanvas: boolean;
182
183
  filesInput: FilesInput;
183
184
  onRefreshPreviewMeshControlComponentRequiredObservable: Observable<void>;
184
- previewTexture: Nullable<Texture>;
185
+ previewTexture: Nullable<RenderTargetTexture>;
185
186
  onPreviewSceneAfterRenderObservable: Observable<void>;
186
187
  onPreviewUpdatedObservable: Observable<NodeMaterial>;
188
+ debugBlocksToRefresh: NodeMaterialDebugBlock[];
187
189
  /** Gets the mode */
188
190
  get mode(): NodeMaterialModes;
189
191
  /** Sets the mode */
@@ -727,6 +729,15 @@ export class FrameNodePortPropertyTabComponent extends React.Component<IFrameNod
727
729
 
728
730
  }
729
731
 
732
+ }
733
+ declare module "@babylonjs/node-editor/graphSystem/properties/debugNodePropertyTabComponent" {
734
+ import * as React from "react";
735
+ import { IPropertyComponentProps } from "@babylonjs/node-editor/nodeGraphSystem/interfaces/propertyComponentProps";
736
+ export class DebugNodePropertyTabComponent extends React.Component<IPropertyComponentProps> {
737
+ refreshAll(): void;
738
+
739
+ }
740
+
730
741
  }
731
742
  declare module "@babylonjs/node-editor/graphSystem/properties/colorMergerPropertyComponent" {
732
743
  import * as React from "react";
@@ -934,6 +945,7 @@ import { StateManager } from "@babylonjs/node-editor/nodeGraphSystem/stateManage
934
945
  export class DebugDisplayManager implements IDisplayManager {
935
946
  private _previewCanvas;
936
947
  private _previewImage;
948
+ private _onPreviewSceneAfterRenderObserver;
937
949
  getHeaderClass(): string;
938
950
  shouldDisplayPortLabels(): boolean;
939
951
  getHeaderText(nodeData: INodeData): string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@babylonjs/node-editor",
3
- "version": "7.47.1",
3
+ "version": "7.47.2",
4
4
  "main": "dist/babylon.nodeEditor.max.js",
5
5
  "module": "dist/babylon.nodeEditor.max.js",
6
6
  "esnext": "dist/babylon.nodeEditor.max.js",
@@ -23,7 +23,7 @@
23
23
  "@types/react-dom": ">=16.0.9"
24
24
  },
25
25
  "devDependencies": {
26
- "@babylonjs/core": "^7.47.1",
26
+ "@babylonjs/core": "^7.47.2",
27
27
  "react": "^17.0.2",
28
28
  "react-dom": "^17.0.2"
29
29
  },