@predy-js/render-interface 0.1.61-beta.24 → 0.1.61-beta.25

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.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.61-beta.24
5
+ * Version: v0.1.61-beta.25
6
6
  */
7
7
 
8
8
  /******************************************************************************
@@ -5255,6 +5255,7 @@ var MarsGeometry = /** @class */ (function () {
5255
5255
  var option = {
5256
5256
  data: data,
5257
5257
  usage: gpuBufferOption.usage,
5258
+ target: gpuBufferOption.target,
5258
5259
  };
5259
5260
  buffers[gpuBufferName] = option;
5260
5261
  this._dirtyFlags[gpuBufferName].discard = true;
@@ -5364,10 +5365,10 @@ var MarsGeometry = /** @class */ (function () {
5364
5365
  usage: constants.STATIC_DRAW,
5365
5366
  };
5366
5367
  if (data instanceof Uint16Array) {
5367
- this.indexDataType = constants.SHORT;
5368
+ this.indexDataType = constants.UNSIGNED_SHORT;
5368
5369
  }
5369
5370
  else if (data instanceof Uint32Array) {
5370
- this.indexDataType = constants.INT;
5371
+ this.indexDataType = constants.UNSIGNED_INT;
5371
5372
  }
5372
5373
  }
5373
5374
  // 顶点属性参数
@@ -5820,7 +5821,7 @@ var MarsSharedGeometry = /** @class */ (function (_super) {
5820
5821
  return MarsSharedGeometry;
5821
5822
  }(MarsGeometry));
5822
5823
 
5823
- consoleLog('version: ' + "0.1.61-beta.24");
5824
+ consoleLog('version: ' + "0.1.61-beta.25");
5824
5825
 
5825
5826
  export { DestroyOptions, GPUBufferOptionsMemoryShared, 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 };
5826
5827
  //# sourceMappingURL=index.mjs.map