@predy-js/render-interface 0.1.64-beta.1 → 0.1.64-beta.11
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 +9 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +7 -5
- package/dist/index.mjs.map +1 -1
- package/dist/statistic.js +1 -1
- package/dist/types/Geometry.d.ts +5 -0
- package/dist/types/native/AndGLContext.d.ts +9 -0
- package/dist/types/native/GeometryInternal.d.ts +0 -6
- package/dist/types/native/PredyNativeInternal.d.ts +8 -0
- package/dist/types/native/PredyNativeModule.d.ts +3 -0
- package/dist/types/native/RendererInternal.d.ts +3 -0
- package/package.json +1 -1
- package/types/Geometry.ts +8 -0
- package/types/native/AndGLContext.ts +12 -0
- package/types/native/GeometryInternal.ts +0 -5
- package/types/native/MaterialInternal.ts +1 -0
- package/types/native/PredyNativeInternal.ts +10 -0
- package/types/native/PredyNativeModule.ts +4 -0
- package/types/native/RendererInternal.ts +3 -0
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.64-beta.
|
5
|
+
* Version: v0.1.64-beta.11
|
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
|
|
@@ -4607,6 +4609,8 @@ var MarsMaterialDataBlock = /** @class */ (function () {
|
|
4607
4609
|
this._uniformValues = {};
|
4608
4610
|
// @ts-expect-error safe to assign
|
4609
4611
|
this._uniformTextures = {};
|
4612
|
+
// @ts-expect-error safe to assign
|
4613
|
+
this.uniformSemantics = {};
|
4610
4614
|
this.assignRenderer = throwDestroyedError;
|
4611
4615
|
this._isDestroyed = true;
|
4612
4616
|
};
|
@@ -4691,9 +4695,9 @@ var MarsMaterialDataBlock = /** @class */ (function () {
|
|
4691
4695
|
MarsMaterialDataBlock.prototype.clone = function (name) {
|
4692
4696
|
return new MarsMaterialDataBlock({
|
4693
4697
|
name: name,
|
4694
|
-
uniformValues: this._uniformValues,
|
4695
|
-
uniformTextures: this._uniformTextures,
|
4696
|
-
uniformSemantics: this.uniformSemantics,
|
4698
|
+
uniformValues: __assign({}, this._uniformValues),
|
4699
|
+
uniformTextures: __assign({}, this._uniformTextures),
|
4700
|
+
uniformSemantics: __assign({}, this.uniformSemantics),
|
4697
4701
|
keepUboData: this._keepUboData,
|
4698
4702
|
}, this.renderer);
|
4699
4703
|
};
|
@@ -5823,7 +5827,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
|
|
5823
5827
|
return MarsSharedGeometry;
|
5824
5828
|
}(MarsGeometry));
|
5825
5829
|
|
5826
|
-
consoleLog('version: ' + "0.1.64-beta.
|
5830
|
+
consoleLog('version: ' + "0.1.64-beta.11");
|
5827
5831
|
|
5828
5832
|
exports.GPUBufferOptionsMemoryShared = GPUBufferOptionsMemoryShared;
|
5829
5833
|
exports.Geometry = MarsGeometry;
|