@galacean/effects-webgl 2.0.0-alpha.15 → 2.0.0-alpha.17
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-framebuffer.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare class GLFramebuffer extends Framebuffer implements Disposable {
|
|
|
27
27
|
bind(): void;
|
|
28
28
|
resetColorTextures(colorTextures?: Texture[]): void;
|
|
29
29
|
resize(x: number, y: number, width: number, height: number): void;
|
|
30
|
-
dispose(
|
|
30
|
+
dispose(options?: {
|
|
31
31
|
depthStencilAttachment?: RenderPassDestroyAttachmentType;
|
|
32
32
|
}): void;
|
|
33
33
|
}
|
|
@@ -40,4 +40,4 @@ export declare class GLRendererInternal implements Disposable, LostHandler {
|
|
|
40
40
|
lost(e: Event): void;
|
|
41
41
|
dispose(): void;
|
|
42
42
|
}
|
|
43
|
-
export declare function assignInspectorName(obj: Record<string, any
|
|
43
|
+
export declare function assignInspectorName(obj: Record<string, any> | null, name?: string, id?: string): void;
|
package/dist/gl-texture.d.ts
CHANGED
|
@@ -6,9 +6,13 @@ export declare class GLTexture extends Texture implements Disposable, RestoreHan
|
|
|
6
6
|
private pipelineContext;
|
|
7
7
|
private initialized;
|
|
8
8
|
constructor(engine: Engine, source?: TextureSourceOptions);
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* 绑定当前 Texture 对象
|
|
11
|
+
*/
|
|
10
12
|
bind(force?: boolean): void;
|
|
11
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* 初始化 Texture 的 GPU 资源
|
|
15
|
+
*/
|
|
12
16
|
initialize(): void;
|
|
13
17
|
clone(): GLTexture;
|
|
14
18
|
release(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@galacean/effects-webgl",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.17",
|
|
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.0.0-alpha.
|
|
41
|
+
"@galacean/effects-core": "2.0.0-alpha.17"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"prebuild": "pnpm clean",
|