d28e5614392cf6be8b57932d3d5b6f5d4f92a34c57229a159989c018b41a1a29.json 2.1 KB

1
  1. {"ast":null,"code":"/** @internal */\nexport class WebGPUComputePipelineContext {\n get isAsync() {\n return false;\n }\n get isReady() {\n if (this.isAsync) {\n // When async mode is implemented, this should return true if the pipeline is ready\n return false;\n }\n // In synchronous mode, we return false, the readiness being determined by ComputeEffect\n return false;\n }\n constructor(engine) {\n this._name = \"unnamed\";\n this.engine = engine;\n }\n _getComputeShaderCode() {\n var _this$sources;\n return (_this$sources = this.sources) === null || _this$sources === void 0 ? void 0 : _this$sources.compute;\n }\n dispose() {}\n}","map":{"version":3,"names":["WebGPUComputePipelineContext","isAsync","isReady","constructor","engine","_name","_getComputeShaderCode","_this$sources","sources","compute","dispose"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/@babylonjs/core/Engines/WebGPU/webgpuComputePipelineContext.js"],"sourcesContent":["/** @internal */\nexport class WebGPUComputePipelineContext {\n get isAsync() {\n return false;\n }\n get isReady() {\n if (this.isAsync) {\n // When async mode is implemented, this should return true if the pipeline is ready\n return false;\n }\n // In synchronous mode, we return false, the readiness being determined by ComputeEffect\n return false;\n }\n constructor(engine) {\n this._name = \"unnamed\";\n this.engine = engine;\n }\n _getComputeShaderCode() {\n return this.sources?.compute;\n }\n dispose() { }\n}\n"],"mappings":"AAAA;AACA,OAAO,MAAMA,4BAA4B,CAAC;EACtC,IAAIC,OAAOA,CAAA,EAAG;IACV,OAAO,KAAK;EAChB;EACA,IAAIC,OAAOA,CAAA,EAAG;IACV,IAAI,IAAI,CAACD,OAAO,EAAE;MACd;MACA,OAAO,KAAK;IAChB;IACA;IACA,OAAO,KAAK;EAChB;EACAE,WAAWA,CAACC,MAAM,EAAE;IAChB,IAAI,CAACC,KAAK,GAAG,SAAS;IACtB,IAAI,CAACD,MAAM,GAAGA,MAAM;EACxB;EACAE,qBAAqBA,CAAA,EAAG;IAAA,IAAAC,aAAA;IACpB,QAAAA,aAAA,GAAO,IAAI,CAACC,OAAO,cAAAD,aAAA,uBAAZA,aAAA,CAAcE,OAAO;EAChC;EACAC,OAAOA,CAAA,EAAG,CAAE;AAChB","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}