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