babylonjs-node-render-graph-editor 8.1.0 → 8.2.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.
@@ -11,7 +11,7 @@ declare module BABYLON.NodeRenderGraphEditor {
11
11
  interface IPortalProps {
12
12
  globalState: GlobalState;
13
13
  }
14
- export class Portal extends React.Component<IPortalProps> {
14
+ export class Portal extends React.Component<React.PropsWithChildren<IPortalProps>> {
15
15
  render(): React.ReactPortal;
16
16
  }
17
17
 
@@ -161,7 +161,7 @@ declare module BABYLON.NodeRenderGraphEditor {
161
161
  * Static class for BlockTools
162
162
  */
163
163
  export class BlockTools {
164
- static GetBlockFromString(data: string, frameGraph: BABYLON.FrameGraph, scene: BABYLON.Scene): BABYLON.NodeRenderGraphTeleportInBlock | BABYLON.NodeRenderGraphTeleportOutBlock | BABYLON.NodeRenderGraphOutputBlock | BABYLON.NodeRenderGraphElbowBlock | BABYLON.NodeRenderGraphResourceContainerBlock | BABYLON.NodeRenderGraphExecuteBlock | BABYLON.NodeRenderGraphUtilityLayerRendererBlock | BABYLON.NodeRenderGraphInputBlock | BABYLON.NodeRenderGraphClearBlock | BABYLON.NodeRenderGraphCopyTextureBlock | BABYLON.NodeRenderGraphGenerateMipmapsBlock | BABYLON.NodeRenderGraphBlackAndWhitePostProcessBlock | BABYLON.NodeRenderGraphBloomPostProcessBlock | BABYLON.NodeRenderGraphBlurPostProcessBlock | BABYLON.NodeRenderGraphPassPostProcessBlock | BABYLON.NodeRenderGraphPassCubePostProcessBlock | BABYLON.GUI.NodeRenderGraphGUIBlock | BABYLON.NodeRenderGraphObjectRendererBlock | BABYLON.NodeRenderGraphGeometryRendererBlock | BABYLON.NodeRenderGraphTAAObjectRendererBlock | BABYLON.NodeRenderGraphCullObjectsBlock | BABYLON.NodeRenderGraphCircleOfConfusionPostProcessBlock | BABYLON.NodeRenderGraphDepthOfFieldPostProcessBlock | BABYLON.NodeRenderGraphExtractHighlightsPostProcessBlock | BABYLON.NodeRenderGraphShadowGeneratorBlock | BABYLON.NodeRenderGraphCascadedShadowGeneratorBlock | BABYLON.NodeRenderGraphGlowLayerBlock | BABYLON.NodeRenderGraphHighlightLayerBlock | BABYLON.NodeRenderGraphSSRPostProcessBlock | BABYLON.NodeRenderGraphAnaglyphPostProcessBlock | BABYLON.NodeRenderGraphChromaticAberrationPostProcessBlock | null;
164
+ static GetBlockFromString(data: string, frameGraph: BABYLON.FrameGraph, scene: BABYLON.Scene): BABYLON.NodeRenderGraphTeleportInBlock | BABYLON.NodeRenderGraphTeleportOutBlock | BABYLON.NodeRenderGraphOutputBlock | BABYLON.NodeRenderGraphElbowBlock | BABYLON.NodeRenderGraphResourceContainerBlock | BABYLON.NodeRenderGraphExecuteBlock | BABYLON.NodeRenderGraphUtilityLayerRendererBlock | BABYLON.NodeRenderGraphInputBlock | BABYLON.NodeRenderGraphClearBlock | BABYLON.NodeRenderGraphCopyTextureBlock | BABYLON.NodeRenderGraphGenerateMipmapsBlock | BABYLON.NodeRenderGraphBlackAndWhitePostProcessBlock | BABYLON.NodeRenderGraphBloomPostProcessBlock | BABYLON.NodeRenderGraphBlurPostProcessBlock | BABYLON.NodeRenderGraphPassPostProcessBlock | BABYLON.NodeRenderGraphPassCubePostProcessBlock | BABYLON.GUI.NodeRenderGraphGUIBlock | BABYLON.NodeRenderGraphObjectRendererBlock | BABYLON.NodeRenderGraphGeometryRendererBlock | BABYLON.NodeRenderGraphTAAObjectRendererBlock | BABYLON.NodeRenderGraphCullObjectsBlock | BABYLON.NodeRenderGraphCircleOfConfusionPostProcessBlock | BABYLON.NodeRenderGraphDepthOfFieldPostProcessBlock | BABYLON.NodeRenderGraphExtractHighlightsPostProcessBlock | BABYLON.NodeRenderGraphShadowGeneratorBlock | BABYLON.NodeRenderGraphCascadedShadowGeneratorBlock | BABYLON.NodeRenderGraphGlowLayerBlock | BABYLON.NodeRenderGraphHighlightLayerBlock | BABYLON.NodeRenderGraphSSRPostProcessBlock | BABYLON.NodeRenderGraphAnaglyphPostProcessBlock | BABYLON.NodeRenderGraphChromaticAberrationPostProcessBlock | BABYLON.NodeRenderGraphImageProcessingPostProcessBlock | null;
165
165
  static GetColorFromConnectionNodeType(type: BABYLON.NodeRenderGraphBlockConnectionPointTypes): string;
166
166
  static GetConnectionNodeTypeFromString(type: string): BABYLON.NodeRenderGraphBlockConnectionPointTypes.Texture | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureBackBuffer | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureBackBufferDepthStencilAttachment | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureDepthStencilAttachment | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureViewDepth | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureViewNormal | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureAlbedo | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureReflectivity | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureWorldPosition | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureVelocity | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureScreenDepth | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureWorldNormal | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureLocalPosition | BABYLON.NodeRenderGraphBlockConnectionPointTypes.TextureLinearVelocity | BABYLON.NodeRenderGraphBlockConnectionPointTypes.ResourceContainer | BABYLON.NodeRenderGraphBlockConnectionPointTypes.ShadowGenerator | BABYLON.NodeRenderGraphBlockConnectionPointTypes.ShadowLight | BABYLON.NodeRenderGraphBlockConnectionPointTypes.Camera | BABYLON.NodeRenderGraphBlockConnectionPointTypes.ObjectList | BABYLON.NodeRenderGraphBlockConnectionPointTypes.AutoDetect;
167
167
  static GetStringFromConnectionNodeType(type: BABYLON.NodeRenderGraphBlockConnectionPointTypes): "" | "Texture" | "Camera" | "TextureBackBuffer" | "TextureBackBufferDepthStencilAttachment" | "TextureDepthStencilAttachment" | "ObjectList" | "TextureNormal" | "TextureAlbedo" | "TextureReflectivity" | "TexturePosition" | "TextureVelocity" | "TextureScreenDepth" | "TextureLocalPosition" | "TextureWorldNormal" | "TextureLinearVelocity" | "ResourceContainer" | "ShadowGenerator" | "ShadowLight" | "TextureDepth";
@@ -1319,7 +1319,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
1319
1319
  * @param props defines the split container properties
1320
1320
  * @returns the split container component
1321
1321
  */
1322
- export var SplitContainer: React.FC<ISplitContainerProps>;
1322
+ export var SplitContainer: React.FC<React.PropsWithChildren<ISplitContainerProps>>;
1323
1323
 
1324
1324
 
1325
1325
 
@@ -3081,9 +3081,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3081
3081
  constructor(props: IColorPickerLineProps);
3082
3082
  syncPositions(): void;
3083
3083
  shouldComponentUpdate(nextProps: IColorPickerLineProps, nextState: IColorPickerComponentState): boolean;
3084
- getHexString(props?: Readonly<IColorPickerLineProps> & Readonly<{
3085
- children?: React.ReactNode | undefined;
3086
- }>): string;
3084
+ getHexString(props?: Readonly<IColorPickerLineProps>): string;
3087
3085
  componentDidUpdate(): void;
3088
3086
  componentDidMount(): void;
3089
3087
  render(): import("react/jsx-runtime").JSX.Element;
@@ -3116,9 +3114,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3116
3114
  export class ColorLine extends React.Component<IColorLineProps, IColorLineComponentState> {
3117
3115
  constructor(props: IColorLineProps);
3118
3116
  shouldComponentUpdate(nextProps: IColorLineProps, nextState: IColorLineComponentState): boolean;
3119
- getValue(props?: Readonly<IColorLineProps> & Readonly<{
3120
- children?: React.ReactNode | undefined;
3121
- }>): BABYLON.Color4;
3117
+ getValue(props?: Readonly<IColorLineProps>): BABYLON.Color4;
3122
3118
  setColorFromString(colorString: string): void;
3123
3119
  setColor(newColor: BABYLON.Color4): void;
3124
3120
  switchExpandState(): void;
@@ -3369,7 +3365,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3369
3365
  title?: string;
3370
3366
  backgroundColor?: string;
3371
3367
  };
3372
- export var Button: React.FC<ButtonProps>;
3368
+ export var Button: React.FC<React.PropsWithChildren<ButtonProps>>;
3373
3369
 
3374
3370
 
3375
3371
 
@@ -3459,7 +3455,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3459
3455
  * @param props
3460
3456
  * @returns
3461
3457
  */
3462
- export const NodeRenderer: (props: INodeRendererProps) => import("react/jsx-runtime").JSX.Element;
3458
+ export const NodeRenderer: (props: React.PropsWithChildren<INodeRendererProps>) => import("react/jsx-runtime").JSX.Element;
3463
3459
 
3464
3460
 
3465
3461
 
@@ -3478,7 +3474,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3478
3474
  * @param props properties
3479
3475
  * @returns graph node container element
3480
3476
  */
3481
- export var GraphNodesContainer: React.FC<IGraphContainerProps>;
3477
+ export var GraphNodesContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
3482
3478
 
3483
3479
 
3484
3480
 
@@ -3499,7 +3495,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3499
3495
  highlighted?: boolean;
3500
3496
  parentContainerId: string;
3501
3497
  }
3502
- export var SingleGraphNode: React.FC<IGraphNodeProps>;
3498
+ export var SingleGraphNode: React.FC<React.PropsWithChildren<IGraphNodeProps>>;
3503
3499
 
3504
3500
 
3505
3501
 
@@ -3523,7 +3519,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3523
3519
  * @param props
3524
3520
  * @returns
3525
3521
  */
3526
- export var GraphLinesContainer: React.FC<IGraphLinesContainerProps>;
3522
+ export var GraphLinesContainer: React.FC<React.PropsWithChildren<IGraphLinesContainerProps>>;
3527
3523
 
3528
3524
 
3529
3525
 
@@ -3609,7 +3605,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3609
3605
  * @param props
3610
3606
  * @returns
3611
3607
  */
3612
- export var GraphContainer: React.FC<IGraphContainerProps>;
3608
+ export var GraphContainer: React.FC<React.PropsWithChildren<IGraphContainerProps>>;
3613
3609
 
3614
3610
 
3615
3611
 
@@ -3661,7 +3657,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3661
3657
  * drag the handle in a node and drop it in another node to create a connection.
3662
3658
  * @returns connector element
3663
3659
  */
3664
- export var GraphConnectorHandler: React.FC<IGraphConnectorHandlerProps>;
3660
+ export var GraphConnectorHandler: React.FC<React.PropsWithChildren<IGraphConnectorHandlerProps>>;
3665
3661
 
3666
3662
 
3667
3663
 
@@ -3783,9 +3779,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3783
3779
  constructor(props: IColorPickerLineComponentProps);
3784
3780
  syncPositions(): void;
3785
3781
  shouldComponentUpdate(nextProps: IColorPickerLineComponentProps, nextState: IColorPickerComponentState): boolean;
3786
- getHexString(props?: Readonly<IColorPickerLineComponentProps> & Readonly<{
3787
- children?: React.ReactNode | undefined;
3788
- }>): string;
3782
+ getHexString(props?: Readonly<IColorPickerLineComponentProps>): string;
3789
3783
  componentDidUpdate(): void;
3790
3784
  componentDidMount(): void;
3791
3785
  render(): import("react/jsx-runtime").JSX.Element;
@@ -3818,9 +3812,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
3818
3812
  export class ColorLineComponent extends React.Component<IColorLineComponentProps, IColorLineComponentState> {
3819
3813
  constructor(props: IColorLineComponentProps);
3820
3814
  shouldComponentUpdate(nextProps: IColorLineComponentProps, nextState: IColorLineComponentState): boolean;
3821
- getValue(props?: Readonly<IColorLineComponentProps> & Readonly<{
3822
- children?: React.ReactNode | undefined;
3823
- }>): BABYLON.Color4;
3815
+ getValue(props?: Readonly<IColorLineComponentProps>): BABYLON.Color4;
3824
3816
  setColorFromString(colorString: string): void;
3825
3817
  setColor(newColor: BABYLON.Color4): void;
3826
3818
  switchExpandState(): void;
@@ -4180,7 +4172,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
4180
4172
  * @param props properties
4181
4173
  * @returns drop zone element
4182
4174
  */
4183
- export var FlexibleDropZone: React.FC<IFlexibleDropZoneProps>;
4175
+ export var FlexibleDropZone: React.FC<React.PropsWithChildren<IFlexibleDropZoneProps>>;
4184
4176
 
4185
4177
 
4186
4178
 
@@ -4208,7 +4200,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
4208
4200
  * @param props properties
4209
4201
  * @returns DragHandler element
4210
4202
  */
4211
- export var FlexibleDragHandler: React.FC<IFlexibleDragHandlerProps>;
4203
+ export var FlexibleDragHandler: React.FC<React.PropsWithChildren<IFlexibleDragHandlerProps>>;
4212
4204
 
4213
4205
 
4214
4206
 
@@ -4233,7 +4225,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
4233
4225
  * @param props
4234
4226
  * @returns
4235
4227
  */
4236
- export var FlexibleColumn: React.FC<IFlexibleColumnProps>;
4228
+ export var FlexibleColumn: React.FC<React.PropsWithChildren<IFlexibleColumnProps>>;
4237
4229
 
4238
4230
 
4239
4231
 
@@ -4442,7 +4434,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
4442
4434
  artboardColor?: string;
4443
4435
  artboardColorPickerColor?: string;
4444
4436
  }
4445
- export var CommandBarComponent: React.FC<ICommandBarComponentProps>;
4437
+ export var CommandBarComponent: React.FC<React.PropsWithChildren<ICommandBarComponentProps>>;
4446
4438
 
4447
4439
 
4448
4440