1 |
- {"ast":null,"code":"/**\n * Defines the kind of connection point for node render graph nodes\n */\nexport var NodeRenderGraphBlockConnectionPointTypes;\n(function (NodeRenderGraphBlockConnectionPointTypes) {\n /** General purpose texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"Texture\"] = 1] = \"Texture\";\n /** Back buffer color texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureBackBuffer\"] = 2] = \"TextureBackBuffer\";\n /** Back buffer depth/stencil attachment */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureBackBufferDepthStencilAttachment\"] = 4] = \"TextureBackBufferDepthStencilAttachment\";\n /** Depth/stencil attachment */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureDepthStencilAttachment\"] = 8] = \"TextureDepthStencilAttachment\";\n /** Depth (in view space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureViewDepth\"] = 16] = \"TextureViewDepth\";\n /** Normal (in view space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureViewNormal\"] = 32] = \"TextureViewNormal\";\n /** Albedo geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAlbedo\"] = 64] = \"TextureAlbedo\";\n /** Reflectivity geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureReflectivity\"] = 128] = \"TextureReflectivity\";\n /** Position (in world space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureWorldPosition\"] = 256] = \"TextureWorldPosition\";\n /** Velocity geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureVelocity\"] = 512] = \"TextureVelocity\";\n /** Irradiance geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureIrradiance\"] = 1024] = \"TextureIrradiance\";\n /** Albedo (sqrt) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAlbedoSqrt\"] = 2048] = \"TextureAlbedoSqrt\";\n /** Depth (in screen space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureScreenDepth\"] = 4096] = \"TextureScreenDepth\";\n /** Normal (in world space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureWorldNormal\"] = 8192] = \"TextureWorldNormal\";\n /** Position (in local space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureLocalPosition\"] = 16384] = \"TextureLocalPosition\";\n /** Linear velocity geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureLinearVelocity\"] = 32768] = \"TextureLinearVelocity\";\n /** Bit field for all textures but back buffer depth/stencil */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAllButBackBufferDepthStencil\"] = 16777211] = \"TextureAllButBackBufferDepthStencil\";\n /** Bit field for all textures but back buffer */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAllButBackBuffer\"] = 16777209] = \"TextureAllButBackBuffer\";\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAll\"] = 16777215] = \"TextureAll\";\n /** Camera */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"Camera\"] = 16777216] = \"Camera\";\n /** List of objects (meshes, particle systems, sprites) */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"ObjectList\"] = 33554432] = \"ObjectList\";\n /** Detect type based on connection */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"AutoDetect\"] = 268435456] = \"AutoDetect\";\n /** Output type that will be defined by input type */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"BasedOnInput\"] = 536870912] = \"BasedOnInput\";\n /** Undefined */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"Undefined\"] = 1073741824] = \"Undefined\";\n /** Bitmask of all types */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"All\"] = 4294967295] = \"All\";\n})(NodeRenderGraphBlockConnectionPointTypes || (NodeRenderGraphBlockConnectionPointTypes = {}));\n/**\n * Enum used to define the compatibility state between two connection points\n */\nexport var NodeRenderGraphConnectionPointCompatibilityStates;\n(function (NodeRenderGraphConnectionPointCompatibilityStates) {\n /** Points are compatibles */\n NodeRenderGraphConnectionPointCompatibilityStates[NodeRenderGraphConnectionPointCompatibilityStates[\"Compatible\"] = 0] = \"Compatible\";\n /** Points are incompatible because of their types */\n NodeRenderGraphConnectionPointCompatibilityStates[NodeRenderGraphConnectionPointCompatibilityStates[\"TypeIncompatible\"] = 1] = \"TypeIncompatible\";\n /** Points are incompatible because they are in the same hierarchy **/\n NodeRenderGraphConnectionPointCompatibilityStates[NodeRenderGraphConnectionPointCompatibilityStates[\"HierarchyIssue\"] = 2] = \"HierarchyIssue\";\n})(NodeRenderGraphConnectionPointCompatibilityStates || (NodeRenderGraphConnectionPointCompatibilityStates = {}));\n/**\n * Defines the direction of a connection point\n */\nexport var NodeRenderGraphConnectionPointDirection;\n(function (NodeRenderGraphConnectionPointDirection) {\n /** Input */\n NodeRenderGraphConnectionPointDirection[NodeRenderGraphConnectionPointDirection[\"Input\"] = 0] = \"Input\";\n /** Output */\n NodeRenderGraphConnectionPointDirection[NodeRenderGraphConnectionPointDirection[\"Output\"] = 1] = \"Output\";\n})(NodeRenderGraphConnectionPointDirection || (NodeRenderGraphConnectionPointDirection = {}));","map":{"version":3,"names":["NodeRenderGraphBlockConnectionPointTypes","NodeRenderGraphConnectionPointCompatibilityStates","NodeRenderGraphConnectionPointDirection"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/FrameGraph/Node/Types/nodeRenderGraphTypes.js"],"sourcesContent":["/**\n * Defines the kind of connection point for node render graph nodes\n */\nexport var NodeRenderGraphBlockConnectionPointTypes;\n(function (NodeRenderGraphBlockConnectionPointTypes) {\n /** General purpose texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"Texture\"] = 1] = \"Texture\";\n /** Back buffer color texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureBackBuffer\"] = 2] = \"TextureBackBuffer\";\n /** Back buffer depth/stencil attachment */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureBackBufferDepthStencilAttachment\"] = 4] = \"TextureBackBufferDepthStencilAttachment\";\n /** Depth/stencil attachment */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureDepthStencilAttachment\"] = 8] = \"TextureDepthStencilAttachment\";\n /** Depth (in view space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureViewDepth\"] = 16] = \"TextureViewDepth\";\n /** Normal (in view space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureViewNormal\"] = 32] = \"TextureViewNormal\";\n /** Albedo geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAlbedo\"] = 64] = \"TextureAlbedo\";\n /** Reflectivity geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureReflectivity\"] = 128] = \"TextureReflectivity\";\n /** Position (in world space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureWorldPosition\"] = 256] = \"TextureWorldPosition\";\n /** Velocity geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureVelocity\"] = 512] = \"TextureVelocity\";\n /** Irradiance geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureIrradiance\"] = 1024] = \"TextureIrradiance\";\n /** Albedo (sqrt) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAlbedoSqrt\"] = 2048] = \"TextureAlbedoSqrt\";\n /** Depth (in screen space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureScreenDepth\"] = 4096] = \"TextureScreenDepth\";\n /** Normal (in world space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureWorldNormal\"] = 8192] = \"TextureWorldNormal\";\n /** Position (in local space) geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureLocalPosition\"] = 16384] = \"TextureLocalPosition\";\n /** Linear velocity geometry texture */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureLinearVelocity\"] = 32768] = \"TextureLinearVelocity\";\n /** Bit field for all textures but back buffer depth/stencil */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAllButBackBufferDepthStencil\"] = 16777211] = \"TextureAllButBackBufferDepthStencil\";\n /** Bit field for all textures but back buffer */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAllButBackBuffer\"] = 16777209] = \"TextureAllButBackBuffer\";\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"TextureAll\"] = 16777215] = \"TextureAll\";\n /** Camera */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"Camera\"] = 16777216] = \"Camera\";\n /** List of objects (meshes, particle systems, sprites) */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"ObjectList\"] = 33554432] = \"ObjectList\";\n /** Detect type based on connection */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"AutoDetect\"] = 268435456] = \"AutoDetect\";\n /** Output type that will be defined by input type */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"BasedOnInput\"] = 536870912] = \"BasedOnInput\";\n /** Undefined */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"Undefined\"] = 1073741824] = \"Undefined\";\n /** Bitmask of all types */\n NodeRenderGraphBlockConnectionPointTypes[NodeRenderGraphBlockConnectionPointTypes[\"All\"] = 4294967295] = \"All\";\n})(NodeRenderGraphBlockConnectionPointTypes || (NodeRenderGraphBlockConnectionPointTypes = {}));\n/**\n * Enum used to define the compatibility state between two connection points\n */\nexport var NodeRenderGraphConnectionPointCompatibilityStates;\n(function (NodeRenderGraphConnectionPointCompatibilityStates) {\n /** Points are compatibles */\n NodeRenderGraphConnectionPointCompatibilityStates[NodeRenderGraphConnectionPointCompatibilityStates[\"Compatible\"] = 0] = \"Compatible\";\n /** Points are incompatible because of their types */\n NodeRenderGraphConnectionPointCompatibilityStates[NodeRenderGraphConnectionPointCompatibilityStates[\"TypeIncompatible\"] = 1] = \"TypeIncompatible\";\n /** Points are incompatible because they are in the same hierarchy **/\n NodeRenderGraphConnectionPointCompatibilityStates[NodeRenderGraphConnectionPointCompatibilityStates[\"HierarchyIssue\"] = 2] = \"HierarchyIssue\";\n})(NodeRenderGraphConnectionPointCompatibilityStates || (NodeRenderGraphConnectionPointCompatibilityStates = {}));\n/**\n * Defines the direction of a connection point\n */\nexport var NodeRenderGraphConnectionPointDirection;\n(function (NodeRenderGraphConnectionPointDirection) {\n /** Input */\n NodeRenderGraphConnectionPointDirection[NodeRenderGraphConnectionPointDirection[\"Input\"] = 0] = \"Input\";\n /** Output */\n NodeRenderGraphConnectionPointDirection[NodeRenderGraphConnectionPointDirection[\"Output\"] = 1] = \"Output\";\n})(NodeRenderGraphConnectionPointDirection || (NodeRenderGraphConnectionPointDirection = {}));\n"],"mappings":"AAAA;AACA;AACA;AACA,OAAO,IAAIA,wCAAwC;AACnD,CAAC,UAAUA,wCAAwC,EAAE;EACjD;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,GAAG,SAAS;EAC7G;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,mBAAmB,CAAC,GAAG,CAAC,CAAC,GAAG,mBAAmB;EACjI;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,yCAAyC,CAAC,GAAG,CAAC,CAAC,GAAG,yCAAyC;EAC7K;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,+BAA+B,CAAC,GAAG,CAAC,CAAC,GAAG,+BAA+B;EACzJ;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,kBAAkB,CAAC,GAAG,EAAE,CAAC,GAAG,kBAAkB;EAChI;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,mBAAmB,CAAC,GAAG,EAAE,CAAC,GAAG,mBAAmB;EAClI;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,eAAe,CAAC,GAAG,EAAE,CAAC,GAAG,eAAe;EAC1H;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,qBAAqB,CAAC,GAAG,GAAG,CAAC,GAAG,qBAAqB;EACvI;EACAA,wCAAwC,CAACA,wCAAwC,CAAC,sBAAsB,CAAC,GAAG,GAAG,CAAC,GAAG,sBAAsB;EACzI;EACA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