@predy-js/render-interface 0.3.3-beta.9 → 0.3.4-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/CHANGELOG.md +18 -0
- package/dist/index.js +24 -22
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -23
- package/dist/index.mjs.map +1 -1
- package/dist/statistic.js +1 -1
- package/dist/types/constants.d.ts +16 -0
- package/dist/types/native/PredyNativeInternal.d.ts +1 -16
- package/dist/types/native/VideoDecoder.d.ts +13 -14
- package/package.json +1 -1
- package/types/constants.ts +20 -0
- package/types/native/PredyNativeInternal.ts +1 -29
- package/types/native/VideoDecoder.ts +15 -17
package/CHANGELOG.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
## 0.1.63
|
2
|
+
|
3
|
+
## 0.1.62
|
4
|
+
1. 删除Material上对于UniformValue和Texture的输入接口,全部传入DataBlock中
|
5
|
+
2. UniformSemantic也传入DataBlock中
|
6
|
+
3. Renderer增加RequestAnimationFrame
|
7
|
+
## 0.1.54
|
8
|
+
1. 修改了textureInternal的定义
|
9
|
+
|
10
|
+
## 0.1.57
|
11
|
+
1. 修改render createTexture的参数
|
12
|
+
|
13
|
+
## 0.1.61 np
|
14
|
+
1. 将types代码打包到npm包中,解决enum类型无法使用的问题
|
15
|
+
2. DataBlock 中添加 uniformSemantics 字段
|
16
|
+
3. TextureInternalOptions 添加 generateMipmap 字段
|
17
|
+
|
18
|
+
## [Unreleased]
|
package/dist/index.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Name: @predy-js/render-interface
|
3
3
|
* Description: undefined
|
4
4
|
* Author: undefined
|
5
|
-
* Version: v0.3.
|
5
|
+
* Version: v0.3.4-beta.1
|
6
6
|
*/
|
7
7
|
|
8
8
|
'use strict';
|
@@ -95,6 +95,25 @@ exports.DestroyOptions = void 0;
|
|
95
95
|
DestroyOptions[DestroyOptions["keep"] = 1] = "keep";
|
96
96
|
DestroyOptions[DestroyOptions["force"] = 0] = "force";
|
97
97
|
})(exports.DestroyOptions || (exports.DestroyOptions = {}));
|
98
|
+
exports.PredyTextEncoding = void 0;
|
99
|
+
(function (PredyTextEncoding) {
|
100
|
+
PredyTextEncoding[PredyTextEncoding["utf8"] = 0] = "utf8";
|
101
|
+
PredyTextEncoding[PredyTextEncoding["ascii"] = 1] = "ascii";
|
102
|
+
})(exports.PredyTextEncoding || (exports.PredyTextEncoding = {}));
|
103
|
+
exports.PredyVideoCodec = void 0;
|
104
|
+
(function (PredyVideoCodec) {
|
105
|
+
PredyVideoCodec["h264"] = "avc1";
|
106
|
+
PredyVideoCodec["h265"] = "hev1";
|
107
|
+
PredyVideoCodec["av1"] = "av1";
|
108
|
+
})(exports.PredyVideoCodec || (exports.PredyVideoCodec = {}));
|
109
|
+
exports.PredyResourceCacheStatus = void 0;
|
110
|
+
(function (PredyResourceCacheStatus) {
|
111
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["noCache"] = 0] = "noCache";
|
112
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["cached"] = 1] = "cached";
|
113
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["preloaded"] = 2] = "preloaded";
|
114
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["hitCDN"] = 3] = "hitCDN";
|
115
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["missCDN"] = 4] = "missCDN";
|
116
|
+
})(exports.PredyResourceCacheStatus || (exports.PredyResourceCacheStatus = {}));
|
98
117
|
|
99
118
|
exports.RenderPassDestroyAttachmentType = void 0;
|
100
119
|
(function (RenderPassDestroyAttachmentType) {
|
@@ -3147,26 +3166,6 @@ var ResourcePlatform;
|
|
3147
3166
|
ResourcePlatform[ResourcePlatform["android"] = 2] = "android";
|
3148
3167
|
})(ResourcePlatform || (ResourcePlatform = {}));
|
3149
3168
|
|
3150
|
-
var PredyResourceCacheStatus;
|
3151
|
-
(function (PredyResourceCacheStatus) {
|
3152
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["noCache"] = 0] = "noCache";
|
3153
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["cached"] = 1] = "cached";
|
3154
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["preloaded"] = 2] = "preloaded";
|
3155
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["hitCDN"] = 3] = "hitCDN";
|
3156
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["missCDN"] = 4] = "missCDN";
|
3157
|
-
})(PredyResourceCacheStatus || (PredyResourceCacheStatus = {}));
|
3158
|
-
var PredyTextEncoding;
|
3159
|
-
(function (PredyTextEncoding) {
|
3160
|
-
PredyTextEncoding[PredyTextEncoding["utf8"] = 0] = "utf8";
|
3161
|
-
PredyTextEncoding[PredyTextEncoding["ascii"] = 1] = "ascii";
|
3162
|
-
})(PredyTextEncoding || (PredyTextEncoding = {}));
|
3163
|
-
var PredyVideoCodec;
|
3164
|
-
(function (PredyVideoCodec) {
|
3165
|
-
PredyVideoCodec["h264"] = "avc1";
|
3166
|
-
PredyVideoCodec["h265"] = "hev1";
|
3167
|
-
PredyVideoCodec["av1"] = "av1";
|
3168
|
-
})(PredyVideoCodec || (PredyVideoCodec = {}));
|
3169
|
-
|
3170
3169
|
var PredyVideoDecoderStatus;
|
3171
3170
|
(function (PredyVideoDecoderStatus) {
|
3172
3171
|
PredyVideoDecoderStatus[PredyVideoDecoderStatus["init"] = 0] = "init";
|
@@ -5914,7 +5913,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5914
5913
|
return MarsSharedGeometry;
|
5915
5914
|
}(MarsGeometry));
|
5916
5915
|
|
5917
|
-
consoleLog('version: ' + "0.3.
|
5916
|
+
consoleLog('version: ' + "0.3.4-beta.1");
|
5918
5917
|
var ModuleMsg = 'RI Package: @predy-js/render-interface';
|
5919
5918
|
|
5920
5919
|
var RI = /*#__PURE__*/Object.freeze({
|
@@ -5936,6 +5935,9 @@ var RI = /*#__PURE__*/Object.freeze({
|
|
5936
5935
|
setDefaultTextureFactory: setDefaultTextureFactory,
|
5937
5936
|
MarsTextureFactory: MarsTextureFactory,
|
5938
5937
|
get DestroyOptions () { return exports.DestroyOptions; },
|
5938
|
+
get PredyTextEncoding () { return exports.PredyTextEncoding; },
|
5939
|
+
get PredyVideoCodec () { return exports.PredyVideoCodec; },
|
5940
|
+
get PredyResourceCacheStatus () { return exports.PredyResourceCacheStatus; },
|
5939
5941
|
get RenderPassDestroyAttachmentType () { return exports.RenderPassDestroyAttachmentType; },
|
5940
5942
|
RenderPassPriorityPrepare: RenderPassPriorityPrepare,
|
5941
5943
|
RenderPassPriorityNormal: RenderPassPriorityNormal,
|