@galacean/engine-loader 1.1.0-beta.8 → 1.1.0-beta.9
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/dist/main.js +4 -0
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +4 -0
- package/dist/module.js +4 -0
- package/dist/module.js.map +1 -1
- package/package.json +5 -5
- package/types/ktx2/transcoder/AbstractTranscoder.d.ts +1 -1
- package/types/ktx2/transcoder/BinomialLLCTranscoder.d.ts +1 -1
- package/types/ktx2/transcoder/BinomialLLCWorkerCode.d.ts +1 -1
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.9",
|
|
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-draco": "1.1.0-beta.
|
|
19
|
-
"@galacean/engine-
|
|
20
|
-
"@galacean/engine-core": "1.1.0-beta.
|
|
21
|
-
"@galacean/engine-
|
|
18
|
+
"@galacean/engine-draco": "1.1.0-beta.9",
|
|
19
|
+
"@galacean/engine-rhi-webgl": "1.1.0-beta.9",
|
|
20
|
+
"@galacean/engine-core": "1.1.0-beta.9",
|
|
21
|
+
"@galacean/engine-math": "1.1.0-beta.9"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"b:types": "tsc"
|
|
@@ -20,7 +20,7 @@ export interface InitMessage extends BaseMessage {
|
|
|
20
20
|
export interface BinomialTranscodeMessage extends BaseMessage {
|
|
21
21
|
type: "transcode";
|
|
22
22
|
format: number;
|
|
23
|
-
buffer:
|
|
23
|
+
buffer: Uint8Array;
|
|
24
24
|
}
|
|
25
25
|
export type IBinomialMessage = InitMessage | BinomialTranscodeMessage;
|
|
26
26
|
export type TranscodeResult = {
|
|
@@ -4,5 +4,5 @@ import { AbstractTranscoder, TranscodeResult } from "./AbstractTranscoder";
|
|
|
4
4
|
export declare class BinomialLLCTranscoder extends AbstractTranscoder {
|
|
5
5
|
constructor(workerLimitCount: number);
|
|
6
6
|
_initTranscodeWorkerPool(): Promise<any>;
|
|
7
|
-
transcode(buffer:
|
|
7
|
+
transcode(buffer: Uint8Array, format: KTX2TargetFormat): Promise<TranscodeResult>;
|
|
8
8
|
}
|
|
@@ -3,4 +3,4 @@ import { TranscodeResult } from "./AbstractTranscoder";
|
|
|
3
3
|
export declare function TranscodeWorkerCode(): void;
|
|
4
4
|
export declare const _init: () => (wasmBinary?: ArrayBuffer) => any;
|
|
5
5
|
export declare const init: (wasmBinary?: ArrayBuffer) => any;
|
|
6
|
-
export declare function transcode(buffer:
|
|
6
|
+
export declare function transcode(buffer: Uint8Array, targetFormat: any, KTX2File: any): TranscodeResult;
|