babylonjs-inspector 7.54.1 → 7.54.3

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.
@@ -273,7 +273,8 @@ declare module INSPECTOR {
273
273
  interface ITreeItemLabelComponentProps {
274
274
  label: string;
275
275
  onClick?: () => void;
276
- icon: any;
276
+ icon?: any;
277
+ iconBase64?: string;
277
278
  color: string;
278
279
  }
279
280
  export class TreeItemLabelComponent extends React.Component<ITreeItemLabelComponentProps> {
@@ -364,6 +365,7 @@ declare module INSPECTOR {
364
365
  private _getMaterialsContextMenus;
365
366
  private _getSpriteManagersContextMenus;
366
367
  private _getParticleSystemsContextMenus;
368
+ private _getFrameGraphsContextMenus;
367
369
  renderContent(allNodes: any[]): import("react/jsx-runtime").JSX.Element | null;
368
370
  onClose(): void;
369
371
  onPopup(): void;
@@ -587,6 +589,17 @@ declare module INSPECTOR {
587
589
  }
588
590
 
589
591
 
592
+ interface IFrameGraphItemComponenttProps {
593
+ frameGraph: BABYLON.FrameGraph;
594
+ extensibilityGroups?: BABYLON.IExplorerExtensibilityGroup[];
595
+ onClick: () => void;
596
+ }
597
+ export class FrameGraphTreeItemComponent extends React.Component<IFrameGraphItemComponenttProps> {
598
+ constructor(props: IFrameGraphItemComponenttProps);
599
+ render(): import("react/jsx-runtime").JSX.Element;
600
+ }
601
+
602
+
590
603
  interface IEffectLayerItemComponenttProps {
591
604
  layer: BABYLON.EffectLayer;
592
605
  extensibilityGroups?: BABYLON.IExplorerExtensibilityGroup[];
@@ -2641,6 +2654,19 @@ declare module INSPECTOR {
2641
2654
  }
2642
2655
 
2643
2656
 
2657
+ interface IFrameGraphPropertyGridComponentProps {
2658
+ globalState: GlobalState;
2659
+ frameGraph: BABYLON.FrameGraph;
2660
+ extensibilityGroups?: BABYLON.IExplorerExtensibilityGroup[];
2661
+ lockObject: INSPECTOR.SharedUIComponents.LockObject;
2662
+ onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
2663
+ }
2664
+ export class FrameGraphPropertyGridComponent extends React.Component<IFrameGraphPropertyGridComponentProps> {
2665
+ constructor(props: IFrameGraphPropertyGridComponentProps);
2666
+ render(): import("react/jsx-runtime").JSX.Element;
2667
+ }
2668
+
2669
+
2644
2670
  interface IFreeCameraPropertyGridComponentProps {
2645
2671
  globalState: GlobalState;
2646
2672
  camera: BABYLON.FreeCamera;
@@ -4369,7 +4395,7 @@ declare module INSPECTOR.SharedUIComponents {
4369
4395
  exportData: (data: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => string;
4370
4396
  isElbowConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
4371
4397
  isDebugConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
4372
- applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
4398
+ applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
4373
4399
  getPortColor: (portData: INSPECTOR.SharedUIComponents.IPortData) => string;
4374
4400
  storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => void;
4375
4401
  getEditorDataMap: () => {
@@ -4443,7 +4469,7 @@ declare module INSPECTOR.SharedUIComponents {
4443
4469
  node: INSPECTOR.SharedUIComponents.GraphNode;
4444
4470
  protected _element: HTMLDivElement;
4445
4471
  protected _portContainer: HTMLElement;
4446
- protected _imgHost: HTMLDivElement;
4472
+ protected _imgHost: HTMLImageElement;
4447
4473
  protected _pip: HTMLDivElement;
4448
4474
  protected _stateManager: INSPECTOR.SharedUIComponents.StateManager;
4449
4475
  protected _portLabelElement: Element;
@@ -328,7 +328,8 @@ import * as React from "react";
328
328
  interface ITreeItemLabelComponentProps {
329
329
  label: string;
330
330
  onClick?: () => void;
331
- icon: any;
331
+ icon?: any;
332
+ iconBase64?: string;
332
333
  color: string;
333
334
  }
334
335
  export class TreeItemLabelComponent extends React.Component<ITreeItemLabelComponentProps> {
@@ -437,6 +438,7 @@ export class SceneExplorerComponent extends React.Component<ISceneExplorerCompon
437
438
  private _getMaterialsContextMenus;
438
439
  private _getSpriteManagersContextMenus;
439
440
  private _getParticleSystemsContextMenus;
441
+ private _getFrameGraphsContextMenus;
440
442
 
441
443
  onClose(): void;
442
444
  onPopup(): void;
@@ -744,6 +746,22 @@ export class LightTreeItemComponent extends React.Component<ILightTreeItemCompon
744
746
  }
745
747
  export {};
746
748
 
749
+ }
750
+ declare module "babylonjs-inspector/components/sceneExplorer/entities/frameGraphTreeItemComponent" {
751
+ import { IExplorerExtensibilityGroup } from "babylonjs/Debug/debugLayer";
752
+ import * as React from "react";
753
+ import { FrameGraph } from "babylonjs/FrameGraph/frameGraph";
754
+ interface IFrameGraphItemComponenttProps {
755
+ frameGraph: FrameGraph;
756
+ extensibilityGroups?: IExplorerExtensibilityGroup[];
757
+ onClick: () => void;
758
+ }
759
+ export class FrameGraphTreeItemComponent extends React.Component<IFrameGraphItemComponenttProps> {
760
+ constructor(props: IFrameGraphItemComponenttProps);
761
+
762
+ }
763
+ export {};
764
+
747
765
  }
748
766
  declare module "babylonjs-inspector/components/sceneExplorer/entities/effectLayerPipelineTreeItemComponent" {
749
767
  import { IExplorerExtensibilityGroup } from "babylonjs/Debug/debugLayer";
@@ -3441,6 +3459,28 @@ export class LayerPropertyGridComponent extends React.Component<ILayerPropertyGr
3441
3459
  }
3442
3460
  export {};
3443
3461
 
3462
+ }
3463
+ declare module "babylonjs-inspector/components/actionTabs/tabs/propertyGrids/frameGraphs/frameGraphPropertyGridComponent" {
3464
+ import * as React from "react";
3465
+ import { Observable } from "babylonjs/Misc/observable";
3466
+ import { PropertyChangedEvent } from "babylonjs-inspector/components/propertyChangedEvent";
3467
+ import { LockObject } from "babylonjs-inspector/tabs/propertyGrids/lockObject";
3468
+ import { GlobalState } from "babylonjs-inspector/components/globalState";
3469
+ import { IExplorerExtensibilityGroup } from "babylonjs/Debug/debugLayer";
3470
+ import { FrameGraph } from "babylonjs/FrameGraph/frameGraph";
3471
+ interface IFrameGraphPropertyGridComponentProps {
3472
+ globalState: GlobalState;
3473
+ frameGraph: FrameGraph;
3474
+ extensibilityGroups?: IExplorerExtensibilityGroup[];
3475
+ lockObject: LockObject;
3476
+ onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
3477
+ }
3478
+ export class FrameGraphPropertyGridComponent extends React.Component<IFrameGraphPropertyGridComponentProps> {
3479
+ constructor(props: IFrameGraphPropertyGridComponentProps);
3480
+
3481
+ }
3482
+ export {};
3483
+
3444
3484
  }
3445
3485
  declare module "babylonjs-inspector/components/actionTabs/tabs/propertyGrids/cameras/freeCameraPropertyGridComponent" {
3446
3486
  import * as React from "react";
@@ -5372,7 +5412,7 @@ export class StateManager {
5372
5412
  exportData: (data: any, frame?: Nullable<GraphFrame>) => string;
5373
5413
  isElbowConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
5374
5414
  isDebugConnectionAllowed: (nodeA: FrameNodePort | NodePort, nodeB: FrameNodePort | NodePort) => boolean;
5375
- applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
5415
+ applyNodePortDesign: (data: IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
5376
5416
  getPortColor: (portData: IPortData) => string;
5377
5417
  storeEditorData: (serializationObject: any, frame?: Nullable<GraphFrame>) => void;
5378
5418
  getEditorDataMap: () => {
@@ -5442,7 +5482,7 @@ export class NodePort {
5442
5482
  node: GraphNode;
5443
5483
  protected _element: HTMLDivElement;
5444
5484
  protected _portContainer: HTMLElement;
5445
- protected _imgHost: HTMLDivElement;
5485
+ protected _imgHost: HTMLImageElement;
5446
5486
  protected _pip: HTMLDivElement;
5447
5487
  protected _stateManager: StateManager;
5448
5488
  protected _portLabelElement: Element;
@@ -8462,7 +8502,8 @@ declare module INSPECTOR {
8462
8502
  interface ITreeItemLabelComponentProps {
8463
8503
  label: string;
8464
8504
  onClick?: () => void;
8465
- icon: any;
8505
+ icon?: any;
8506
+ iconBase64?: string;
8466
8507
  color: string;
8467
8508
  }
8468
8509
  export class TreeItemLabelComponent extends React.Component<ITreeItemLabelComponentProps> {
@@ -8553,6 +8594,7 @@ declare module INSPECTOR {
8553
8594
  private _getMaterialsContextMenus;
8554
8595
  private _getSpriteManagersContextMenus;
8555
8596
  private _getParticleSystemsContextMenus;
8597
+ private _getFrameGraphsContextMenus;
8556
8598
  renderContent(allNodes: any[]): import("react/jsx-runtime").JSX.Element | null;
8557
8599
  onClose(): void;
8558
8600
  onPopup(): void;
@@ -8776,6 +8818,17 @@ declare module INSPECTOR {
8776
8818
  }
8777
8819
 
8778
8820
 
8821
+ interface IFrameGraphItemComponenttProps {
8822
+ frameGraph: BABYLON.FrameGraph;
8823
+ extensibilityGroups?: BABYLON.IExplorerExtensibilityGroup[];
8824
+ onClick: () => void;
8825
+ }
8826
+ export class FrameGraphTreeItemComponent extends React.Component<IFrameGraphItemComponenttProps> {
8827
+ constructor(props: IFrameGraphItemComponenttProps);
8828
+ render(): import("react/jsx-runtime").JSX.Element;
8829
+ }
8830
+
8831
+
8779
8832
  interface IEffectLayerItemComponenttProps {
8780
8833
  layer: BABYLON.EffectLayer;
8781
8834
  extensibilityGroups?: BABYLON.IExplorerExtensibilityGroup[];
@@ -10830,6 +10883,19 @@ declare module INSPECTOR {
10830
10883
  }
10831
10884
 
10832
10885
 
10886
+ interface IFrameGraphPropertyGridComponentProps {
10887
+ globalState: GlobalState;
10888
+ frameGraph: BABYLON.FrameGraph;
10889
+ extensibilityGroups?: BABYLON.IExplorerExtensibilityGroup[];
10890
+ lockObject: INSPECTOR.SharedUIComponents.LockObject;
10891
+ onPropertyChangedObservable?: BABYLON.Observable<PropertyChangedEvent>;
10892
+ }
10893
+ export class FrameGraphPropertyGridComponent extends React.Component<IFrameGraphPropertyGridComponentProps> {
10894
+ constructor(props: IFrameGraphPropertyGridComponentProps);
10895
+ render(): import("react/jsx-runtime").JSX.Element;
10896
+ }
10897
+
10898
+
10833
10899
  interface IFreeCameraPropertyGridComponentProps {
10834
10900
  globalState: GlobalState;
10835
10901
  camera: BABYLON.FreeCamera;
@@ -12558,7 +12624,7 @@ declare module INSPECTOR.SharedUIComponents {
12558
12624
  exportData: (data: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => string;
12559
12625
  isElbowConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
12560
12626
  isDebugConnectionAllowed: (nodeA: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort, nodeB: INSPECTOR.SharedUIComponents.FrameNodePort | INSPECTOR.SharedUIComponents.NodePort) => boolean;
12561
- applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLDivElement, pip: HTMLDivElement) => boolean;
12627
+ applyNodePortDesign: (data: INSPECTOR.SharedUIComponents.IPortData, element: HTMLElement, imgHost: HTMLImageElement, pip: HTMLDivElement) => boolean;
12562
12628
  getPortColor: (portData: INSPECTOR.SharedUIComponents.IPortData) => string;
12563
12629
  storeEditorData: (serializationObject: any, frame?: BABYLON.Nullable<INSPECTOR.SharedUIComponents.GraphFrame>) => void;
12564
12630
  getEditorDataMap: () => {
@@ -12632,7 +12698,7 @@ declare module INSPECTOR.SharedUIComponents {
12632
12698
  node: INSPECTOR.SharedUIComponents.GraphNode;
12633
12699
  protected _element: HTMLDivElement;
12634
12700
  protected _portContainer: HTMLElement;
12635
- protected _imgHost: HTMLDivElement;
12701
+ protected _imgHost: HTMLImageElement;
12636
12702
  protected _pip: HTMLDivElement;
12637
12703
  protected _stateManager: INSPECTOR.SharedUIComponents.StateManager;
12638
12704
  protected _portLabelElement: Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "babylonjs-inspector",
3
- "version": "7.54.1",
3
+ "version": "7.54.3",
4
4
  "main": "babylon.inspector.bundle.max.js",
5
5
  "types": "babylon.inspector.module.d.ts",
6
6
  "files": [
@@ -14,12 +14,12 @@
14
14
  "clean": "rimraf dist && rimraf babylon*.* -g"
15
15
  },
16
16
  "dependencies": {
17
- "babylonjs": "^7.54.1",
18
- "babylonjs-gui": "^7.54.1",
19
- "babylonjs-gui-editor": "^7.54.1",
20
- "babylonjs-loaders": "^7.54.1",
21
- "babylonjs-materials": "^7.54.1",
22
- "babylonjs-serializers": "^7.54.1"
17
+ "babylonjs": "^7.54.3",
18
+ "babylonjs-gui": "^7.54.3",
19
+ "babylonjs-gui-editor": "^7.54.3",
20
+ "babylonjs-loaders": "^7.54.3",
21
+ "babylonjs-materials": "^7.54.3",
22
+ "babylonjs-serializers": "^7.54.3"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@dev/build-tools": "1.0.0",