@galacean/effects-webgl 2.9.1 → 2.10.0-alpha.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.
@@ -327,9 +327,9 @@ export declare class GLEngine extends Engine {
327
327
  setMatrixArray(uniform: Nullable<WebGLUniformLocation>, array: number[]): void;
328
328
  setTexture(uniform: Nullable<WebGLUniformLocation>, channel: number, texture: Texture): void;
329
329
  /**
330
- * 查询所有uniform的location。
331
- * @param program 查询的shader program
332
- * @param uniformsNames 查询的uniform名称列表
330
+ * 查询所有 uniform location。
331
+ * @param program - 查询的 shader program
332
+ * @param uniformsNames - 查询的 uniform 名称列表
333
333
  * @returns
334
334
  */
335
335
  getUniforms(program: WebGLProgram, uniformsNames: string[]): Nullable<WebGLUniformLocation>[];
@@ -20,7 +20,6 @@ export declare class GLTexture extends Texture implements Disposable, RestoreHan
20
20
  fromData(data: spec.EffectsObjectData): void;
21
21
  private texImage2D;
22
22
  private texImage2DData;
23
- private resizeImage;
24
23
  reloadData(): Promise<void>;
25
24
  offloadData(): void;
26
25
  uploadCurrentVideoFrame(): Promise<boolean>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/effects-webgl",
3
- "version": "2.9.1",
3
+ "version": "2.10.0-alpha.0",
4
4
  "description": "Galacean Effects runtime webgl for the web",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
@@ -38,7 +38,7 @@
38
38
  "registry": "https://registry.npmjs.org"
39
39
  },
40
40
  "dependencies": {
41
- "@galacean/effects-core": "2.9.1"
41
+ "@galacean/effects-core": "2.10.0-alpha.0"
42
42
  },
43
43
  "scripts": {
44
44
  "prebuild": "pnpm clean",