6b6d8f6a72219e0f5370e6d5ea67d618de847bc3b7d21834b5ee3e74a5004bfe.json 1.7 KB

1
  1. {"ast":null,"code":"import { ShaderCodeNode } from \"./shaderCodeNode.js\";\n/** @internal */\nexport class ShaderCodeConditionNode extends ShaderCodeNode {\n process(preprocessors, options) {\n for (let index = 0; index < this.children.length; index++) {\n const node = this.children[index];\n if (node.isValid(preprocessors)) {\n return node.process(preprocessors, options);\n }\n }\n return \"\";\n }\n}","map":{"version":3,"names":["ShaderCodeNode","ShaderCodeConditionNode","process","preprocessors","options","index","children","length","node","isValid"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Engines/Processors/shaderCodeConditionNode.js"],"sourcesContent":["import { ShaderCodeNode } from \"./shaderCodeNode.js\";\n/** @internal */\nexport class ShaderCodeConditionNode extends ShaderCodeNode {\n process(preprocessors, options) {\n for (let index = 0; index < this.children.length; index++) {\n const node = this.children[index];\n if (node.isValid(preprocessors)) {\n return node.process(preprocessors, options);\n }\n }\n return \"\";\n }\n}\n"],"mappings":"AAAA,SAASA,cAAc,QAAQ,qBAAqB;AACpD;AACA,OAAO,MAAMC,uBAAuB,SAASD,cAAc,CAAC;EACxDE,OAAOA,CAACC,aAAa,EAAEC,OAAO,EAAE;IAC5B,KAAK,IAAIC,KAAK,GAAG,CAAC,EAAEA,KAAK,GAAG,IAAI,CAACC,QAAQ,CAACC,MAAM,EAAEF,KAAK,EAAE,EAAE;MACvD,MAAMG,IAAI,GAAG,IAAI,CAACF,QAAQ,CAACD,KAAK,CAAC;MACjC,IAAIG,IAAI,CAACC,OAAO,CAACN,aAAa,CAAC,EAAE;QAC7B,OAAOK,IAAI,CAACN,OAAO,CAACC,aAAa,EAAEC,OAAO,CAAC;MAC/C;IACJ;IACA,OAAO,EAAE;EACb;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}