| 63900 | }; |
| 63901 | } |
| 63902 | function getPixelArray(pixelArray, type, format, width, height) { |
| 63903 | if (pixelArray) return pixelArray; |
| 63904 | type = type || 5121; |
| 63905 | var ArrayType = (0, _typedArrayUtils.getTypedArrayFromGLType)(type, { |
| 63906 | clamped: false |
| 63907 | }); |
| 63908 | var components = (0, _formatUtils.glFormatToComponents)(format); |
| 63909 | return new ArrayType(width * height * components); |
| 63910 | } |
| 63911 | |
| 63912 | },{"./buffer":"b1PWl","./framebuffer":"3wciM","./texture":"fa6ef","@luma.gl/gltools":"7HW6a","../webgl-utils":"hZtIX","../webgl-utils/typed-array-utils":"4mpgk","../webgl-utils/format-utils":"19VoX","../webgl-utils/texture-utils":"hWpBe","../utils":"eK1k6","@parcel/transformer-js/src/esmodule-helpers.js":"jA2du"}],"19VoX":[function(require,module,exports) { |
| 63913 | var parcelHelpers = require("@parcel/transformer-js/src/esmodule-helpers.js"); |