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.

16 lines 541 B
import { ThinEngine } from "../../Engines/thinEngine.js"; ThinEngine.prototype.setDepthStencilTexture = function (channel, uniform, texture, name) { if (channel === undefined) { return; } if (uniform) { this._boundUniforms[channel] = uniform; } if (!texture || !texture.depthStencilTexture) { this._setTexture(channel, null, undefined, undefined, name); } else { this._setTexture(channel, texture, false, true, name); } }; //# sourceMappingURL=engine.renderTargetTexture.js.map