@galacean/engine-rhi-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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@galacean/engine-rhi-webgl",
3
- "version": "2.0.0-alpha.32",
3
+ "version": "2.0.0-alpha.34",
4
4
  "repository": {
5
5
  "url": "https://github.com/galacean/engine.git"
6
6
  },
@@ -18,11 +18,11 @@
18
18
  "types/**/*"
19
19
  ],
20
20
  "dependencies": {
21
- "@galacean/engine-math": "2.0.0-alpha.32",
22
- "@galacean/engine-core": "2.0.0-alpha.32"
21
+ "@galacean/engine-core": "2.0.0-alpha.34",
22
+ "@galacean/engine-math": "2.0.0-alpha.34"
23
23
  },
24
24
  "devDependencies": {
25
- "@galacean/engine-design": "2.0.0-alpha.32"
25
+ "@galacean/engine-design": "2.0.0-alpha.34"
26
26
  },
27
27
  "scripts": {
28
28
  "b:types": "tsc"
@@ -38,6 +38,7 @@ export interface WebGLGraphicDeviceOptions {
38
38
  * WebGL graphic device, including WebGL1.0 and WebGL2.0.
39
39
  */
40
40
  export declare class WebGLGraphicDevice implements IHardwareRenderer {
41
+ maxUniformBlockSize: number;
41
42
  private _options;
42
43
  private _webGLOptions;
43
44
  private _gl;
@@ -75,6 +76,8 @@ export declare class WebGLGraphicDevice implements IHardwareRenderer {
75
76
  createPlatformBuffer(type: BufferBindFlag, byteLength: number, bufferUsage?: BufferUsage, data?: ArrayBuffer | ArrayBufferView): IPlatformBuffer;
76
77
  createPlatformTransformFeedback(): IPlatformTransformFeedback;
77
78
  createPlatformTransformFeedbackPrimitive(): IPlatformTransformFeedbackPrimitive;
79
+ bindUniformBufferBase(bindingPoint: number, buffer: IPlatformBuffer): void;
80
+ bindUniformBlock(program: WebGLProgram, blockName: string, bindingPoint: number): number;
78
81
  /**
79
82
  * Enable GL_RASTERIZER_DISCARD (WebGL2 only).
80
83
  */