(texture, opts)
| 60680 | return new TextureType(gl, textureOptions); |
| 60681 | } |
| 60682 | function toFramebuffer(texture, opts) { |
| 60683 | var gl = texture.gl, width = texture.width, height = texture.height, id = texture.id; |
| 60684 | var framebuffer = new (0, _framebufferDefault.default)(gl, Object.assign({}, opts, { |
| 60685 | id: "framebuffer-for-".concat(id), |
| 60686 | width: width, |
| 60687 | height: height, |
| 60688 | attachments: (0, _definePropertyDefault.default)({}, 36064, texture) |
| 60689 | })); |
| 60690 | return framebuffer; |
| 60691 | } |
| 60692 | |
| 60693 | },{"@babel/runtime/helpers/esm/defineProperty":"5Xk1p","../classes/texture-2d":"cRt4v","../classes/texture-cube":"jRimD","../classes/texture-3d":"67D1a","../classes/framebuffer":"3wciM","../utils":"eK1k6","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"cRt4v":[function(require,module,exports) { |
| 60694 | var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); |
nothing calls this directly
no outgoing calls
no test coverage detected