@predy-js/render-interface 0.1.46-beta.4 → 0.1.47-beta.1
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 +13 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -2
- package/dist/index.mjs.map +1 -1
- package/dist/statistic.js +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/native/DataBlockInternal.d.ts +15 -8
- package/dist/types/native/GPUBufferInternal.d.ts +1 -2
- package/dist/types/native/GeometryInternal.d.ts +4 -5
- package/dist/types/native/ImageBitmapInternal.d.ts +22 -0
- package/dist/types/native/MaterialInternal.d.ts +8 -4
- package/dist/types/native/MeshInternal.d.ts +3 -3
- package/dist/types/native/RenderFrameInternal.d.ts +1 -2
- package/dist/types/native/RenderPassInternal.d.ts +1 -2
- package/dist/types/native/RendererInternal.d.ts +5 -0
- package/dist/types/native/ResourceInternal.d.ts +0 -1
- package/dist/types/native/TextureInternal.d.ts +16 -12
- package/dist/types/native/index.d.ts +12 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2,11 +2,13 @@
|
|
2
2
|
* Name: @predy-js/render-interface
|
3
3
|
* Description: undefined
|
4
4
|
* Author: undefined
|
5
|
-
* Version: v0.1.
|
5
|
+
* Version: v0.1.47-beta.1
|
6
6
|
*/
|
7
7
|
|
8
8
|
'use strict';
|
9
9
|
|
10
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
11
|
+
|
10
12
|
/******************************************************************************
|
11
13
|
Copyright (c) Microsoft Corporation.
|
12
14
|
|
@@ -3038,6 +3040,15 @@ var CanvasEmpty = /** @class */ (function () {
|
|
3038
3040
|
return CanvasEmpty;
|
3039
3041
|
}());
|
3040
3042
|
|
3043
|
+
/**
|
3044
|
+
* 客户端创建对象,iOS和android
|
3045
|
+
*/
|
3046
|
+
var ResourcePlatform;
|
3047
|
+
(function (ResourcePlatform) {
|
3048
|
+
ResourcePlatform[ResourcePlatform["iOS"] = 1] = "iOS";
|
3049
|
+
ResourcePlatform[ResourcePlatform["android"] = 2] = "android";
|
3050
|
+
})(ResourcePlatform || (ResourcePlatform = {}));
|
3051
|
+
|
3041
3052
|
var GLRenderBuffer = /** @class */ (function () {
|
3042
3053
|
function GLRenderBuffer(renderer, options) {
|
3043
3054
|
var _a;
|
@@ -5698,7 +5709,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5698
5709
|
return MarsSharedGeometry;
|
5699
5710
|
}(MarsGeometry));
|
5700
5711
|
|
5701
|
-
consoleLog('version: ' + "0.1.
|
5712
|
+
consoleLog('version: ' + "0.1.47-beta.1");
|
5702
5713
|
consoleLog('Update : xxx');
|
5703
5714
|
|
5704
5715
|
exports.Geometry = MarsGeometry;
|