e2f0968fe8f15c438451fe8e6048d7105167d8b65fc100e8ff4817f218168a8f.json 2.2 KB

1
  1. {"ast":null,"code":"/**\n * Contains all parameters needed for the prepass to perform\n * screen space reflections\n */\nexport class ScreenSpaceReflections2Configuration {\n /**\n * @param useScreenspaceDepth If the effect should use the screenspace depth texture instead of a linear one\n */\n constructor(useScreenspaceDepth = false) {\n /**\n * Is ssr enabled\n */\n this.enabled = false;\n /**\n * Name of the configuration\n */\n this.name = \"screenSpaceReflections2\";\n /**\n * Textures that should be present in the MRT for this effect to work\n */\n this.texturesRequired = [6, 3];\n this.texturesRequired.push(useScreenspaceDepth ? 10 : 5);\n }\n}","map":{"version":3,"names":["ScreenSpaceReflections2Configuration","constructor","useScreenspaceDepth","enabled","name","texturesRequired","push"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Rendering/screenSpaceReflections2Configuration.js"],"sourcesContent":["\n/**\n * Contains all parameters needed for the prepass to perform\n * screen space reflections\n */\nexport class ScreenSpaceReflections2Configuration {\n /**\n * @param useScreenspaceDepth If the effect should use the screenspace depth texture instead of a linear one\n */\n constructor(useScreenspaceDepth = false) {\n /**\n * Is ssr enabled\n */\n this.enabled = false;\n /**\n * Name of the configuration\n */\n this.name = \"screenSpaceReflections2\";\n /**\n * Textures that should be present in the MRT for this effect to work\n */\n this.texturesRequired = [6, 3];\n this.texturesRequired.push(useScreenspaceDepth ? 10 : 5);\n }\n}\n"],"mappings":"AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,oCAAoC,CAAC;EAC9C;AACJ;AACA;EACIC,WAAWA,CAACC,mBAAmB,GAAG,KAAK,EAAE;IACrC;AACR;AACA;IACQ,IAAI,CAACC,OAAO,GAAG,KAAK;IACpB;AACR;AACA;IACQ,IAAI,CAACC,IAAI,GAAG,yBAAyB;IACrC;AACR;AACA;IACQ,IAAI,CAACC,gBAAgB,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;IAC9B,IAAI,CAACA,gBAAgB,CAACC,IAAI,CAACJ,mBAAmB,GAAG,EAAE,GAAG,CAAC,CAAC;EAC5D;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}