@galacean/engine-core 1.2.0-beta.0 → 1.2.0-beta.2

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-core",
3
- "version": "1.2.0-beta.0",
3
+ "version": "1.2.0-beta.2",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -15,10 +15,10 @@
15
15
  "types/**/*"
16
16
  ],
17
17
  "dependencies": {
18
- "@galacean/engine-math": "1.2.0-beta.0"
18
+ "@galacean/engine-math": "1.2.0-beta.2"
19
19
  },
20
20
  "devDependencies": {
21
- "@galacean/engine-design": "1.2.0-beta.0"
21
+ "@galacean/engine-design": "1.2.0-beta.2"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
package/types/Utils.d.ts CHANGED
@@ -33,6 +33,5 @@ export declare class Utils {
33
33
  */
34
34
  static resolveAbsoluteUrl(baseUrl: string, relativeUrl: string): string;
35
35
  private static _stringToPath;
36
- private static _formatRelativePath;
37
36
  private static _insertionSort;
38
37
  }
@@ -96,6 +96,7 @@ export declare enum GLCapabilityType {
96
96
  colorBufferHalfFloat = "EXT_color_buffer_half_float",
97
97
  textureFilterAnisotropic = "EXT_texture_filter_anisotropic",
98
98
  blendMinMax = "EXT_blend_minmax",
99
+ fragDepth = "EXT_frag_depth",
99
100
  astc = "WEBGL_compressed_texture_astc",
100
101
  astc_webkit = "WEBKIT_WEBGL_compressed_texture_astc",
101
102
  etc = "WEBGL_compressed_texture_etc",
@@ -1,4 +1,5 @@
1
1
  export declare class ShaderFactory {
2
+ private static readonly _has300OutInFragReg;
2
3
  static parseCustomMacros(macros: string[]): string;
3
4
  static registerInclude(includeName: string, includeSource: string): void;
4
5
  static unRegisterInclude(includeName: string): void;
@@ -13,5 +14,6 @@ export declare class ShaderFactory {
13
14
  * @param isFrag - Whether it is a fragment shader.
14
15
  * */
15
16
  static convertTo300(shader: string, isFrag?: boolean): string;
17
+ private static _has300Output;
16
18
  private static _replaceMRTShader;
17
19
  }