@miris-inc/core 0.0.8-10fcfd5 → 0.0.8-115102d

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/AquaApi.wasm CHANGED
Binary file
Binary file
package/dist/core.d.ts CHANGED
@@ -9,7 +9,9 @@ declare interface AttributeInfo extends EmbindObject {
9
9
  readonly elementCount: number;
10
10
  readonly dataSizeBytes: number;
11
11
  readonly clientSideId: bigint;
12
- readonly minValue: { x: number; y: number; z: number };
12
+ // An embind CompressionType value, compared by identity against MainModule.CompressionType
13
+ readonly compressionType: unknown;
14
+ readonly minValue: { x: number; y: number; z: number; w: number };
13
15
  readonly maxValue: { x: number; y: number; z: number };
14
16
  }
15
17
 
@@ -32,6 +34,8 @@ export declare class AttributeNames {
32
34
  static readonly OCTANT_OFFSETS: string;
33
35
  static readonly SURFEL_OCTANT_OFFSETS: string;
34
36
  static readonly SURFEL_COUNT: string;
37
+ static readonly SURFEL_OWNER_GROUPS: string;
38
+ static readonly OCTANT_CELL: string;
35
39
  static readonly REFLECTANCE_DATA_V1: string;
36
40
  static readonly GLASS_MESH_GEOMETRY: string;
37
41
  static readonly GLASS_MESH_PANELS: string;
@@ -196,6 +200,10 @@ declare class Engine {
196
200
  get module(): MainModule;
197
201
  constructor(moduleOptions?: Record<string, unknown>);
198
202
  get AttributeInfo(): new () => AttributeInfo;
203
+ get CompressionType(): {
204
+ SHARK_ELLIPSOID_COMPRESSED: unknown;
205
+ SHARK_ELLIPSOID_COMPRESSED_ROOT_RELATIVE: unknown;
206
+ };
199
207
  get Handedness(): {
200
208
  Right: number;
201
209
  Left: number;
@@ -382,6 +390,8 @@ export declare class Lod {
382
390
  get _hasOctantOffsets(): boolean;
383
391
  get _surfelOctantOffsets(): Uint32Array<ArrayBuffer> | null;
384
392
  get _surfelCount(): number;
393
+ get _surfelOwnerGroups(): Uint32Array<ArrayBuffer> | null;
394
+ get _octantCell(): Uint32Array<ArrayBuffer> | null;
385
395
  _readOctantOffsets(engine: Engine): void;
386
396
  hasAttribute(attributeName: string): boolean;
387
397
  getDataFromAttribute(engine: Engine, attributeName: string, attributeInfo: AttributeInfo): CachedAttribute | null;
@@ -411,6 +421,10 @@ export declare class LodStore {
411
421
 
412
422
  declare interface MainModule {
413
423
  AttributeInfo: new () => AttributeInfo;
424
+ CompressionType: {
425
+ SHARK_ELLIPSOID_COMPRESSED: unknown;
426
+ SHARK_ELLIPSOID_COMPRESSED_ROOT_RELATIVE: unknown;
427
+ };
414
428
  Handedness: { Right: number; Left: number };
415
429
  HEAPF32: Float32Array<ArrayBuffer>;
416
430
  HEAPU8: Uint8Array<ArrayBuffer>;
@@ -501,6 +515,7 @@ export declare class Miris {
501
515
  static readonly _SHARK_SPLAT_BUDGET_CAP_DESKTOP = 2500000;
502
516
  /* Excluded from this release type: _isMobileDevice */
503
517
  /* Excluded from this release type: _sharkSplatCapacity */
518
+ /* Excluded from this release type: _limitSharkSplatCapacity */
504
519
  /* Excluded from this release type: _sharkSplatBudgetCap */
505
520
  /* Excluded from this release type: _setTargetFrameRate */
506
521
  /* Excluded from this release type: _setXRModeActive */