@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.
27 lines (26 loc) • 856 B
TypeScript
declare module "../../Engines/abstractEngine.js" {
interface AbstractEngine {
/**
* Gets the names of the render passes that are currently created
* @returns list of the render pass names
*/
getRenderPassNames(): string[];
/**
* Gets the name of the current render pass
* @returns name of the current render pass
*/
getCurrentRenderPassName(): string;
/**
* Creates a render pass id
* @param name Name of the render pass (for debug purpose only)
* @returns the id of the new render pass
*/
createRenderPassId(name?: string): number;
/**
* Releases a render pass id
* @param id id of the render pass to release
*/
releaseRenderPassId(id: number): void;
}
}
export {};