@glowjs/core 2025.7.19 → 2025.7.26

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.
@@ -179,6 +179,43 @@ declare class EnvironmentTexture extends Base {
179
179
  */
180
180
  setEnvEffect(): Promise<void>;
181
181
  }
182
+ declare class Glow extends Base {
183
+ private _layer;
184
+ /**
185
+ * 实例化一个发光层对象
186
+ * @param app 应用
187
+ */
188
+ constructor(app: App);
189
+ /**
190
+ * 获取或设置启用
191
+ */
192
+ get enable(): boolean;
193
+ set enable(value: boolean);
194
+ /**
195
+ * 获取或设置强度
196
+ */
197
+ get intensity(): number;
198
+ set intensity(value: number);
199
+ /**
200
+ * 获取或设置模糊系数
201
+ */
202
+ get blurSize(): number;
203
+ set blurSize(value: number);
204
+ /**
205
+ * 添加网格
206
+ * @param mesh 网格
207
+ */
208
+ addMesh(mesh: Mesh): void;
209
+ /**
210
+ * 移除网格
211
+ * @param mesh 网格
212
+ */
213
+ removeMesh(mesh: Mesh): void;
214
+ /**
215
+ * 释放
216
+ */
217
+ dispose(): void;
218
+ }
182
219
  declare class ImageProcessing extends Base {
183
220
  private _config;
184
221
  /**
@@ -560,6 +597,8 @@ declare class PerformancePanel extends StackPanel {
560
597
  private _heapTotal;
561
598
  private _heapLimit;
562
599
  private _deltaTimeValue;
600
+ private _activeFaces;
601
+ private _totalVertices;
563
602
  private _sceneInstrumentation;
564
603
  private _engineInstrumentation;
565
604
  app: App;
@@ -594,6 +633,11 @@ declare class ToolTip extends Rectangle {
594
633
  * @param app 应用
595
634
  */
596
635
  constructor(app: App);
636
+ /**
637
+ * 获取或设置字体大小
638
+ */
639
+ get fontSize(): number;
640
+ set fontSize(value: number);
597
641
  /**
598
642
  * 获取或设置文本
599
643
  */
@@ -2507,13 +2551,11 @@ export declare class EffectMgr extends Base {
2507
2551
  /**
2508
2552
  * 发光层
2509
2553
  */
2554
+ glow: Glow;
2510
2555
  /**
2511
2556
  * 灯光
2512
2557
  */
2513
2558
  light: Light;
2514
- /**
2515
- * 高亮层
2516
- */
2517
2559
  /**
2518
2560
  * 图像处理
2519
2561
  */
@@ -4513,6 +4555,7 @@ export declare class ResPool extends Base {
4513
4555
  * 资源列表
4514
4556
  */
4515
4557
  readonly resList: ResOptions[];
4558
+ _cacheVertices: number;
4516
4559
  /**
4517
4560
  * 缓存
4518
4561
  */