babylonjs-node-render-graph-editor 7.34.0 → 7.35.0

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.
@@ -698,6 +698,21 @@ export class ElbowDisplayManager implements IDisplayManager {
698
698
  updateFullVisualContent(data: INodeData, visualContent: VisualContentDescription): void;
699
699
  }
700
700
 
701
+ }
702
+ declare module "babylonjs-node-render-graph-editor/components/propertyTab/textureMemoryUsagePropertyTabComponent" {
703
+ import * as React from "react";
704
+ import { GlobalState } from "babylonjs-node-render-graph-editor/globalState";
705
+ import "babylonjs-node-render-graph-editor/components/propertyTab/propertyTab.scss";
706
+ interface ITextureMemoryUsagePropertyTabComponentProps {
707
+ globalState: GlobalState;
708
+ }
709
+ export class TextureMemoryUsagePropertyTabComponent extends React.Component<ITextureMemoryUsagePropertyTabComponentProps> {
710
+ constructor(props: ITextureMemoryUsagePropertyTabComponentProps);
711
+ private _formatMemorySize;
712
+
713
+ }
714
+ export {};
715
+
701
716
  }
702
717
  declare module "babylonjs-node-render-graph-editor/components/propertyTab/propertyTabComponent" {
703
718
  import * as React from "react";
@@ -735,26 +750,6 @@ export class PropertyTabComponent extends React.Component<IPropertyTabComponentP
735
750
  }
736
751
  export {};
737
752
 
738
- }
739
- declare module "babylonjs-node-render-graph-editor/components/propertyTab/inputsPropertyTabComponent" {
740
- import * as React from "react";
741
- import { GlobalState } from "babylonjs-node-render-graph-editor/globalState";
742
- import "babylonjs-node-render-graph-editor/components/propertyTab/propertyTab.scss";
743
- import { LockObject } from "babylonjs-node-render-graph-editor/tabs/propertyGrids/lockObject";
744
- import { NodeRenderGraphInputBlock } from "babylonjs/FrameGraph/Node/Blocks/inputBlock";
745
- interface IInputsPropertyTabComponentProps {
746
- globalState: GlobalState;
747
- inputs: NodeRenderGraphInputBlock[];
748
- lockObject: LockObject;
749
- }
750
- export class InputsPropertyTabComponent extends React.Component<IInputsPropertyTabComponentProps> {
751
- constructor(props: IInputsPropertyTabComponentProps);
752
- processInputBlockUpdate(): void;
753
-
754
-
755
- }
756
- export {};
757
-
758
753
  }
759
754
  declare module "babylonjs-node-render-graph-editor/components/preview/previewType" {
760
755
  export enum PreviewType {
@@ -1548,6 +1543,8 @@ export class StateManager {
1548
1543
  data: INodeData;
1549
1544
  name: string;
1550
1545
  }>;
1546
+ private _isRebuildQueued;
1547
+ queueRebuildCommand(): void;
1551
1548
  }
1552
1549
 
1553
1550
  }
@@ -2252,6 +2249,9 @@ export interface INodeData {
2252
2249
  outputs: IPortData[];
2253
2250
  invisibleEndpoints?: Nullable<any[]>;
2254
2251
  isConnectedToOutput?: () => boolean;
2252
+ isActive?: boolean;
2253
+ setIsActive?: (value: boolean) => void;
2254
+ canBeActivated?: boolean;
2255
2255
  }
2256
2256
 
2257
2257
  }
@@ -4845,6 +4845,16 @@ declare module BABYLON.NodeRenderGraphEditor {
4845
4845
  }
4846
4846
 
4847
4847
 
4848
+ interface ITextureMemoryUsagePropertyTabComponentProps {
4849
+ globalState: GlobalState;
4850
+ }
4851
+ export class TextureMemoryUsagePropertyTabComponent extends React.Component<ITextureMemoryUsagePropertyTabComponentProps> {
4852
+ constructor(props: ITextureMemoryUsagePropertyTabComponentProps);
4853
+ private _formatMemorySize;
4854
+ render(): import("react/jsx-runtime").JSX.Element;
4855
+ }
4856
+
4857
+
4848
4858
  interface IPropertyTabComponentProps {
4849
4859
  globalState: GlobalState;
4850
4860
  lockObject: BABYLON.NodeRenderGraphEditor.SharedUIComponents.LockObject;
@@ -4871,19 +4881,6 @@ declare module BABYLON.NodeRenderGraphEditor {
4871
4881
  }
4872
4882
 
4873
4883
 
4874
- interface IInputsPropertyTabComponentProps {
4875
- globalState: GlobalState;
4876
- inputs: BABYLON.NodeRenderGraphInputBlock[];
4877
- lockObject: BABYLON.NodeRenderGraphEditor.SharedUIComponents.LockObject;
4878
- }
4879
- export class InputsPropertyTabComponent extends React.Component<IInputsPropertyTabComponentProps> {
4880
- constructor(props: IInputsPropertyTabComponentProps);
4881
- processInputBlockUpdate(): void;
4882
- renderInputBlock(block: BABYLON.NodeRenderGraphInputBlock): import("react/jsx-runtime").JSX.Element | null;
4883
- render(): import("react/jsx-runtime").JSX.Element;
4884
- }
4885
-
4886
-
4887
4884
  export enum PreviewType {
4888
4885
  Sphere = 0,
4889
4886
  Box = 1,
@@ -5704,6 +5701,8 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
5704
5701
  data: BABYLON.NodeRenderGraphEditor.SharedUIComponents.INodeData;
5705
5702
  name: string;
5706
5703
  }>;
5704
+ private _isRebuildQueued;
5705
+ queueRebuildCommand(): void;
5707
5706
  }
5708
5707
 
5709
5708
 
@@ -6440,6 +6439,9 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
6440
6439
  outputs: BABYLON.NodeRenderGraphEditor.SharedUIComponents.IPortData[];
6441
6440
  invisibleEndpoints?: BABYLON.Nullable<any[]>;
6442
6441
  isConnectedToOutput?: () => boolean;
6442
+ isActive?: boolean;
6443
+ setIsActive?: (value: boolean) => void;
6444
+ canBeActivated?: boolean;
6443
6445
  }
6444
6446
 
6445
6447
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-node-render-graph-editor",
3
- "version": "7.34.0",
3
+ "version": "7.35.0",
4
4
  "main": "babylon.nodeRenderGraphEditor.js",
5
5
  "types": "babylon.nodeRenderGraphEditor.module.d.ts",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.45.0"
17
+ "babylonjs": "^7.46.0"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@dev/build-tools": "1.0.0",