abstractEngine.texture.js 432 B

1234567891011
  1. import { AbstractEngine } from "../abstractEngine.js";
  2. AbstractEngine.prototype.createDepthStencilTexture = function (size, options, rtWrapper) {
  3. if (options.isCube) {
  4. const width = size.width || size;
  5. return this._createDepthStencilCubeTexture(width, options);
  6. }
  7. else {
  8. return this._createDepthStencilTexture(size, options, rtWrapper);
  9. }
  10. };
  11. //# sourceMappingURL=abstractEngine.texture.js.map