@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.
11 lines • 432 B
JavaScript
import { AbstractEngine } from "../abstractEngine.js";
AbstractEngine.prototype.createDepthStencilTexture = function (size, options, rtWrapper) {
if (options.isCube) {
const width = size.width || size;
return this._createDepthStencilCubeTexture(width, options);
}
else {
return this._createDepthStencilTexture(size, options, rtWrapper);
}
};
//# sourceMappingURL=abstractEngine.texture.js.map