@galacean/engine-core 1.5.3 → 1.5.5

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.5.3",
3
+ "version": "1.5.5",
4
4
  "publishConfig": {
5
5
  "access": "public",
6
6
  "registry": "https://registry.npmjs.org"
@@ -18,10 +18,10 @@
18
18
  "types/**/*"
19
19
  ],
20
20
  "dependencies": {
21
- "@galacean/engine-math": "1.5.3"
21
+ "@galacean/engine-math": "1.5.5"
22
22
  },
23
23
  "devDependencies": {
24
- "@galacean/engine-design": "1.5.3"
24
+ "@galacean/engine-design": "1.5.5"
25
25
  },
26
26
  "scripts": {
27
27
  "b:types": "tsc"
@@ -1,6 +1,7 @@
1
1
  import { Engine } from "./Engine";
2
2
  import { Platform } from "./Platform";
3
3
  import { TextureFormat } from "./texture";
4
+ import { AssetPromise } from "./asset/AssetPromise";
4
5
  /**
5
6
  * Access operating system, platform and hardware information.
6
7
  */
@@ -11,10 +12,12 @@ export declare class SystemInfo {
11
12
  static operatingSystem: string;
12
13
  /** Whether the system support SIMD. */
13
14
  private static _simdSupported;
15
+ private static _webpSupported;
14
16
  /**
15
17
  * The pixel ratio of the device.
16
18
  */
17
19
  static get devicePixelRatio(): number;
20
+ static _checkWebpSupported(): AssetPromise<boolean>;
18
21
  /**
19
22
  * Checks whether the system supports the given texture format.
20
23
  * @param format - The texture format