@galacean/engine-loader 1.1.0-beta.13 → 1.1.0-beta.14

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-loader",
3
- "version": "1.1.0-beta.13",
3
+ "version": "1.1.0-beta.14",
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.1.0-beta.13",
19
- "@galacean/engine-rhi-webgl": "1.1.0-beta.13",
20
- "@galacean/engine-draco": "1.1.0-beta.13",
21
- "@galacean/engine-core": "1.1.0-beta.13"
18
+ "@galacean/engine-core": "1.1.0-beta.14",
19
+ "@galacean/engine-math": "1.1.0-beta.14",
20
+ "@galacean/engine-draco": "1.1.0-beta.14",
21
+ "@galacean/engine-rhi-webgl": "1.1.0-beta.14"
22
22
  },
23
23
  "scripts": {
24
24
  "b:types": "tsc"
@@ -5,6 +5,7 @@ export declare class KTX2Loader extends Loader<Texture2D | TextureCube> {
5
5
  private static _isBinomialInit;
6
6
  private static _binomialLLCTranscoder;
7
7
  private static _khronosTranscoder;
8
+ private static _priorityFormats;
8
9
  private static _supportedMap;
9
10
  /**
10
11
  * Destroy ktx2 transcoder worker.
@@ -37,7 +38,7 @@ export declare class KTX2Loader extends Loader<Texture2D | TextureCube> {
37
38
  * KTX2 loader params interface.
38
39
  */
39
40
  export interface KTX2Params {
40
- /** Priority transcoding format queue, default is ASTC/ETC/DXT/PVRTC/RGBA8. */
41
+ /** Priority transcoding format queue which is preferred options, default is BC7/ASTC/BC3_BC1/ETC/PVRTC/R8G8B8A8. */
41
42
  priorityFormats: KTX2TargetFormat[];
42
43
  }
43
44
  declare module "@galacean/engine-core" {
@@ -46,8 +47,8 @@ declare module "@galacean/engine-core" {
46
47
  ktx2Loader?: {
47
48
  /** Worker count for transcoder, default is 4. */
48
49
  workerCount?: number;
49
- /** Pre-initialization according to the priority transcoding format queue, default is ASTC/ETC/DXT/PVRTC/RGBA8. */
50
- priorityFormats?: KTX2TargetFormat[] | KTX2TargetFormat[][];
50
+ /** Global transcoding format queue which will be used if not specified in per-instance param, default is BC7/ASTC/BC3_BC1/ETC/PVRTC/R8G8B8A8. */
51
+ priorityFormats?: KTX2TargetFormat[];
51
52
  };
52
53
  }
53
54
  }