@predy-js/render-interface 0.1.64-beta.9 → 0.1.64
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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/dist/statistic.js +1 -1
- package/dist/types/native/PredyNativeInternal.d.ts +1 -2
- package/dist/types/native/PredyNativeModule.d.ts +2 -2
- package/dist/types/native/index.d.ts +3 -0
- package/package.json +1 -1
- package/types/native/PredyNativeInternal.ts +1 -1
- package/types/native/PredyNativeModule.ts +2 -2
- package/types/native/index.ts +3 -0
package/dist/statistic.js
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
import type { ImageBitmapCallback, ImageBitmapConstructor } from './ImageBitmapInternal';
|
2
|
-
declare abstract class PredyNativeInternal {
|
2
|
+
export declare abstract class PredyNativeInternal {
|
3
3
|
abstract createImageBitmap(data: ArrayBuffer | string, //图片文件的数据
|
4
4
|
options: ImageBitmapConstructor, callback: ImageBitmapCallback): void;
|
5
5
|
}
|
6
6
|
declare global {
|
7
7
|
let predyNative: PredyNativeInternal;
|
8
8
|
}
|
9
|
-
export {};
|
@@ -1,3 +1,3 @@
|
|
1
|
-
declare abstract class PredyNativeModule {
|
2
|
-
|
1
|
+
export declare abstract class PredyNativeModule {
|
2
|
+
abstract install(callBack: (success: boolean, msg?: string) => void): void;
|
3
3
|
}
|
@@ -10,3 +10,6 @@ export * from './RenderPassInternal';
|
|
10
10
|
export * from './ResourceInternal';
|
11
11
|
export * from './ShaderLibraryInternal';
|
12
12
|
export * from './TextureInternal';
|
13
|
+
export * from './AndGLContext';
|
14
|
+
export * from './PredyNativeInternal';
|
15
|
+
export * from './PredyNativeModule';
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { ImageBitmapCallback, ImageBitmapConstructor } from './ImageBitmapInternal';
|
2
2
|
|
3
|
-
declare abstract class PredyNativeInternal {
|
3
|
+
export declare abstract class PredyNativeInternal {
|
4
4
|
abstract createImageBitmap (data: ArrayBuffer | string, //图片文件的数据
|
5
5
|
options: ImageBitmapConstructor, callback: ImageBitmapCallback): void;
|
6
6
|
}
|
package/types/native/index.ts
CHANGED
@@ -10,3 +10,6 @@ export * from './RenderPassInternal';
|
|
10
10
|
export * from './ResourceInternal';
|
11
11
|
export * from './ShaderLibraryInternal';
|
12
12
|
export * from './TextureInternal';
|
13
|
+
export * from './AndGLContext';
|
14
|
+
export * from './PredyNativeInternal';
|
15
|
+
export * from './PredyNativeModule';
|