@types/three 0.172.0 → 0.173.0

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.
Files changed (72) hide show
  1. three/README.md +1 -1
  2. three/examples/jsm/geometries/TextGeometry.d.ts +0 -8
  3. three/examples/jsm/interactive/InteractiveGroup.d.ts +9 -1
  4. three/examples/jsm/materials/MeshGouraudMaterial.d.ts +3 -0
  5. three/examples/jsm/webxr/XRButton.d.ts +4 -2
  6. three/package.json +2 -2
  7. three/src/Three.Core.d.ts +2 -0
  8. three/src/Three.TSL.d.ts +9 -1
  9. three/src/animation/AnimationClip.d.ts +1 -1
  10. three/src/cameras/ArrayCamera.d.ts +7 -6
  11. three/src/cameras/Camera.d.ts +7 -7
  12. three/src/constants.d.ts +6 -0
  13. three/src/core/BufferAttribute.d.ts +5 -0
  14. three/src/materials/nodes/NodeMaterials.d.ts +0 -4
  15. three/src/materials/nodes/PointsNodeMaterial.d.ts +7 -14
  16. three/src/materials/nodes/manager/NodeMaterialObserver.d.ts +1 -0
  17. three/src/math/Matrix4.d.ts +2 -1
  18. three/src/nodes/Nodes.d.ts +5 -1
  19. three/src/nodes/TSL.d.ts +4 -0
  20. three/src/nodes/accessors/Arrays.d.ts +9 -2
  21. three/src/nodes/accessors/BufferAttributeNode.d.ts +1 -1
  22. three/src/nodes/accessors/Camera.d.ts +1 -0
  23. three/src/nodes/accessors/MaterialNode.d.ts +3 -3
  24. three/src/nodes/accessors/StorageBufferNode.d.ts +7 -3
  25. three/src/nodes/core/ArrayNode.d.ts +26 -0
  26. three/src/nodes/core/Node.d.ts +9 -1
  27. three/src/nodes/core/NodeCache.d.ts +2 -1
  28. three/src/nodes/core/NodeVar.d.ts +6 -2
  29. three/src/nodes/core/StructNode.d.ts +21 -0
  30. three/src/nodes/core/StructType.d.ts +8 -0
  31. three/src/nodes/core/StructTypeNode.d.ts +33 -14
  32. three/src/nodes/core/VarNode.d.ts +8 -1
  33. three/src/nodes/core/VaryingNode.d.ts +9 -0
  34. three/src/nodes/geometry/RangeNode.d.ts +6 -11
  35. three/src/nodes/gpgpu/AtomicFunctionNode.d.ts +5 -0
  36. three/src/nodes/gpgpu/ComputeBuiltinNode.d.ts +1 -0
  37. three/src/nodes/math/MathNode.d.ts +2 -0
  38. three/src/nodes/math/OperatorNode.d.ts +2 -0
  39. three/src/nodes/shapes/Shapes.d.ts +4 -0
  40. three/src/nodes/tsl/TSLBase.d.ts +1 -0
  41. three/src/nodes/tsl/TSLCore.d.ts +16 -3
  42. three/src/nodes/utils/MemberNode.d.ts +11 -0
  43. three/src/objects/BatchedMesh.d.ts +1 -0
  44. three/src/objects/InstancedMesh.d.ts +4 -3
  45. three/src/renderers/WebGLRenderer.d.ts +2 -2
  46. three/src/renderers/common/Animation.d.ts +13 -1
  47. three/src/renderers/common/BufferUtils.d.ts +1 -1
  48. three/src/renderers/common/BundleGroup.d.ts +1 -1
  49. three/src/renderers/common/ChainMap.d.ts +5 -5
  50. three/src/renderers/common/Color4.d.ts +7 -3
  51. three/src/renderers/common/Info.d.ts +0 -11
  52. three/src/renderers/common/Pipelines.d.ts +2 -2
  53. three/src/renderers/common/PostProcessing.d.ts +1 -1
  54. three/src/renderers/common/RenderContext.d.ts +6 -4
  55. three/src/renderers/common/RenderContexts.d.ts +14 -22
  56. three/src/renderers/common/RenderList.d.ts +2 -2
  57. three/src/renderers/common/RenderObject.d.ts +16 -8
  58. three/src/renderers/common/Renderer.d.ts +26 -9
  59. three/src/renderers/common/TimestampQueryPool.d.ts +31 -0
  60. three/src/renderers/common/Uniform.d.ts +27 -1
  61. three/src/renderers/common/XRManager.d.ts +196 -0
  62. three/src/renderers/common/XRRenderTarget.d.ts +23 -0
  63. three/src/renderers/common/nodes/NodeBuilderState.d.ts +3 -3
  64. three/src/renderers/common/nodes/NodeLibrary.d.ts +3 -3
  65. three/src/renderers/common/nodes/NodeUniform.d.ts +31 -0
  66. three/src/renderers/common/nodes/Nodes.d.ts +8 -7
  67. three/src/renderers/webgpu/WebGPUBackend.d.ts +2 -1
  68. three/src/textures/Texture.d.ts +2 -5
  69. three/src/textures/VideoFrameTexture.d.ts +27 -0
  70. three/examples/jsm/geometries/InstancedPointsGeometry.d.ts +0 -13
  71. three/examples/jsm/objects/InstancedPoints.d.ts +0 -10
  72. three/src/materials/nodes/InstancedPointsNodeMaterial.d.ts +0 -33
@@ -1,10 +0,0 @@
1
- import { InstancedPointsNodeMaterial, Mesh } from "three/webgpu";
2
- import InstancedPointsGeometry from "../geometries/InstancedPointsGeometry.js";
3
-
4
- declare class InstancedPoints extends Mesh<InstancedPointsGeometry, InstancedPointsNodeMaterial> {
5
- readonly isInstancedPoints: true;
6
-
7
- constructor(geometry?: InstancedPointsGeometry, material?: InstancedPointsNodeMaterial);
8
- }
9
-
10
- export default InstancedPoints;
@@ -1,33 +0,0 @@
1
- import { Color } from "../../math/Color.js";
2
- import Node from "../../nodes/core/Node.js";
3
- import { Texture } from "../../textures/Texture.js";
4
- import { PointsMaterialParameters } from "../PointsMaterial.js";
5
- import NodeMaterial, { NodeMaterialParameters } from "./NodeMaterial.js";
6
-
7
- export interface InstancedPointsNodeMaterialParameters extends NodeMaterialParameters, PointsMaterialParameters {
8
- useAlphaToCoverage?: boolean | undefined;
9
- useColor?: boolean | undefined;
10
- pointWidth?: number | undefined;
11
- pointColorNode?: Node | null | undefined;
12
- pointWidthNode?: Node | null | undefined;
13
- }
14
-
15
- declare class InstancedPointsNodeMaterial extends NodeMaterial {
16
- useAlphaToCoverage: boolean;
17
- useColor: boolean | undefined;
18
- pointWidth: number;
19
- pointColorNode: Node | null;
20
- pointWidthNode: Node | null;
21
-
22
- // Properties from LineDashedMaterial
23
- readonly isPointsMaterial: true;
24
- color: Color;
25
- map: Texture | null;
26
- alphaMap: Texture | null;
27
- size: number;
28
- sizeAttenuation: boolean;
29
-
30
- constructor(params?: InstancedPointsNodeMaterialParameters);
31
- }
32
-
33
- export default InstancedPointsNodeMaterial;