@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.
20 lines (19 loc) • 637 B
TypeScript
/**
* Class used to store and describe the pipeline context associated with a compute effect
*/
export interface IComputePipelineContext {
/**
* Gets a boolean indicating that this pipeline context is supporting asynchronous creating
*/
isAsync: boolean;
/**
* Gets a boolean indicating that the context is ready to be used (like shader / pipeline are compiled and ready for instance)
*/
isReady: boolean;
/** @internal */
_name?: string;
/** @internal */
_getComputeShaderCode(): string | null;
/** Releases the resources associated with the pipeline. */
dispose(): void;
}