@glowjs/core 2024.8.5 → 2024.8.9

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.
@@ -5956,6 +5956,19 @@ export type EffectData = {
5956
5956
  blockWidth: number;
5957
5957
  blockHeight: number;
5958
5958
  offsetY: number;
5959
+ textureId?: string;
5960
+ /**
5961
+ * 渲染模式模式:0=OPAQUE 1=ALPHATEST 2=ALPHABLEND 3=ALPHATESTANDBLEND
5962
+ */
5963
+ transparencyMode?: number;
5964
+ alpha?: number;
5965
+ color?: string;
5966
+ mirror?: boolean;
5967
+ level?: number;
5968
+ /**
5969
+ * 模糊系数
5970
+ */
5971
+ adaptiveBlurKernel?: number;
5959
5972
  };
5960
5973
  };
5961
5974
  /**
@@ -6280,11 +6293,15 @@ export type ResOptions = {
6280
6293
  /**
6281
6294
  * 贴图类型
6282
6295
  */
6283
- textureType?: "panorama" | "background";
6296
+ textureType?: "panorama" | "background" | "grid";
6284
6297
  /**
6285
6298
  * 资源类型
6286
6299
  */
6287
6300
  type?: string;
6301
+ /**
6302
+ * 是否有透明通道
6303
+ */
6304
+ hasAlpha?: boolean;
6288
6305
  };
6289
6306
  /**
6290
6307
  * 尺寸