@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.
@@ -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(opt?: {
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>, name?: string, id?: string): void;
43
+ export declare function assignInspectorName(obj: Record<string, any> | null, name?: string, id?: string): void;
@@ -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
- /** 绑定当前Texture对象。*/
9
+ /**
10
+ * 绑定当前 Texture 对象
11
+ */
10
12
  bind(force?: boolean): void;
11
- /** 初始化Texture的GPU资源。*/
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.15",
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.15"
41
+ "@galacean/effects-core": "2.0.0-alpha.17"
42
42
  },
43
43
  "scripts": {
44
44
  "prebuild": "pnpm clean",