@predy-js/render-interface 0.1.46-beta.2 → 0.1.46-beta.21
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.mjs
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* Name: @predy-js/render-interface
|
3
3
|
* Description: undefined
|
4
4
|
* Author: undefined
|
5
|
-
* Version: v0.1.46-beta.
|
5
|
+
* Version: v0.1.46-beta.21
|
6
6
|
*/
|
7
7
|
|
8
8
|
/******************************************************************************
|
@@ -3036,6 +3036,15 @@ var CanvasEmpty = /** @class */ (function () {
|
|
3036
3036
|
return CanvasEmpty;
|
3037
3037
|
}());
|
3038
3038
|
|
3039
|
+
/**
|
3040
|
+
* 客户端创建对象,iOS和android
|
3041
|
+
*/
|
3042
|
+
var ResourcePlatform;
|
3043
|
+
(function (ResourcePlatform) {
|
3044
|
+
ResourcePlatform[ResourcePlatform["iOS"] = 1] = "iOS";
|
3045
|
+
ResourcePlatform[ResourcePlatform["android"] = 2] = "android";
|
3046
|
+
})(ResourcePlatform || (ResourcePlatform = {}));
|
3047
|
+
|
3039
3048
|
var GLRenderBuffer = /** @class */ (function () {
|
3040
3049
|
function GLRenderBuffer(renderer, options) {
|
3041
3050
|
var _a;
|
@@ -5696,7 +5705,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5696
5705
|
return MarsSharedGeometry;
|
5697
5706
|
}(MarsGeometry));
|
5698
5707
|
|
5699
|
-
consoleLog('version: ' + "0.1.46-beta.
|
5708
|
+
consoleLog('version: ' + "0.1.46-beta.21");
|
5700
5709
|
consoleLog('Update : xxx');
|
5701
5710
|
|
5702
5711
|
export { DestroyOptions, MarsGeometry as Geometry, MarsInstancedMesh as InstancedMesh, MarsTextureFactory, MarsMaterial as Material, MarsMaterialDataBlock as MaterialDataBlock, MarsMesh as Mesh, 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 };
|