@galacean/effects-webgl 2.9.1-beta.0 → 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.
- package/dist/gl-engine.d.ts +3 -3
- package/dist/gl-texture.d.ts +0 -1
- package/package.json +2 -2
package/dist/gl-engine.d.ts
CHANGED
|
@@ -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>[];
|
package/dist/gl-texture.d.ts
CHANGED
|
@@ -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.
|
|
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.
|
|
41
|
+
"@galacean/effects-core": "2.10.0-alpha.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"prebuild": "pnpm clean",
|