TileInternal.d.ts 714 B

1234567891011121314151617181920212223242526272829303132333435
  1. import { Tile } from './Tile';
  2. /**
  3. * Internal state used/set by the package.
  4. */
  5. export interface TileInternal extends Tile {
  6. // tile description
  7. __externalTileSet: boolean;
  8. __contentEmpty: boolean;
  9. __isLeaf: boolean;
  10. // resource tracking
  11. __usedLastFrame: boolean;
  12. __used: boolean;
  13. // Visibility tracking
  14. __allChildrenLoaded: boolean;
  15. __childrenWereVisible: boolean;
  16. __inFrustum: boolean;
  17. __wasSetVisible: boolean;
  18. // download state tracking
  19. /**
  20. * This tile is currently active if:
  21. * 1: Tile content is loaded and ready to be made visible if needed
  22. */
  23. __active: boolean;
  24. __loadIndex: number;
  25. __loadAbort: AbortController | null;
  26. __loadingState: number;
  27. __wasSetActive: boolean;
  28. }