@predy-js/render-interface 0.3.3-beta.8 → 0.3.3
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 +25 -23
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -24
- 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/dist/index.mjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Name: @predy-js/render-interface
|
3
3
|
* Description: undefined
|
4
4
|
* Author: undefined
|
5
|
-
* Version: v0.3.3
|
5
|
+
* Version: v0.3.3
|
6
6
|
*/
|
7
7
|
|
8
8
|
/******************************************************************************
|
@@ -19,7 +19,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
19
19
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
20
20
|
PERFORMANCE OF THIS SOFTWARE.
|
21
21
|
***************************************************************************** */
|
22
|
-
/* global Reflect, Promise, SuppressedError, Symbol */
|
22
|
+
/* global Reflect, Promise, SuppressedError, Symbol, Iterator */
|
23
23
|
|
24
24
|
var extendStatics = function(d, b) {
|
25
25
|
extendStatics = Object.setPrototypeOf ||
|
@@ -91,6 +91,25 @@ var DestroyOptions;
|
|
91
91
|
DestroyOptions[DestroyOptions["keep"] = 1] = "keep";
|
92
92
|
DestroyOptions[DestroyOptions["force"] = 0] = "force";
|
93
93
|
})(DestroyOptions || (DestroyOptions = {}));
|
94
|
+
var PredyTextEncoding;
|
95
|
+
(function (PredyTextEncoding) {
|
96
|
+
PredyTextEncoding[PredyTextEncoding["utf8"] = 0] = "utf8";
|
97
|
+
PredyTextEncoding[PredyTextEncoding["ascii"] = 1] = "ascii";
|
98
|
+
})(PredyTextEncoding || (PredyTextEncoding = {}));
|
99
|
+
var PredyVideoCodec;
|
100
|
+
(function (PredyVideoCodec) {
|
101
|
+
PredyVideoCodec["h264"] = "avc1";
|
102
|
+
PredyVideoCodec["h265"] = "hev1";
|
103
|
+
PredyVideoCodec["av1"] = "av1";
|
104
|
+
})(PredyVideoCodec || (PredyVideoCodec = {}));
|
105
|
+
var PredyResourceCacheStatus;
|
106
|
+
(function (PredyResourceCacheStatus) {
|
107
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["noCache"] = 0] = "noCache";
|
108
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["cached"] = 1] = "cached";
|
109
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["preloaded"] = 2] = "preloaded";
|
110
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["hitCDN"] = 3] = "hitCDN";
|
111
|
+
PredyResourceCacheStatus[PredyResourceCacheStatus["missCDN"] = 4] = "missCDN";
|
112
|
+
})(PredyResourceCacheStatus || (PredyResourceCacheStatus = {}));
|
94
113
|
|
95
114
|
var RenderPassDestroyAttachmentType;
|
96
115
|
(function (RenderPassDestroyAttachmentType) {
|
@@ -3143,26 +3162,6 @@ var ResourcePlatform;
|
|
3143
3162
|
ResourcePlatform[ResourcePlatform["android"] = 2] = "android";
|
3144
3163
|
})(ResourcePlatform || (ResourcePlatform = {}));
|
3145
3164
|
|
3146
|
-
var PredyResourceCacheStatus;
|
3147
|
-
(function (PredyResourceCacheStatus) {
|
3148
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["noCache"] = 0] = "noCache";
|
3149
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["cached"] = 1] = "cached";
|
3150
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["preloaded"] = 2] = "preloaded";
|
3151
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["hitCDN"] = 3] = "hitCDN";
|
3152
|
-
PredyResourceCacheStatus[PredyResourceCacheStatus["missCDN"] = 4] = "missCDN";
|
3153
|
-
})(PredyResourceCacheStatus || (PredyResourceCacheStatus = {}));
|
3154
|
-
var PredyTextEncoding;
|
3155
|
-
(function (PredyTextEncoding) {
|
3156
|
-
PredyTextEncoding[PredyTextEncoding["utf8"] = 0] = "utf8";
|
3157
|
-
PredyTextEncoding[PredyTextEncoding["ascii"] = 1] = "ascii";
|
3158
|
-
})(PredyTextEncoding || (PredyTextEncoding = {}));
|
3159
|
-
var PredyVideoCodec;
|
3160
|
-
(function (PredyVideoCodec) {
|
3161
|
-
PredyVideoCodec["h264"] = "avc1";
|
3162
|
-
PredyVideoCodec["h265"] = "hev1";
|
3163
|
-
PredyVideoCodec["av1"] = "av1";
|
3164
|
-
})(PredyVideoCodec || (PredyVideoCodec = {}));
|
3165
|
-
|
3166
3165
|
var PredyVideoDecoderStatus;
|
3167
3166
|
(function (PredyVideoDecoderStatus) {
|
3168
3167
|
PredyVideoDecoderStatus[PredyVideoDecoderStatus["init"] = 0] = "init";
|
@@ -5910,7 +5909,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5910
5909
|
return MarsSharedGeometry;
|
5911
5910
|
}(MarsGeometry));
|
5912
5911
|
|
5913
|
-
consoleLog('version: ' + "0.3.3
|
5912
|
+
consoleLog('version: ' + "0.3.3");
|
5914
5913
|
var ModuleMsg = 'RI Package: @predy-js/render-interface';
|
5915
5914
|
|
5916
5915
|
var RI = /*#__PURE__*/Object.freeze({
|
@@ -5932,6 +5931,9 @@ var RI = /*#__PURE__*/Object.freeze({
|
|
5932
5931
|
setDefaultTextureFactory: setDefaultTextureFactory,
|
5933
5932
|
MarsTextureFactory: MarsTextureFactory,
|
5934
5933
|
get DestroyOptions () { return DestroyOptions; },
|
5934
|
+
get PredyTextEncoding () { return PredyTextEncoding; },
|
5935
|
+
get PredyVideoCodec () { return PredyVideoCodec; },
|
5936
|
+
get PredyResourceCacheStatus () { return PredyResourceCacheStatus; },
|
5935
5937
|
get RenderPassDestroyAttachmentType () { return RenderPassDestroyAttachmentType; },
|
5936
5938
|
RenderPassPriorityPrepare: RenderPassPriorityPrepare,
|
5937
5939
|
RenderPassPriorityNormal: RenderPassPriorityNormal,
|
@@ -5953,5 +5955,5 @@ else if (typeof global === 'object') {
|
|
5953
5955
|
global.PredyRI = RI;
|
5954
5956
|
}
|
5955
5957
|
|
5956
|
-
export { DestroyOptions, GPUBufferOptionsMemoryShared, MarsGeometry as Geometry, MarsInstancedMesh as InstancedMesh, MarsTextureFactory, MarsMaterial as Material, MarsMaterialDataBlock as MaterialDataBlock, MarsMesh as Mesh, ModuleMsg, MarsRenderFrame as RenderFrame, MarsRenderPass as RenderPass, RenderPassAttachmentStorageType, RenderPassDestroyAttachmentType, RenderPassMeshOrder, RenderPassPriorityNormal, RenderPassPriorityPostprocess, RenderPassPriorityPrepare, MarsRenderer as Renderer, ShaderCompileResultStatus, ShaderLibraryEmpty, MarsSharedGeometry as SharedGeometry, MarsTexture as Texture, TextureLoadAction, TextureSourceType, TextureStoreAction, constants, getDefaultGPUCapability, getDefaultTextureFactory, setDefaultTextureFactory };
|
5958
|
+
export { DestroyOptions, GPUBufferOptionsMemoryShared, MarsGeometry as Geometry, MarsInstancedMesh as InstancedMesh, MarsTextureFactory, MarsMaterial as Material, MarsMaterialDataBlock as MaterialDataBlock, MarsMesh as Mesh, ModuleMsg, PredyResourceCacheStatus, PredyTextEncoding, PredyVideoCodec, MarsRenderFrame as RenderFrame, MarsRenderPass as RenderPass, RenderPassAttachmentStorageType, RenderPassDestroyAttachmentType, RenderPassMeshOrder, RenderPassPriorityNormal, RenderPassPriorityPostprocess, RenderPassPriorityPrepare, MarsRenderer as Renderer, ShaderCompileResultStatus, ShaderLibraryEmpty, MarsSharedGeometry as SharedGeometry, MarsTexture as Texture, TextureLoadAction, TextureSourceType, TextureStoreAction, constants, getDefaultGPUCapability, getDefaultTextureFactory, setDefaultTextureFactory };
|
5957
5959
|
//# sourceMappingURL=index.mjs.map
|