@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.
10 lines • 423 B
JavaScript
import { ThinWebGPUEngine } from "../../thinWebGPUEngine.js";
ThinWebGPUEngine.prototype.setDepthStencilTexture = function (channel, uniform, texture, name) {
if (!texture || !texture.depthStencilTexture) {
this._setTexture(channel, null, undefined, undefined, name);
}
else {
this._setTexture(channel, texture, false, true, name);
}
};
//# sourceMappingURL=engine.renderTargetTexture.js.map