UNPKG

@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.

21 lines (20 loc) 684 B
import type { IComputePipelineContext } from "../../Compute/IComputePipelineContext.js"; import type { Nullable } from "../../types.js"; import type { WebGPUEngine } from "../webgpuEngine.js"; /** @internal */ export declare class WebGPUComputePipelineContext implements IComputePipelineContext { engine: WebGPUEngine; sources: { compute: string; rawCompute: string; }; stage: Nullable<GPUProgrammableStage>; computePipeline: GPUComputePipeline; get isAsync(): boolean; get isReady(): boolean; /** @internal */ _name: string; constructor(engine: WebGPUEngine); _getComputeShaderCode(): string | null; dispose(): void; }