@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.
15 lines (14 loc) • 721 B
TypeScript
import type { Nullable } from "../../types.js";
import type { RenderTargetTexture } from "../../Materials/Textures/renderTargetTexture.js";
declare module "../../Engines/abstractEngine.js" {
interface AbstractEngine {
/**
* Sets a depth stencil texture from a render target to the according uniform.
* @param channel The texture channel
* @param uniform The uniform to set
* @param texture The render target texture containing the depth stencil texture to apply
* @param name The texture name
*/
setDepthStencilTexture(channel: number, uniform: Nullable<WebGLUniformLocation>, texture: Nullable<RenderTargetTexture>, name?: string): void;
}
}