@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 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.1
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.1");
5830
+ consoleLog('version: ' + "0.1.64-beta.11");
5827
5831
 
5828
5832
  exports.GPUBufferOptionsMemoryShared = GPUBufferOptionsMemoryShared;
5829
5833
  exports.Geometry = MarsGeometry;