1 |
- {"ast":null,"code":"import { ThinBlackAndWhitePostProcess } from \"../../../PostProcesses/thinBlackAndWhitePostProcess.js\";\nimport { FrameGraphPostProcessTask } from \"./postProcessTask.js\";\n/**\n * Task which applies a black and white post process.\n */\nexport class FrameGraphBlackAndWhiteTask extends FrameGraphPostProcessTask {\n /**\n * Constructs a new black and white task.\n * @param name The name of the task.\n * @param frameGraph The frame graph this task is associated with.\n * @param thinPostProcess The thin post process to use for the black and white effect. If not provided, a new one will be created.\n */\n constructor(name, frameGraph, thinPostProcess) {\n super(name, frameGraph, thinPostProcess || new ThinBlackAndWhitePostProcess(name, frameGraph.engine));\n }\n}","map":{"version":3,"names":["ThinBlackAndWhitePostProcess","FrameGraphPostProcessTask","FrameGraphBlackAndWhiteTask","constructor","name","frameGraph","thinPostProcess","engine"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/FrameGraph/Tasks/PostProcesses/blackAndWhiteTask.js"],"sourcesContent":["import { ThinBlackAndWhitePostProcess } from \"../../../PostProcesses/thinBlackAndWhitePostProcess.js\";\nimport { FrameGraphPostProcessTask } from \"./postProcessTask.js\";\n/**\n * Task which applies a black and white post process.\n */\nexport class FrameGraphBlackAndWhiteTask extends FrameGraphPostProcessTask {\n /**\n * Constructs a new black and white task.\n * @param name The name of the task.\n * @param frameGraph The frame graph this task is associated with.\n * @param thinPostProcess The thin post process to use for the black and white effect. If not provided, a new one will be created.\n */\n constructor(name, frameGraph, thinPostProcess) {\n super(name, frameGraph, thinPostProcess || new ThinBlackAndWhitePostProcess(name, frameGraph.engine));\n }\n}\n"],"mappings":"AAAA,SAASA,4BAA4B,QAAQ,wDAAwD;AACrG,SAASC,yBAAyB,QAAQ,sBAAsB;AAChE;AACA;AACA;AACA,OAAO,MAAMC,2BAA2B,SAASD,yBAAyB,CAAC;EACvE;AACJ;AACA;AACA;AACA;AACA;EACIE,WAAWA,CAACC,IAAI,EAAEC,UAAU,EAAEC,eAAe,EAAE;IAC3C,KAAK,CAACF,IAAI,EAAEC,UAAU,EAAEC,eAAe,IAAI,IAAIN,4BAA4B,CAACI,IAAI,EAAEC,UAAU,CAACE,MAAM,CAAC,CAAC;EACzG;AACJ","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}
|