gl-draw 0.18.4 → 0.18.6

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.d.ts CHANGED
@@ -2914,6 +2914,19 @@ declare class SceneSerializer {
2914
2914
  * 去重场景 JSON 中重复的 image、VideoTexture、DataTexture
2915
2915
  */
2916
2916
  private _deduplicateSceneJson;
2917
+ /**
2918
+ * 提取 _videoSrc / _dataTexBase64 到 json._texDataPool,避免重复存储
2919
+ */
2920
+ private _extractTexDataPool;
2921
+ /**
2922
+ * 还原 _texDataPool:将索引替换回原始字符串
2923
+ */
2924
+ private _restoreTexDataPool;
2925
+ /**
2926
+ * 将 sceneJson.images 中的 PNG data URL 转为 WebP 以减小体积
2927
+ */
2928
+ private _convertPngDataUrlsToWebp;
2929
+ private _pngDataUrlToWebp;
2917
2930
  /**
2918
2931
  * 遍历 sceneJson 的对象树,提取 _baseObjectOptions 中可共享的大字段
2919
2932
  * 相同内容只存储一份,对象中替换为引用索引