@idetik/core 0.19.0 → 0.19.1

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.d.ts CHANGED
@@ -617,7 +617,7 @@ declare class Idetik {
617
617
  private readonly chunkManager_;
618
618
  private readonly context_;
619
619
  private readonly renderer_;
620
- private viewports_;
620
+ private readonly viewports_;
621
621
  readonly canvas: HTMLCanvasElement;
622
622
  readonly overlays: Overlay[];
623
623
  private readonly stats_?;
@@ -676,10 +676,6 @@ declare class Idetik {
676
676
  get renderedObjects(): number;
677
677
  get width(): number;
678
678
  get height(): number;
679
- get textureInfo(): {
680
- textures: number;
681
- totalBytes: number;
682
- };
683
679
  get viewports(): readonly Viewport[];
684
680
  get running(): boolean;
685
681
  getViewport(id: string): Viewport | undefined;
@@ -720,10 +716,6 @@ declare class WebGLRenderer extends Renderer {
720
716
  private renderedObjectsPerFrame_;
721
717
  constructor(canvas: HTMLCanvasElement);
722
718
  render(viewport: Viewport): void;
723
- get textureInfo(): {
724
- textures: number;
725
- totalBytes: number;
726
- };
727
719
  private initStencil;
728
720
  private renderLayer;
729
721
  protected renderObject(layer: Layer, objectIndex: number, camera: Camera): void;
package/dist/index.js CHANGED
@@ -1333,12 +1333,6 @@ class TC {
1333
1333
  this.disposeTexture(A);
1334
1334
  this.gpuTextureBytes_ = 0, this.textureCount_ = 0;
1335
1335
  }
1336
- get textureInfo() {
1337
- return {
1338
- textures: this.textureCount_,
1339
- totalBytes: this.gpuTextureBytes_
1340
- };
1341
- }
1342
1336
  alreadyActive(A) {
1343
1337
  return this.currentTexture_ === A && !A.needsUpdate;
1344
1338
  }
@@ -1718,9 +1712,6 @@ class bC extends jB {
1718
1712
  a.update(o), a.state === "ready" && I && this.renderLayer(a, A.camera, i);
1719
1713
  this.state_.setDepthMask(!0), this.renderedObjects_ = this.renderedObjectsPerFrame_;
1720
1714
  }
1721
- get textureInfo() {
1722
- return this.textures_.textureInfo;
1723
- }
1724
1715
  initStencil() {
1725
1716
  this.gl_.clearStencil(0), this.gl_.stencilMask(255), this.gl_.stencilFunc(this.gl_.EQUAL, 0, 255), this.gl_.stencilOp(this.gl_.KEEP, this.gl_.KEEP, this.gl_.INCR);
1726
1717
  }
@@ -2864,9 +2855,6 @@ class Hi {
2864
2855
  get height() {
2865
2856
  return this.renderer_.height;
2866
2857
  }
2867
- get textureInfo() {
2868
- return this.renderer_.textureInfo;
2869
- }
2870
2858
  get viewports() {
2871
2859
  return this.viewports_;
2872
2860
  }