@galacean/effects-threejs 2.2.0-alpha.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects runtime threejs plugin for the web
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
6
- * Version: v2.2.0-alpha.0
6
+ * Version: v2.2.0
7
7
  */
8
8
 
9
9
  'use strict';
@@ -5743,22 +5743,6 @@ exports.TextureSourceType = void 0;
5743
5743
  TextureSourceType[TextureSourceType["mipmaps"] = 7] = "mipmaps";
5744
5744
  })(exports.TextureSourceType || (exports.TextureSourceType = {}));
5745
5745
 
5746
- var RUNTIME_ENV = "runtime_env";
5747
- var RENDER_PREFER_LOOKUP_TEXTURE = "lookup_texture";
5748
- // 文本元素使用 offscreen canvas 绘制
5749
- var TEMPLATE_USE_OFFSCREEN_CANVAS = "offscreen_canvas";
5750
- // 后处理配置相关
5751
- var POST_PROCESS_SETTINGS = "post_process_settings";
5752
- // 加载图片时是否使用 ImageBitmap
5753
- var LOAD_PREFER_IMAGE_BITMAP = "load_image_bitmap";
5754
- var config = {};
5755
- function getConfig(name) {
5756
- return config[name];
5757
- }
5758
- function setConfig(name, value) {
5759
- return config[name] = value;
5760
- }
5761
-
5762
5746
  /**
5763
5747
  * 负责下载各种资源,并提供了一些异步加载和缓存管理的功能
5764
5748
  */ var Downloader = /*#__PURE__*/ function() {
@@ -5847,11 +5831,11 @@ var avifFailed = false;
5847
5831
  * 异步加载一个 WebP 图片文件,如果不支持 WebP,则加载 PNG 图片文件
5848
5832
  * @param png - PNG 图片文件的 URL
5849
5833
  * @param webp - WebP 图片文件的 URL
5850
- */ function loadWebPOptional(png, webp, options) {
5834
+ */ function loadWebPOptional(png, webp) {
5851
5835
  return _loadWebPOptional.apply(this, arguments);
5852
5836
  }
5853
5837
  function _loadWebPOptional() {
5854
- _loadWebPOptional = _async_to_generator(function(png, webp, options) {
5838
+ _loadWebPOptional = _async_to_generator(function(png, webp) {
5855
5839
  var image, image1, image2;
5856
5840
  return __generator(this, function(_state) {
5857
5841
  switch(_state.label){
@@ -5862,7 +5846,7 @@ function _loadWebPOptional() {
5862
5846
  ];
5863
5847
  return [
5864
5848
  4,
5865
- loadImageBitmap(png, options)
5849
+ loadImage(png)
5866
5850
  ];
5867
5851
  case 1:
5868
5852
  image = _state.sent();
@@ -5882,7 +5866,7 @@ function _loadWebPOptional() {
5882
5866
  ]);
5883
5867
  return [
5884
5868
  4,
5885
- loadImageBitmap(webp, options)
5869
+ loadImage(webp)
5886
5870
  ];
5887
5871
  case 3:
5888
5872
  image1 = _state.sent();
@@ -5898,7 +5882,7 @@ function _loadWebPOptional() {
5898
5882
  webPFailed = true;
5899
5883
  return [
5900
5884
  4,
5901
- loadImageBitmap(png, options)
5885
+ loadImage(png)
5902
5886
  ];
5903
5887
  case 5:
5904
5888
  image2 = _state.sent();
@@ -5922,11 +5906,11 @@ function _loadWebPOptional() {
5922
5906
  * 异步加载一个 AVIF 图片文件,如果不支持 AVIF,则加载 PNG 图片文件
5923
5907
  * @param png - PNG 图片文件的 URL
5924
5908
  * @param avif - AVIF 图片文件的 URL
5925
- */ function loadAVIFOptional(png, avif, options) {
5909
+ */ function loadAVIFOptional(png, avif) {
5926
5910
  return _loadAVIFOptional.apply(this, arguments);
5927
5911
  }
5928
5912
  function _loadAVIFOptional() {
5929
- _loadAVIFOptional = _async_to_generator(function(png, avif, options) {
5913
+ _loadAVIFOptional = _async_to_generator(function(png, avif) {
5930
5914
  var image, image1, image2;
5931
5915
  return __generator(this, function(_state) {
5932
5916
  switch(_state.label){
@@ -5937,7 +5921,7 @@ function _loadAVIFOptional() {
5937
5921
  ];
5938
5922
  return [
5939
5923
  4,
5940
- loadImageBitmap(png, options)
5924
+ loadImage(png)
5941
5925
  ];
5942
5926
  case 1:
5943
5927
  image = _state.sent();
@@ -5957,7 +5941,7 @@ function _loadAVIFOptional() {
5957
5941
  ]);
5958
5942
  return [
5959
5943
  4,
5960
- loadImageBitmap(avif, options)
5944
+ loadImage(avif)
5961
5945
  ];
5962
5946
  case 3:
5963
5947
  image1 = _state.sent();
@@ -5973,7 +5957,7 @@ function _loadAVIFOptional() {
5973
5957
  avifFailed = true;
5974
5958
  return [
5975
5959
  4,
5976
- loadImageBitmap(png, options)
5960
+ loadImage(png)
5977
5961
  ];
5978
5962
  case 5:
5979
5963
  image2 = _state.sent();
@@ -6188,80 +6172,6 @@ function _loadMedia() {
6188
6172
  });
6189
6173
  return _loadMedia.apply(this, arguments);
6190
6174
  }
6191
- var imageBitMapAvailable = typeof createImageBitmap === "function";
6192
- /**
6193
- * 异步加载一个图片文件,如果支持 ImageBitmap 则返回 ImageBitmap 对象
6194
- * @param source
6195
- * @param options
6196
- * @returns
6197
- */ function loadImageBitmap(source, options) {
6198
- return _loadImageBitmap.apply(this, arguments);
6199
- }
6200
- function _loadImageBitmap() {
6201
- _loadImageBitmap = _async_to_generator(function(source, options) {
6202
- var blob;
6203
- return __generator(this, function(_state) {
6204
- switch(_state.label){
6205
- case 0:
6206
- if (!(imageBitMapAvailable && getConfig(LOAD_PREFER_IMAGE_BITMAP))) return [
6207
- 3,
6208
- 4
6209
- ];
6210
- if (!(typeof source === "string")) return [
6211
- 3,
6212
- 2
6213
- ];
6214
- return [
6215
- 4,
6216
- loadBlob(source)
6217
- ];
6218
- case 1:
6219
- blob = _state.sent();
6220
- return [
6221
- 3,
6222
- 3
6223
- ];
6224
- case 2:
6225
- if (_instanceof1(source, Blob)) {
6226
- blob = source;
6227
- } else {
6228
- return [
6229
- 2,
6230
- loadImage(source)
6231
- ];
6232
- }
6233
- _state.label = 3;
6234
- case 3:
6235
- return [
6236
- 2,
6237
- createImageBitmap(blob, options)
6238
- ];
6239
- case 4:
6240
- return [
6241
- 2,
6242
- loadImage(source)
6243
- ];
6244
- case 5:
6245
- return [
6246
- 2
6247
- ];
6248
- }
6249
- });
6250
- });
6251
- return _loadImageBitmap.apply(this, arguments);
6252
- }
6253
- /**
6254
- * 关闭 ImageBitMap,释放内存
6255
- * @param imgs
6256
- */ function closeImageBitMap(imgs) {
6257
- if (imageBitMapAvailable) {
6258
- if (_instanceof1(imgs, ImageBitmap)) {
6259
- imgs.close();
6260
- } else if (_instanceof1(imgs, Array)) {
6261
- imgs.forEach(closeImageBitMap);
6262
- }
6263
- }
6264
- }
6265
6175
 
6266
6176
  function deserializeMipmapTexture(textureOptions, bins, assets) {
6267
6177
  return _deserializeMipmapTexture.apply(this, arguments);
@@ -17916,7 +17826,7 @@ exports.VFXItem = /*#__PURE__*/ function(EffectsObject) {
17916
17826
  };
17917
17827
  /**
17918
17828
  * 添加组件
17919
- * @param classConstructor - 要添加的组件类型
17829
+ * @param classConstructor - 要添加的组件
17920
17830
  */ _proto.addComponent = function addComponent(classConstructor) {
17921
17831
  var newComponent = new classConstructor(this.engine);
17922
17832
  this.components.push(newComponent);
@@ -18159,7 +18069,7 @@ exports.VFXItem = /*#__PURE__*/ function(EffectsObject) {
18159
18069
  };
18160
18070
  _proto.fromData = function fromData(data) {
18161
18071
  EffectsObject.prototype.fromData.call(this, data);
18162
- var id = data.id, name = data.name, delay = data.delay, parentId = data.parentId, endBehavior = data.endBehavior, transform = data.transform, _data_listIndex = data.listIndex, listIndex = _data_listIndex === void 0 ? 0 : _data_listIndex, _data_duration = data.duration, duration = _data_duration === void 0 ? 0 : _data_duration;
18072
+ var id = data.id, name = data.name, delay = data.delay, parentId = data.parentId, endBehavior = data.endBehavior, transform = data.transform, _data_duration = data.duration, duration = _data_duration === void 0 ? 0 : _data_duration;
18163
18073
  this.props = data;
18164
18074
  //@ts-expect-error
18165
18075
  this.type = data.type;
@@ -18221,8 +18131,6 @@ exports.VFXItem = /*#__PURE__*/ function(EffectsObject) {
18221
18131
  this.rendererComponents.push(component.renderer);
18222
18132
  }
18223
18133
  }
18224
- // renderOrder 在 component 初始化后设置。确保能拿到 rendererComponent。
18225
- this.renderOrder = listIndex;
18226
18134
  };
18227
18135
  _proto.toData = function toData() {
18228
18136
  var _this_parent;
@@ -18830,6 +18738,20 @@ exports.SpriteComponent = __decorate([
18830
18738
  effectsClass(DataType.SpriteComponent)
18831
18739
  ], exports.SpriteComponent);
18832
18740
 
18741
+ var RUNTIME_ENV = "runtime_env";
18742
+ var RENDER_PREFER_LOOKUP_TEXTURE = "lookup_texture";
18743
+ // 文本元素使用 offscreen canvas 绘制
18744
+ var TEMPLATE_USE_OFFSCREEN_CANVAS = "offscreen_canvas";
18745
+ // 后处理配置相关
18746
+ var POST_PROCESS_SETTINGS = "post_process_settings";
18747
+ var config = {};
18748
+ function getConfig(name) {
18749
+ return config[name];
18750
+ }
18751
+ function setConfig(name, value) {
18752
+ return config[name] = value;
18753
+ }
18754
+
18833
18755
  var Cone = /*#__PURE__*/ function() {
18834
18756
  function Cone(props) {
18835
18757
  var _this = this;
@@ -23901,6 +23823,20 @@ var SerializationHelper = /*#__PURE__*/ function() {
23901
23823
  }
23902
23824
  return regions;
23903
23825
  };
23826
+ /**
23827
+ * 设置当前合成子元素的渲染顺序
23828
+ * @internal
23829
+ */ _proto.setChildrenRenderOrder = function setChildrenRenderOrder(startOrder) {
23830
+ for(var _iterator = _create_for_of_iterator_helper_loose(this.items), _step; !(_step = _iterator()).done;){
23831
+ var item = _step.value;
23832
+ item.renderOrder = startOrder++;
23833
+ var subCompositionComponent = item.getComponent(CompositionComponent);
23834
+ if (subCompositionComponent) {
23835
+ startOrder = subCompositionComponent.setChildrenRenderOrder(startOrder);
23836
+ }
23837
+ }
23838
+ return startOrder;
23839
+ };
23904
23840
  _proto.fromData = function fromData(data) {
23905
23841
  Behaviour.prototype.fromData.call(this, data);
23906
23842
  this.items = data.items;
@@ -24715,7 +24651,7 @@ var TextLayout = /*#__PURE__*/ function() {
24715
24651
  function TextLayout(options) {
24716
24652
  this.width = 0;
24717
24653
  this.height = 0;
24718
- var _options_textHeight = options.textHeight, textHeight = _options_textHeight === void 0 ? 100 : _options_textHeight, _options_textWidth = options.textWidth, textWidth = _options_textWidth === void 0 ? 100 : _options_textWidth, _options_textOverflow = options.textOverflow, textOverflow = _options_textOverflow === void 0 ? TextOverflow.display : _options_textOverflow, _options_textBaseline = options.textBaseline, textBaseline = _options_textBaseline === void 0 ? TextBaseline.top : _options_textBaseline, _options_textAlign = options.textAlign, textAlign = _options_textAlign === void 0 ? TextAlignment.left : _options_textAlign, _options_text = options.text, text = _options_text === void 0 ? " " : _options_text, _options_letterSpace = options.letterSpace, letterSpace = _options_letterSpace === void 0 ? 0 : _options_letterSpace, _options_autoWidth = options.autoWidth, autoWidth = _options_autoWidth === void 0 ? false : _options_autoWidth, fontSize = options.fontSize, _options_lineHeight = options.lineHeight, lineHeight = _options_lineHeight === void 0 ? fontSize : _options_lineHeight;
24654
+ var _options_textHeight = options.textHeight, textHeight = _options_textHeight === void 0 ? 100 : _options_textHeight, _options_textWidth = options.textWidth, textWidth = _options_textWidth === void 0 ? 100 : _options_textWidth, _options_textOverflow = options.textOverflow, textOverflow = _options_textOverflow === void 0 ? TextOverflow.clip : _options_textOverflow, _options_textBaseline = options.textBaseline, textBaseline = _options_textBaseline === void 0 ? TextBaseline.top : _options_textBaseline, _options_textAlign = options.textAlign, textAlign = _options_textAlign === void 0 ? TextAlignment.left : _options_textAlign, _options_text = options.text, text = _options_text === void 0 ? " " : _options_text, _options_letterSpace = options.letterSpace, letterSpace = _options_letterSpace === void 0 ? 0 : _options_letterSpace, _options_autoWidth = options.autoWidth, autoWidth = _options_autoWidth === void 0 ? false : _options_autoWidth, fontSize = options.fontSize, _options_lineHeight = options.lineHeight, lineHeight = _options_lineHeight === void 0 ? fontSize : _options_lineHeight;
24719
24655
  var tempWidth = fontSize + letterSpace;
24720
24656
  this.autoWidth = autoWidth;
24721
24657
  this.maxTextWidth = text.length * tempWidth;
@@ -27337,7 +27273,6 @@ var seed$1 = 1;
27337
27273
  this.downloader = downloader;
27338
27274
  this.assets = {};
27339
27275
  this.sourceFrom = {};
27340
- this.imageBitmapOptions = {};
27341
27276
  this.id = seed$1++;
27342
27277
  this.timers = [];
27343
27278
  this.updateOptions(options);
@@ -27595,12 +27530,12 @@ var seed$1 = 1;
27595
27530
  _proto.processJSON = function processJSON(json) {
27596
27531
  var _this = this;
27597
27532
  return _async_to_generator(function() {
27598
- var jsonScene, _jsonScene_plugins, plugins, textures, pluginSystem;
27533
+ var jsonScene, _jsonScene_plugins, plugins, pluginSystem;
27599
27534
  return __generator(this, function(_state) {
27600
27535
  switch(_state.label){
27601
27536
  case 0:
27602
27537
  jsonScene = getStandardJSON(json);
27603
- _jsonScene_plugins = jsonScene.plugins, plugins = _jsonScene_plugins === void 0 ? [] : _jsonScene_plugins, textures = jsonScene.textures;
27538
+ _jsonScene_plugins = jsonScene.plugins, plugins = _jsonScene_plugins === void 0 ? [] : _jsonScene_plugins;
27604
27539
  pluginSystem = new PluginSystem(plugins);
27605
27540
  return [
27606
27541
  4,
@@ -27608,7 +27543,6 @@ var seed$1 = 1;
27608
27543
  ];
27609
27544
  case 1:
27610
27545
  _state.sent();
27611
- _this.assignImageBitmapOptions(textures);
27612
27546
  return [
27613
27547
  2,
27614
27548
  {
@@ -27840,7 +27774,7 @@ var seed$1 = 1;
27840
27774
  ];
27841
27775
  return [
27842
27776
  4,
27843
- loadAVIFOptional(imageURL, avifURL, _this.imageBitmapOptions[id])
27777
+ loadAVIFOptional(imageURL, avifURL)
27844
27778
  ];
27845
27779
  case 10:
27846
27780
  _tmp = _state.sent();
@@ -27851,7 +27785,7 @@ var seed$1 = 1;
27851
27785
  case 11:
27852
27786
  return [
27853
27787
  4,
27854
- loadWebPOptional(imageURL, webpURL, _this.imageBitmapOptions[id])
27788
+ loadWebPOptional(imageURL, webpURL)
27855
27789
  ];
27856
27790
  case 12:
27857
27791
  _tmp = _state.sent();
@@ -28063,21 +27997,6 @@ var seed$1 = 1;
28063
27997
  this.assets[images[i].id] = loadedImages[i];
28064
27998
  }
28065
27999
  };
28066
- _proto.assignImageBitmapOptions = function assignImageBitmapOptions(textures) {
28067
- var _this = this;
28068
- if (textures === void 0) textures = [];
28069
- textures.forEach(function(texture) {
28070
- if (!(_instanceof1(texture, Texture) || "mipmaps" in texture)) {
28071
- var source = texture.source;
28072
- if (isObject(source)) {
28073
- _this.imageBitmapOptions[source.id] = {
28074
- imageOrientation: texture.flipY ? "flipY" : "none",
28075
- premultiplyAlpha: texture.premultiplyAlpha ? "premultiply" : "none"
28076
- };
28077
- }
28078
- }
28079
- });
28080
- };
28081
28000
  _proto.removeTimer = function removeTimer(id) {
28082
28001
  var index = this.timers.indexOf(id);
28083
28002
  if (index !== -1) {
@@ -28087,15 +28006,11 @@ var seed$1 = 1;
28087
28006
  /**
28088
28007
  * 销毁方法
28089
28008
  */ _proto.dispose = function dispose() {
28090
- var _this = this;
28091
28009
  if (this.timers.length) {
28092
28010
  this.timers.map(function(id) {
28093
28011
  return window.clearTimeout(id);
28094
28012
  });
28095
28013
  }
28096
- closeImageBitMap(Object.keys(this.assets).map(function(key) {
28097
- return _this.assets[key];
28098
- }));
28099
28014
  this.assets = {};
28100
28015
  this.sourceFrom = {};
28101
28016
  this.timers = [];
@@ -28112,7 +28027,7 @@ function createTextureOptionsBySource(image, sourceFrom, id) {
28112
28027
  };
28113
28028
  if (_instanceof1(image, Texture)) {
28114
28029
  return _extends({}, image.source, options);
28115
- } else if (_instanceof1(image, HTMLImageElement) || _instanceof1(image, ImageBitmap) || isCanvas(image)) {
28030
+ } else if (_instanceof1(image, HTMLImageElement) || isCanvas(image)) {
28116
28031
  return _extends({
28117
28032
  image: image,
28118
28033
  sourceType: exports.TextureSourceType.image,
@@ -28439,7 +28354,6 @@ var tmpScale = new Vector3(1, 1, 1);
28439
28354
  return Camera;
28440
28355
  }();
28441
28356
 
28442
- var listOrder = 0;
28443
28357
  /**
28444
28358
  * 合成资源管理
28445
28359
  */ var CompositionSourceManager = /*#__PURE__*/ function() {
@@ -28472,7 +28386,6 @@ var listOrder = 0;
28472
28386
  this.pluginSystem = pluginSystem;
28473
28387
  this.totalTime = totalTime != null ? totalTime : 0;
28474
28388
  this.textures = cachedTextures;
28475
- listOrder = 0;
28476
28389
  this.sourceContent = this.getContent(this.composition);
28477
28390
  }
28478
28391
  var _proto = CompositionSourceManager.prototype;
@@ -28503,7 +28416,6 @@ var listOrder = 0;
28503
28416
  var sourceItemData = this.engine.jsonSceneData[itemDataPath.id];
28504
28417
  var itemProps = sourceItemData;
28505
28418
  if (passRenderLevel(sourceItemData.renderLevel, this.renderLevel)) {
28506
- itemProps.listIndex = listOrder++;
28507
28419
  if (itemProps.type === ItemType.sprite || itemProps.type === ItemType.particle || itemProps.type === ItemType.spine || //@ts-expect-error
28508
28420
  itemProps.type === ItemType.shape) {
28509
28421
  for(var _iterator2 = _create_for_of_iterator_helper_loose(itemProps.components), _step2; !(_step2 = _iterator2()).done;){
@@ -28806,6 +28718,7 @@ var LateUpdateTickData = /*#__PURE__*/ function(TickData) {
28806
28718
  SerializationHelper.deserialize(sourceContent, _this.rootComposition);
28807
28719
  _this.rootComposition.createContent();
28808
28720
  _this.buildItemTree(_this.rootItem);
28721
+ _this.rootComposition.setChildrenRenderOrder(0);
28809
28722
  _this.pluginSystem.resetComposition(_assert_this_initialized(_this), _this.renderFrame);
28810
28723
  return _this;
28811
28724
  }
@@ -31445,7 +31358,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem, true);
31445
31358
  registerPlugin("particle", ParticleLoader, exports.VFXItem, true);
31446
31359
  registerPlugin("cal", CalculateLoader, exports.VFXItem, true);
31447
31360
  registerPlugin("interact", InteractLoader, exports.VFXItem, true);
31448
- var version$1 = "2.2.0-alpha.0";
31361
+ var version$1 = "2.2.0";
31449
31362
  logger.info("Core version: " + version$1 + ".");
31450
31363
 
31451
31364
  var _obj;
@@ -31502,6 +31415,7 @@ var _obj3;
31502
31415
  /**
31503
31416
  * 储存 uniform 变量名及对应的 THREE uniform 对象
31504
31417
  */ _this.uniforms = {};
31418
+ _this.macrosDirty = true;
31505
31419
  var shader = props == null ? void 0 : props.shader;
31506
31420
  var level = engine.gpuCapability.level;
31507
31421
  _this.shader = new exports.Shader(engine);
@@ -31741,15 +31655,20 @@ var _obj3;
31741
31655
  var uniform = new THREE__namespace.Uniform(value);
31742
31656
  this.uniforms[name] = this.material.uniforms[name] = uniform;
31743
31657
  };
31744
- // 下列三个方法暂时不需要实现
31745
- _proto.enableMacro = function enableMacro(keyword) {
31746
- throw new Error("Method not implemented.");
31658
+ _proto.enableMacro = function enableMacro(keyword, value) {
31659
+ if (!this.isMacroEnabled(keyword) || this.enabledMacros[keyword] !== value) {
31660
+ this.enabledMacros[keyword] = value != null ? value : true;
31661
+ this.macrosDirty = true;
31662
+ }
31747
31663
  };
31748
31664
  _proto.disableMacro = function disableMacro(keyword) {
31749
- throw new Error("Method not implemented.");
31665
+ if (this.isMacroEnabled(keyword)) {
31666
+ delete this.enabledMacros[keyword];
31667
+ this.macrosDirty = true;
31668
+ }
31750
31669
  };
31751
31670
  _proto.isMacroEnabled = function isMacroEnabled(keyword) {
31752
- throw new Error("Method not implemented.");
31671
+ return this.enabledMacros[keyword] !== undefined;
31753
31672
  };
31754
31673
  _proto.clone = function clone(props) {
31755
31674
  //FIXME: 暂时不实现
@@ -33072,7 +32991,7 @@ setMaxSpriteMeshItemCount(8);
33072
32991
  */ Mesh.create = function(engine, props) {
33073
32992
  return new ThreeMesh(engine, props);
33074
32993
  };
33075
- var version = "2.2.0-alpha.0";
32994
+ var version = "2.2.0";
33076
32995
  logger.info("THREEJS plugin version: " + version + ".");
33077
32996
 
33078
32997
  exports.AbstractPlugin = AbstractPlugin;
@@ -33126,7 +33045,6 @@ exports.HELP_LINK = HELP_LINK;
33126
33045
  exports.InteractLoader = InteractLoader;
33127
33046
  exports.InteractMesh = InteractMesh;
33128
33047
  exports.KTXTexture = KTXTexture;
33129
- exports.LOAD_PREFER_IMAGE_BITMAP = LOAD_PREFER_IMAGE_BITMAP;
33130
33048
  exports.LineSegments = LineSegments;
33131
33049
  exports.LinearValue = LinearValue;
33132
33050
  exports.Material = Material;
@@ -33203,7 +33121,6 @@ exports.base64ToFile = base64ToFile;
33203
33121
  exports.blend = blend;
33204
33122
  exports.calculateTranslation = calculateTranslation;
33205
33123
  exports.canvasPool = canvasPool;
33206
- exports.closeImageBitMap = closeImageBitMap;
33207
33124
  exports.colorGradingFrag = colorGradingFrag;
33208
33125
  exports.colorStopsFromGradient = colorStopsFromGradient;
33209
33126
  exports.colorToArr = colorToArr$1;
@@ -33282,7 +33199,6 @@ exports.loadAVIFOptional = loadAVIFOptional;
33282
33199
  exports.loadBinary = loadBinary;
33283
33200
  exports.loadBlob = loadBlob;
33284
33201
  exports.loadImage = loadImage;
33285
- exports.loadImageBitmap = loadImageBitmap;
33286
33202
  exports.loadMedia = loadMedia;
33287
33203
  exports.loadVideo = loadVideo;
33288
33204
  exports.loadWebPOptional = loadWebPOptional;