@babylonjs/node-render-graph-editor 7.33.0 → 7.34.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.
- package/dist/babylon.nodeRenderGraphEditor.js +1 -1
- package/dist/babylon.nodeRenderGraphEditor.js.LICENSE.txt +1 -1
- package/dist/babylon.nodeRenderGraphEditor.js.map +1 -1
- package/dist/babylon.nodeRenderGraphEditor.max.js +87 -44
- package/dist/babylon.nodeRenderGraphEditor.module.d.ts +3 -2
- package/package.json +2 -2
|
@@ -215,12 +215,13 @@ import { NodeRenderGraphShadowGeneratorBlock } from "@babylonjs/core/FrameGraph/
|
|
|
215
215
|
import { NodeRenderGraphCascadedShadowGeneratorBlock } from "@babylonjs/core/FrameGraph/Node/Blocks/Rendering/csmShadowGeneratorBlock";
|
|
216
216
|
import { NodeRenderGraphExecuteBlock } from "@babylonjs/core/FrameGraph/Node/Blocks/executeBlock";
|
|
217
217
|
import { NodeRenderGraphGlowLayerBlock } from "@babylonjs/core/FrameGraph/Node/Blocks/Layers/glowLayerBlock";
|
|
218
|
+
import { NodeRenderGraphHighlightLayerBlock } from "@babylonjs/core/FrameGraph/Node/Blocks/Layers/highlightLayerBlock";
|
|
218
219
|
import { NodeRenderGraphPassCubePostProcessBlock, NodeRenderGraphPassPostProcessBlock } from "@babylonjs/core/FrameGraph/Node/Blocks/PostProcesses/passPostProcessBlock";
|
|
219
220
|
/**
|
|
220
221
|
* Static class for BlockTools
|
|
221
222
|
*/
|
|
222
223
|
export class BlockTools {
|
|
223
|
-
static GetBlockFromString(data: string, frameGraph: FrameGraph, scene: Scene): NodeRenderGraphTeleportInBlock | NodeRenderGraphTeleportOutBlock | NodeRenderGraphOutputBlock | NodeRenderGraphElbowBlock | NodeRenderGraphResourceContainerBlock | NodeRenderGraphExecuteBlock | NodeRenderGraphInputBlock | NodeRenderGraphClearBlock | NodeRenderGraphCopyTextureBlock | NodeRenderGraphGenerateMipmapsBlock | NodeRenderGraphBlackAndWhitePostProcessBlock | NodeRenderGraphBloomPostProcessBlock | NodeRenderGraphBlurPostProcessBlock | NodeRenderGraphPassPostProcessBlock | NodeRenderGraphPassCubePostProcessBlock | NodeRenderGraphGUIBlock | NodeRenderGraphObjectRendererBlock | NodeRenderGraphGeometryRendererBlock | NodeRenderGraphTAAObjectRendererBlock | NodeRenderGraphCullObjectsBlock | NodeRenderGraphCircleOfConfusionPostProcessBlock | NodeRenderGraphDepthOfFieldPostProcessBlock | NodeRenderGraphExtractHighlightsPostProcessBlock | NodeRenderGraphShadowGeneratorBlock | NodeRenderGraphCascadedShadowGeneratorBlock | NodeRenderGraphGlowLayerBlock | null;
|
|
224
|
+
static GetBlockFromString(data: string, frameGraph: FrameGraph, scene: Scene): NodeRenderGraphTeleportInBlock | NodeRenderGraphTeleportOutBlock | NodeRenderGraphOutputBlock | NodeRenderGraphElbowBlock | NodeRenderGraphResourceContainerBlock | NodeRenderGraphExecuteBlock | NodeRenderGraphInputBlock | NodeRenderGraphClearBlock | NodeRenderGraphCopyTextureBlock | NodeRenderGraphGenerateMipmapsBlock | NodeRenderGraphBlackAndWhitePostProcessBlock | NodeRenderGraphBloomPostProcessBlock | NodeRenderGraphBlurPostProcessBlock | NodeRenderGraphPassPostProcessBlock | NodeRenderGraphPassCubePostProcessBlock | NodeRenderGraphGUIBlock | NodeRenderGraphObjectRendererBlock | NodeRenderGraphGeometryRendererBlock | NodeRenderGraphTAAObjectRendererBlock | NodeRenderGraphCullObjectsBlock | NodeRenderGraphCircleOfConfusionPostProcessBlock | NodeRenderGraphDepthOfFieldPostProcessBlock | NodeRenderGraphExtractHighlightsPostProcessBlock | NodeRenderGraphShadowGeneratorBlock | NodeRenderGraphCascadedShadowGeneratorBlock | NodeRenderGraphGlowLayerBlock | NodeRenderGraphHighlightLayerBlock | null;
|
|
224
225
|
static GetColorFromConnectionNodeType(type: NodeRenderGraphBlockConnectionPointTypes): string;
|
|
225
226
|
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;
|
|
226
227
|
static GetStringFromConnectionNodeType(type: NodeRenderGraphBlockConnectionPointTypes): "" | "Texture" | "Camera" | "TextureBackBuffer" | "TextureBackBufferDepthStencilAttachment" | "TextureDepthStencilAttachment" | "ObjectList" | "TextureNormal" | "TextureAlbedo" | "TextureReflectivity" | "TexturePosition" | "TextureVelocity" | "TextureScreenDepth" | "TextureLocalPosition" | "TextureWorldNormal" | "TextureLinearVelocity" | "ResourceContainer" | "ShadowGenerator" | "ShadowLight" | "TextureDepth";
|
|
@@ -795,7 +796,6 @@ export {};
|
|
|
795
796
|
}
|
|
796
797
|
declare module "@babylonjs/node-render-graph-editor/components/preview/previewManager" {
|
|
797
798
|
import { GlobalState } from "@babylonjs/node-render-graph-editor/globalState";
|
|
798
|
-
import "@babylonjs/core/Rendering/depthRendererSceneComponent";
|
|
799
799
|
export class PreviewManager {
|
|
800
800
|
private _nodeRenderGraph;
|
|
801
801
|
private _onFrameObserver;
|
|
@@ -817,6 +817,7 @@ export class PreviewManager {
|
|
|
817
817
|
private _reset;
|
|
818
818
|
private _prepareLights;
|
|
819
819
|
private _createNodeRenderGraph;
|
|
820
|
+
private _getMesh;
|
|
820
821
|
private _buildGraph;
|
|
821
822
|
private _frameCamera;
|
|
822
823
|
private _prepareBackgroundHDR;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babylonjs/node-render-graph-editor",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.34.0",
|
|
4
4
|
"main": "dist/babylon.nodeRenderGraphEditor.max.js",
|
|
5
5
|
"module": "dist/babylon.nodeRenderGraphEditor.max.js",
|
|
6
6
|
"esnext": "dist/babylon.nodeRenderGraphEditor.max.js",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@types/react-dom": ">=16.0.9"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@babylonjs/core": "^7.
|
|
26
|
+
"@babylonjs/core": "^7.45.0",
|
|
27
27
|
"react": "^17.0.2",
|
|
28
28
|
"react-dom": "^17.0.2"
|
|
29
29
|
},
|