@galacean/engine-loader 1.1.0-beta.36 → 1.1.0-beta.37
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.
|
|
3
|
+
"version": "1.1.0-beta.37",
|
|
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.
|
|
19
|
-
"@galacean/engine-
|
|
20
|
-
"@galacean/engine-
|
|
21
|
-
"@galacean/engine-
|
|
18
|
+
"@galacean/engine-math": "1.1.0-beta.37",
|
|
19
|
+
"@galacean/engine-core": "1.1.0-beta.37",
|
|
20
|
+
"@galacean/engine-draco": "1.1.0-beta.37",
|
|
21
|
+
"@galacean/engine-rhi-webgl": "1.1.0-beta.37"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"b:types": "tsc"
|
|
@@ -2,10 +2,10 @@ declare module "@galacean/engine-core" {
|
|
|
2
2
|
interface EngineConfiguration {
|
|
3
3
|
/** glTF loader options. */
|
|
4
4
|
glTF?: {
|
|
5
|
-
/** Meshopt options. */
|
|
5
|
+
/** Meshopt options. If set this option and workCount is great than 0, workers will be created. */
|
|
6
6
|
meshOpt?: {
|
|
7
7
|
/** Worker count for transcoder, default is 4. */
|
|
8
|
-
workerCount
|
|
8
|
+
workerCount: number;
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
11
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const MeshoptDecoder: {
|
|
2
|
+
workerCount: number;
|
|
2
3
|
ready: Promise<void>;
|
|
3
|
-
useWorkers: (
|
|
4
|
+
useWorkers: () => void;
|
|
4
5
|
decodeGltfBuffer: (count: any, stride: any, source: any, mode: any, filter: any) => Promise<Uint8Array>;
|
|
5
6
|
release(): void;
|
|
6
7
|
};
|