@jdultra/threedtiles 13.3.3 → 13.3.5

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.
@@ -0,0 +1,72 @@
1
+ export function splatsVertexShader(): string;
2
+ export function splatsFragmentShader(): string;
3
+ export class SplatsMeshCompatibility extends Mesh<import("three").BufferGeometry<import("three").NormalBufferAttributes>, import("three").Material | import("three").Material[], import("three").Object3DEventMap> {
4
+ constructor(renderer: any, isStatic: any, fragShader: any);
5
+ numBatches: number;
6
+ numVisibleBatches: number;
7
+ orderAttribute: InstancedBufferAttribute;
8
+ textureSize: number;
9
+ numTextures: number;
10
+ batchSize: number;
11
+ maxSplats: number;
12
+ numSplatsRendered: number;
13
+ positionRenderTarget: WebGL3DRenderTarget;
14
+ colorRenderTarget: WebGL3DRenderTarget;
15
+ covarianceRenderTarget1: WebGL3DRenderTarget;
16
+ covarianceRenderTarget2: WebGL3DRenderTarget;
17
+ renderer: any;
18
+ sortID: number;
19
+ freeAddresses: MinPriorityQueue<any, any>;
20
+ worker: any;
21
+ sortListeners: any[];
22
+ cameraPosition: Vector3;
23
+ copyMaterial2D: ShaderMaterial;
24
+ copyMaterial3D: ShaderMaterial;
25
+ copyCamera: OrthographicCamera;
26
+ copyScene: Scene;
27
+ copyQuad: Mesh<PlaneGeometry, ShaderMaterial, import("three").Object3DEventMap>;
28
+ /**
29
+ * Sets the splats visualization quality where 1 is the maximum quality and 0 is the fastest
30
+ * @param {number} quality value between 0 and 1 (1 highest quality)
31
+ */
32
+ setQuality(quality: number): void;
33
+ setSplatsCPUCulling(splatsCPUCuling: any): void;
34
+ splatsCPUCuling: any;
35
+ updateShaderParams(camera: any): void;
36
+ dispose(): void;
37
+ copyTex2D(src: any, dst: any, scissorBox: any, layer: any): void;
38
+ copyTex3D(src: any, dst: any, numLayers: any): void;
39
+ /**
40
+ * Specify a size multiplier for splats
41
+ * @param {number} sizeMultiplier
42
+ */
43
+ setSplatsSizeMultiplier(sizeMultiplier: number): void;
44
+ /**
45
+ * specify a crop radius for splats
46
+ * @param {number} cropRadius
47
+ */
48
+ setSplatsCropRadius(cropRadius: number): void;
49
+ sort(cameraPosition: any, viewProjModel: any): void;
50
+ viewProjModel: Matrix4 | undefined;
51
+ raycast(raycaster: any, intersects: any): void;
52
+ addSplatsTile(positions: any, colors: any, cov1: any, cov2: any): {
53
+ hide: () => void;
54
+ show: (callback: any) => void;
55
+ remove: () => void;
56
+ sort: (cameraPosition: any, viewProjModel: any) => void;
57
+ raycast: () => void;
58
+ isSplatsBatch: boolean;
59
+ } | undefined;
60
+ addSplatsBatch(positionsStartIndex: any, address: any, positionsF32: any, colors: any, cov1: any, cov2: any): void;
61
+ growTextures(): void;
62
+ }
63
+ import { Mesh } from "three";
64
+ import { InstancedBufferAttribute } from "three";
65
+ import { WebGL3DRenderTarget } from "three";
66
+ import { MinPriorityQueue } from 'data-structure-typed';
67
+ import { Vector3 } from "three";
68
+ import { ShaderMaterial } from "three";
69
+ import { OrthographicCamera } from "three";
70
+ import { Scene } from "three";
71
+ import { PlaneGeometry } from "three";
72
+ import { Matrix4 } from "three";