@babylonjs/core
Version:
Getting started? Play directly with the Babylon.js API using our [playground](https://playground.babylonjs.com/). It also contains a lot of samples to learn how to use it.
24 lines • 711 B
JavaScript
/** @internal */
export class WebGPUComputePipelineContext {
// eslint-disable-next-line no-restricted-syntax
get isAsync() {
return false;
}
get isReady() {
if (this.isAsync) {
// When async mode is implemented, this should return true if the pipeline is ready
return false;
}
// In synchronous mode, we return false, the readiness being determined by ComputeEffect
return false;
}
constructor(engine) {
this._name = "unnamed";
this.engine = engine;
}
_getComputeShaderCode() {
return this.sources?.compute;
}
dispose() { }
}
//# sourceMappingURL=webgpuComputePipelineContext.js.map