babylonjs-node-render-graph-editor 7.41.1 → 7.41.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.
|
@@ -218,11 +218,12 @@ import { NodeRenderGraphGlowLayerBlock } from "babylonjs/FrameGraph/Node/Blocks/
|
|
|
218
218
|
import { NodeRenderGraphHighlightLayerBlock } from "babylonjs/FrameGraph/Node/Blocks/Layers/highlightLayerBlock";
|
|
219
219
|
import { NodeRenderGraphPassCubePostProcessBlock, NodeRenderGraphPassPostProcessBlock } from "babylonjs/FrameGraph/Node/Blocks/PostProcesses/passPostProcessBlock";
|
|
220
220
|
import { NodeRenderGraphUtilityLayerRendererBlock } from "babylonjs/FrameGraph/Node/Blocks/Rendering/utilityLayerRendererBlock";
|
|
221
|
+
import { NodeRenderGraphSSRPostProcessBlock } from "babylonjs/FrameGraph/Node/Blocks/PostProcesses/ssrPostProcessBlock";
|
|
221
222
|
/**
|
|
222
223
|
* Static class for BlockTools
|
|
223
224
|
*/
|
|
224
225
|
export class BlockTools {
|
|
225
|
-
static GetBlockFromString(data: string, frameGraph: FrameGraph, scene: Scene): NodeRenderGraphTeleportInBlock | NodeRenderGraphTeleportOutBlock | NodeRenderGraphOutputBlock | NodeRenderGraphElbowBlock | NodeRenderGraphResourceContainerBlock | NodeRenderGraphExecuteBlock | NodeRenderGraphUtilityLayerRendererBlock | NodeRenderGraphInputBlock | NodeRenderGraphClearBlock | NodeRenderGraphCopyTextureBlock | NodeRenderGraphGenerateMipmapsBlock | NodeRenderGraphBlackAndWhitePostProcessBlock | NodeRenderGraphBloomPostProcessBlock | NodeRenderGraphBlurPostProcessBlock | NodeRenderGraphPassPostProcessBlock | NodeRenderGraphPassCubePostProcessBlock | NodeRenderGraphGUIBlock | NodeRenderGraphObjectRendererBlock | NodeRenderGraphGeometryRendererBlock | NodeRenderGraphTAAObjectRendererBlock | NodeRenderGraphCullObjectsBlock | NodeRenderGraphCircleOfConfusionPostProcessBlock | NodeRenderGraphDepthOfFieldPostProcessBlock | NodeRenderGraphExtractHighlightsPostProcessBlock | NodeRenderGraphShadowGeneratorBlock | NodeRenderGraphCascadedShadowGeneratorBlock | NodeRenderGraphGlowLayerBlock | NodeRenderGraphHighlightLayerBlock | null;
|
|
226
|
+
static GetBlockFromString(data: string, frameGraph: FrameGraph, scene: Scene): NodeRenderGraphTeleportInBlock | NodeRenderGraphTeleportOutBlock | NodeRenderGraphOutputBlock | NodeRenderGraphElbowBlock | NodeRenderGraphResourceContainerBlock | NodeRenderGraphExecuteBlock | NodeRenderGraphUtilityLayerRendererBlock | NodeRenderGraphInputBlock | NodeRenderGraphClearBlock | NodeRenderGraphCopyTextureBlock | NodeRenderGraphGenerateMipmapsBlock | NodeRenderGraphBlackAndWhitePostProcessBlock | NodeRenderGraphBloomPostProcessBlock | NodeRenderGraphBlurPostProcessBlock | NodeRenderGraphPassPostProcessBlock | NodeRenderGraphPassCubePostProcessBlock | NodeRenderGraphGUIBlock | NodeRenderGraphObjectRendererBlock | NodeRenderGraphGeometryRendererBlock | NodeRenderGraphTAAObjectRendererBlock | NodeRenderGraphCullObjectsBlock | NodeRenderGraphCircleOfConfusionPostProcessBlock | NodeRenderGraphDepthOfFieldPostProcessBlock | NodeRenderGraphExtractHighlightsPostProcessBlock | NodeRenderGraphShadowGeneratorBlock | NodeRenderGraphCascadedShadowGeneratorBlock | NodeRenderGraphGlowLayerBlock | NodeRenderGraphHighlightLayerBlock | NodeRenderGraphSSRPostProcessBlock | null;
|
|
226
227
|
static GetColorFromConnectionNodeType(type: NodeRenderGraphBlockConnectionPointTypes): string;
|
|
227
228
|
static GetConnectionNodeTypeFromString(type: string): NodeRenderGraphBlockConnectionPointTypes.Texture | NodeRenderGraphBlockConnectionPointTypes.TextureBackBuffer | NodeRenderGraphBlockConnectionPointTypes.TextureBackBufferDepthStencilAttachment | NodeRenderGraphBlockConnectionPointTypes.TextureDepthStencilAttachment | NodeRenderGraphBlockConnectionPointTypes.TextureViewDepth | NodeRenderGraphBlockConnectionPointTypes.TextureViewNormal | NodeRenderGraphBlockConnectionPointTypes.TextureAlbedo | NodeRenderGraphBlockConnectionPointTypes.TextureReflectivity | NodeRenderGraphBlockConnectionPointTypes.TextureWorldPosition | NodeRenderGraphBlockConnectionPointTypes.TextureVelocity | NodeRenderGraphBlockConnectionPointTypes.TextureScreenDepth | NodeRenderGraphBlockConnectionPointTypes.TextureWorldNormal | NodeRenderGraphBlockConnectionPointTypes.TextureLocalPosition | NodeRenderGraphBlockConnectionPointTypes.TextureLinearVelocity | NodeRenderGraphBlockConnectionPointTypes.ResourceContainer | NodeRenderGraphBlockConnectionPointTypes.ShadowGenerator | NodeRenderGraphBlockConnectionPointTypes.ShadowLight | NodeRenderGraphBlockConnectionPointTypes.Camera | NodeRenderGraphBlockConnectionPointTypes.ObjectList | NodeRenderGraphBlockConnectionPointTypes.AutoDetect;
|
|
228
229
|
static GetStringFromConnectionNodeType(type: NodeRenderGraphBlockConnectionPointTypes): "" | "Texture" | "Camera" | "TextureBackBuffer" | "TextureBackBufferDepthStencilAttachment" | "TextureDepthStencilAttachment" | "ObjectList" | "TextureNormal" | "TextureAlbedo" | "TextureReflectivity" | "TexturePosition" | "TextureVelocity" | "TextureScreenDepth" | "TextureLocalPosition" | "TextureWorldNormal" | "TextureLinearVelocity" | "ResourceContainer" | "ShadowGenerator" | "ShadowLight" | "TextureDepth";
|
|
@@ -899,6 +900,17 @@ declare module "babylonjs-node-render-graph-editor/styleHelper" {
|
|
|
899
900
|
* @param target document or shadow root to copy styles to
|
|
900
901
|
*/
|
|
901
902
|
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
|
903
|
+
/**
|
|
904
|
+
* Merges classNames by array of strings or conditions
|
|
905
|
+
* @param classNames Array of className strings or truthy conditions
|
|
906
|
+
* @returns A concatenated string, suitable for the className attribute
|
|
907
|
+
*/
|
|
908
|
+
export function MergeClassNames(classNames: ClassNameCondition[]): string;
|
|
909
|
+
/**
|
|
910
|
+
* className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
|
|
911
|
+
*/
|
|
912
|
+
type ClassNameCondition = string | undefined | [string, any];
|
|
913
|
+
export {};
|
|
902
914
|
|
|
903
915
|
}
|
|
904
916
|
declare module "babylonjs-node-render-graph-editor/stringTools" {
|
|
@@ -1759,6 +1771,7 @@ export class GraphNode {
|
|
|
1759
1771
|
private _onDown;
|
|
1760
1772
|
cleanAccumulation(useCeil?: boolean): void;
|
|
1761
1773
|
private _onUp;
|
|
1774
|
+
private _attach;
|
|
1762
1775
|
private _onMove;
|
|
1763
1776
|
renderProperties(): Nullable<JSX.Element>;
|
|
1764
1777
|
_forceRebuild(source: any, propertyName: string, notifiers?: IEditablePropertyOption["notifiers"]): void;
|
|
@@ -2458,6 +2471,7 @@ interface ITextLineComponentProps {
|
|
|
2458
2471
|
icon?: string;
|
|
2459
2472
|
iconLabel?: string;
|
|
2460
2473
|
tooltip?: string;
|
|
2474
|
+
onCopy?: true | (() => string);
|
|
2461
2475
|
}
|
|
2462
2476
|
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
|
2463
2477
|
constructor(props: ITextLineComponentProps);
|
|
@@ -3160,7 +3174,7 @@ export interface ICheckBoxLineComponentProps {
|
|
|
3160
3174
|
label?: string;
|
|
3161
3175
|
target?: any;
|
|
3162
3176
|
propertyName?: string;
|
|
3163
|
-
isSelected?: () => boolean;
|
|
3177
|
+
isSelected?: boolean | (() => boolean);
|
|
3164
3178
|
onSelect?: (value: boolean) => void;
|
|
3165
3179
|
onValueChanged?: () => void;
|
|
3166
3180
|
onPropertyChangedObservable?: Observable<PropertyChangedEvent>;
|
|
@@ -4473,7 +4487,7 @@ declare module BABYLON.NodeRenderGraphEditor {
|
|
|
4473
4487
|
* Static class for BlockTools
|
|
4474
4488
|
*/
|
|
4475
4489
|
export class BlockTools {
|
|
4476
|
-
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 | null;
|
|
4490
|
+
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 | null;
|
|
4477
4491
|
static GetColorFromConnectionNodeType(type: BABYLON.NodeRenderGraphBlockConnectionPointTypes): string;
|
|
4478
4492
|
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;
|
|
4479
4493
|
static GetStringFromConnectionNodeType(type: BABYLON.NodeRenderGraphBlockConnectionPointTypes): "" | "Texture" | "Camera" | "TextureBackBuffer" | "TextureBackBufferDepthStencilAttachment" | "TextureDepthStencilAttachment" | "ObjectList" | "TextureNormal" | "TextureAlbedo" | "TextureReflectivity" | "TexturePosition" | "TextureVelocity" | "TextureScreenDepth" | "TextureLocalPosition" | "TextureWorldNormal" | "TextureLinearVelocity" | "ResourceContainer" | "ShadowGenerator" | "ShadowLight" | "TextureDepth";
|
|
@@ -5011,6 +5025,16 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
5011
5025
|
* @param target document or shadow root to copy styles to
|
|
5012
5026
|
*/
|
|
5013
5027
|
export function CopyStyles(source: Document, target: DocumentOrShadowRoot): void;
|
|
5028
|
+
/**
|
|
5029
|
+
* Merges classNames by array of strings or conditions
|
|
5030
|
+
* @param classNames Array of className strings or truthy conditions
|
|
5031
|
+
* @returns A concatenated string, suitable for the className attribute
|
|
5032
|
+
*/
|
|
5033
|
+
export function MergeClassNames(classNames: ClassNameCondition[]): string;
|
|
5034
|
+
/**
|
|
5035
|
+
* className (replicating React type) or a tuple with the second member being any truthy value ["className", true]
|
|
5036
|
+
*/
|
|
5037
|
+
type ClassNameCondition = string | undefined | [string, any];
|
|
5014
5038
|
|
|
5015
5039
|
|
|
5016
5040
|
|
|
@@ -5927,6 +5951,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
5927
5951
|
private _onDown;
|
|
5928
5952
|
cleanAccumulation(useCeil?: boolean): void;
|
|
5929
5953
|
private _onUp;
|
|
5954
|
+
private _attach;
|
|
5930
5955
|
private _onMove;
|
|
5931
5956
|
renderProperties(): BABYLON.Nullable<JSX.Element>;
|
|
5932
5957
|
_forceRebuild(source: any, propertyName: string, notifiers?: BABYLON.IEditablePropertyOption["notifiers"]): void;
|
|
@@ -6670,6 +6695,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
6670
6695
|
icon?: string;
|
|
6671
6696
|
iconLabel?: string;
|
|
6672
6697
|
tooltip?: string;
|
|
6698
|
+
onCopy?: true | (() => string);
|
|
6673
6699
|
}
|
|
6674
6700
|
export class TextLineComponent extends React.Component<ITextLineComponentProps> {
|
|
6675
6701
|
constructor(props: ITextLineComponentProps);
|
|
@@ -7449,7 +7475,7 @@ declare module BABYLON.NodeRenderGraphEditor.SharedUIComponents {
|
|
|
7449
7475
|
label?: string;
|
|
7450
7476
|
target?: any;
|
|
7451
7477
|
propertyName?: string;
|
|
7452
|
-
isSelected?: () => boolean;
|
|
7478
|
+
isSelected?: boolean | (() => boolean);
|
|
7453
7479
|
onSelect?: (value: boolean) => void;
|
|
7454
7480
|
onValueChanged?: () => void;
|
|
7455
7481
|
onPropertyChangedObservable?: BABYLON.Observable<BABYLON.NodeRenderGraphEditor.SharedUIComponents.PropertyChangedEvent>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babylonjs-node-render-graph-editor",
|
|
3
|
-
"version": "7.41.
|
|
3
|
+
"version": "7.41.3",
|
|
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.52.
|
|
17
|
+
"babylonjs": "^7.52.3"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
20
|
"@dev/build-tools": "1.0.0",
|