@galacean/effects-webgl 2.0.0-alpha.32 → 2.0.0-alpha.34
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-program.d.ts
CHANGED
|
@@ -32,7 +32,7 @@ export declare class GLProgram implements Disposable {
|
|
|
32
32
|
* @param geometry
|
|
33
33
|
* @returns
|
|
34
34
|
*/
|
|
35
|
-
setupAttributes(geometry: GLGeometry): GLVertexArrayObject;
|
|
35
|
+
setupAttributes(geometry: GLGeometry): GLVertexArrayObject | undefined;
|
|
36
36
|
createAttribMap(): Record<string, ProgramAttributeInfo>;
|
|
37
37
|
dispose(): void;
|
|
38
38
|
}
|
|
@@ -31,7 +31,7 @@ export declare class GLRendererInternal implements Disposable, LostHandler {
|
|
|
31
31
|
drawGeometry(geometry: Geometry, material: Material, subMeshIndex: number): void;
|
|
32
32
|
createGLFramebuffer(framebuffer: GLFramebuffer, name?: string): WebGLFramebuffer | null;
|
|
33
33
|
/**创建包裹VAO对象。 */
|
|
34
|
-
createVAO(name
|
|
34
|
+
createVAO(name?: string): GLVertexArrayObject | undefined;
|
|
35
35
|
deleteGLTexture(texture: GLTexture): void;
|
|
36
36
|
deleteGPUBuffer(buffer: GLGPUBuffer | null): void;
|
|
37
37
|
deleteGLFramebuffer(framebuffer: GLFramebuffer): void;
|
package/dist/index.d.ts
CHANGED
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.34",
|
|
4
4
|
"description": "Galacean Effects runtime webgl for the web",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"string-hash": "^1.1.3",
|
|
42
|
-
"@galacean/effects-core": "2.0.0-alpha.
|
|
42
|
+
"@galacean/effects-core": "2.0.0-alpha.34"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"prebuild": "pnpm clean",
|