@types/three 0.170.0 → 0.171.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 (106) hide show
  1. three/README.md +1 -1
  2. three/build/three.core.d.ts +1 -0
  3. three/build/three.core.min.d.ts +1 -0
  4. three/build/three.tsl.d.ts +1 -0
  5. three/build/three.tsl.min.d.ts +1 -0
  6. three/examples/jsm/controls/ArcballControls.d.ts +5 -0
  7. three/examples/jsm/controls/TransformControls.d.ts +1 -1
  8. three/examples/jsm/csm/CSMShadowNode.d.ts +1 -2
  9. three/examples/jsm/exporters/GLTFExporter.d.ts +23 -7
  10. three/examples/jsm/geometries/DecalGeometry.d.ts +1 -1
  11. three/examples/jsm/materials/LDrawConditionalLineNodeMaterial.d.ts +1 -1
  12. three/examples/jsm/objects/SkyMesh.d.ts +2 -2
  13. three/examples/jsm/objects/Water2Mesh.d.ts +13 -2
  14. three/examples/jsm/objects/WaterMesh.d.ts +11 -2
  15. three/examples/jsm/tsl/display/AfterImageNode.d.ts +2 -1
  16. three/examples/jsm/tsl/display/AnaglyphPassNode.d.ts +1 -1
  17. three/examples/jsm/tsl/display/AnamorphicNode.d.ts +2 -2
  18. three/examples/jsm/tsl/display/BleachBypass.d.ts +2 -1
  19. three/examples/jsm/tsl/display/BloomNode.d.ts +2 -1
  20. three/examples/jsm/tsl/display/DenoiseNode.d.ts +3 -4
  21. three/examples/jsm/tsl/display/DepthOfFieldNode.d.ts +2 -1
  22. three/examples/jsm/tsl/display/DotScreenNode.d.ts +2 -2
  23. three/examples/jsm/tsl/display/FXAANode.d.ts +2 -1
  24. three/examples/jsm/tsl/display/FilmNode.d.ts +2 -1
  25. three/examples/jsm/tsl/display/GTAONode.d.ts +5 -8
  26. three/examples/jsm/tsl/display/GaussianBlurNode.d.ts +2 -2
  27. three/examples/jsm/tsl/display/LensflareNode.d.ts +2 -2
  28. three/examples/jsm/tsl/display/Lut3DNode.d.ts +2 -2
  29. three/examples/jsm/tsl/display/MotionBlur.d.ts +2 -1
  30. three/examples/jsm/tsl/display/OutlineNode.d.ts +2 -2
  31. three/examples/jsm/tsl/display/ParallaxBarrierPassNode.d.ts +1 -1
  32. three/examples/jsm/tsl/display/PixelationPassNode.d.ts +2 -2
  33. three/examples/jsm/tsl/display/RGBShiftNode.d.ts +2 -1
  34. three/examples/jsm/tsl/display/SMAANode.d.ts +2 -1
  35. three/examples/jsm/tsl/display/SSAAPassNode.d.ts +2 -2
  36. three/examples/jsm/tsl/display/SSRNode.d.ts +2 -2
  37. three/examples/jsm/tsl/display/Sepia.d.ts +2 -1
  38. three/examples/jsm/tsl/display/SobelOperatorNode.d.ts +2 -1
  39. three/examples/jsm/tsl/display/StereoCompositePassNode.d.ts +1 -2
  40. three/examples/jsm/tsl/display/StereoPassNode.d.ts +2 -2
  41. three/examples/jsm/tsl/display/TRAAPassNode.d.ts +2 -2
  42. three/examples/jsm/tsl/display/TransitionNode.d.ts +2 -1
  43. three/examples/jsm/tsl/display/hashBlur.d.ts +2 -1
  44. three/examples/jsm/tsl/lighting/TiledLightsNode.d.ts +2 -1
  45. three/package.json +4 -4
  46. three/src/Three.Core.d.ts +158 -0
  47. three/src/Three.TSL.d.ts +528 -0
  48. three/src/Three.WebGPU.Nodes.d.ts +14 -195
  49. three/src/Three.WebGPU.d.ts +13 -195
  50. three/src/Three.d.ts +2 -158
  51. three/src/animation/AnimationClip.d.ts +3 -1
  52. three/src/core/Clock.d.ts +4 -6
  53. three/src/core/InterleavedBuffer.d.ts +12 -0
  54. three/src/materials/Material.d.ts +6 -4
  55. three/src/materials/nodes/LineDashedNodeMaterial.d.ts +3 -0
  56. three/src/materials/nodes/NodeMaterial.d.ts +4 -1
  57. three/src/nodes/Nodes.d.ts +1 -1
  58. three/src/nodes/TSL.d.ts +8 -2
  59. three/src/nodes/accessors/Arrays.d.ts +6 -0
  60. three/src/nodes/accessors/BuiltinNode.d.ts +14 -0
  61. three/src/nodes/accessors/ClippingNode.d.ts +6 -0
  62. three/src/nodes/accessors/InstanceNode.d.ts +15 -3
  63. three/src/nodes/accessors/InstancedMeshNode.d.ts +11 -0
  64. three/src/nodes/accessors/Lights.d.ts +15 -0
  65. three/src/nodes/accessors/StorageBufferNode.d.ts +20 -11
  66. three/src/nodes/accessors/StorageTextureNode.d.ts +5 -3
  67. three/src/nodes/core/IndexNode.d.ts +2 -0
  68. three/src/nodes/core/NodeUtils.d.ts +7 -0
  69. three/src/nodes/core/StackNode.d.ts +6 -1
  70. three/src/nodes/core/constants.d.ts +6 -0
  71. three/src/nodes/display/BlendModes.d.ts +32 -0
  72. three/src/nodes/display/ScreenNode.d.ts +5 -0
  73. three/src/nodes/display/ViewportDepthNode.d.ts +3 -1
  74. three/src/nodes/gpgpu/AtomicFunctionNode.d.ts +88 -0
  75. three/src/nodes/gpgpu/BarrierNode.d.ts +12 -0
  76. three/src/nodes/gpgpu/ComputeBuiltinNode.d.ts +13 -0
  77. three/src/nodes/gpgpu/WorkgroupInfoNode.d.ts +17 -0
  78. three/src/nodes/lighting/AnalyticLightNode.d.ts +11 -0
  79. three/src/nodes/lighting/LightsNode.d.ts +2 -2
  80. three/src/nodes/lighting/PointLightNode.d.ts +3 -0
  81. three/src/nodes/lighting/PointShadowNode.d.ts +30 -0
  82. three/src/nodes/lighting/ShadowNode.d.ts +26 -3
  83. three/src/nodes/math/OperatorNode.d.ts +3 -0
  84. three/src/nodes/tsl/TSLBase.d.ts +5 -0
  85. three/src/nodes/tsl/TSLCore.d.ts +3 -0
  86. three/src/nodes/utils/SplitNode.d.ts +1 -1
  87. three/src/objects/BatchedMesh.d.ts +4 -4
  88. three/src/objects/ClippingGroup.d.ts +41 -0
  89. three/src/renderers/WebGLRenderer.d.ts +2 -0
  90. three/src/renderers/common/Animation.d.ts +11 -4
  91. three/src/renderers/common/ClippingContext.d.ts +16 -14
  92. three/src/renderers/common/RenderList.d.ts +5 -0
  93. three/src/renderers/common/RenderObject.d.ts +8 -4
  94. three/src/renderers/common/RenderObjects.d.ts +3 -0
  95. three/src/renderers/common/Renderer.d.ts +14 -1
  96. three/src/renderers/common/UniformsGroup.d.ts +1 -0
  97. three/src/renderers/common/extras/PMREMGenerator.d.ts +15 -1
  98. three/src/renderers/common/nodes/NodeLibrary.d.ts +2 -4
  99. three/src/renderers/common/nodes/NodeUniform.d.ts +7 -0
  100. three/src/renderers/webgl/WebGLState.d.ts +1 -1
  101. three/src/textures/Data3DTexture.d.ts +4 -2
  102. three/src/textures/DataArrayTexture.d.ts +1 -1
  103. three/src/textures/DataTexture.d.ts +6 -1
  104. three/src/nodes/display/BlendMode.d.ts +0 -10
  105. three/src/nodes/lighting/LightNode.d.ts +0 -18
  106. three/src/textures/types.d.ts +0 -9
@@ -0,0 +1,158 @@
1
+ export * from "./animation/AnimationAction.js";
2
+ export * from "./animation/AnimationClip.js";
3
+ export * from "./animation/AnimationMixer.js";
4
+ export * from "./animation/AnimationObjectGroup.js";
5
+ export { AnimationUtils } from "./animation/AnimationUtils.js";
6
+ export * from "./animation/KeyframeTrack.js";
7
+ export * from "./animation/PropertyBinding.js";
8
+ export * from "./animation/PropertyMixer.js";
9
+ export * from "./animation/tracks/BooleanKeyframeTrack.js";
10
+ export * from "./animation/tracks/ColorKeyframeTrack.js";
11
+ export * from "./animation/tracks/NumberKeyframeTrack.js";
12
+ export * from "./animation/tracks/QuaternionKeyframeTrack.js";
13
+ export * from "./animation/tracks/StringKeyframeTrack.js";
14
+ export * from "./animation/tracks/VectorKeyframeTrack.js";
15
+ export * from "./audio/Audio.js";
16
+ export * from "./audio/AudioAnalyser.js";
17
+ export * from "./audio/AudioContext.js";
18
+ export * from "./audio/AudioListener.js";
19
+ export * from "./audio/PositionalAudio.js";
20
+ export * from "./cameras/ArrayCamera.js";
21
+ export * from "./cameras/Camera.js";
22
+ export * from "./cameras/CubeCamera.js";
23
+ export * from "./cameras/OrthographicCamera.js";
24
+ export * from "./cameras/PerspectiveCamera.js";
25
+ export * from "./cameras/StereoCamera.js";
26
+ export * from "./constants.js";
27
+ export * from "./core/BufferAttribute.js";
28
+ export * from "./core/BufferGeometry.js";
29
+ export * from "./core/Clock.js";
30
+ export * from "./core/EventDispatcher.js";
31
+ export * from "./core/GLBufferAttribute.js";
32
+ export * from "./core/InstancedBufferAttribute.js";
33
+ export * from "./core/InstancedBufferGeometry.js";
34
+ export * from "./core/InstancedInterleavedBuffer.js";
35
+ export * from "./core/InterleavedBuffer.js";
36
+ export * from "./core/InterleavedBufferAttribute.js";
37
+ export * from "./core/Layers.js";
38
+ export * from "./core/Object3D.js";
39
+ export * from "./core/Raycaster.js";
40
+ export * from "./core/RenderTarget.js";
41
+ export * from "./core/Uniform.js";
42
+ export * from "./core/UniformsGroup.js";
43
+ export * from "./extras/Controls.js";
44
+ export * from "./extras/core/Curve.js";
45
+ export * from "./extras/core/CurvePath.js";
46
+ export * from "./extras/core/Path.js";
47
+ export * from "./extras/core/Shape.js";
48
+ export * from "./extras/core/ShapePath.js";
49
+ export * from "./extras/curves/Curves.js";
50
+ export { DataUtils } from "./extras/DataUtils.js";
51
+ export * from "./extras/ImageUtils.js";
52
+ export * from "./extras/ShapeUtils.js";
53
+ export { TextureUtils } from "./extras/TextureUtils.js";
54
+ export * from "./geometries/Geometries.js";
55
+ export * from "./helpers/ArrowHelper.js";
56
+ export * from "./helpers/AxesHelper.js";
57
+ export * from "./helpers/Box3Helper.js";
58
+ export * from "./helpers/BoxHelper.js";
59
+ export * from "./helpers/CameraHelper.js";
60
+ export * from "./helpers/DirectionalLightHelper.js";
61
+ export * from "./helpers/GridHelper.js";
62
+ export * from "./helpers/HemisphereLightHelper.js";
63
+ export * from "./helpers/PlaneHelper.js";
64
+ export * from "./helpers/PointLightHelper.js";
65
+ export * from "./helpers/PolarGridHelper.js";
66
+ export * from "./helpers/SkeletonHelper.js";
67
+ export * from "./helpers/SpotLightHelper.js";
68
+ export * from "./lights/AmbientLight.js";
69
+ export * from "./lights/DirectionalLight.js";
70
+ export type { DirectionalLightShadow } from "./lights/DirectionalLightShadow.js";
71
+ export * from "./lights/HemisphereLight.js";
72
+ export * from "./lights/Light.js";
73
+ export * from "./lights/LightProbe.js";
74
+ export type { LightShadow, LightShadowJSON } from "./lights/LightShadow.js";
75
+ export * from "./lights/PointLight.js";
76
+ export type { PointLightShadow } from "./lights/PointLightShadow.js";
77
+ export * from "./lights/RectAreaLight.js";
78
+ export * from "./lights/SpotLight.js";
79
+ export type { SpotLightShadow } from "./lights/SpotLightShadow.js";
80
+ export * from "./loaders/AnimationLoader.js";
81
+ export * from "./loaders/AudioLoader.js";
82
+ export * from "./loaders/BufferGeometryLoader.js";
83
+ export * from "./loaders/Cache.js";
84
+ export * from "./loaders/CompressedTextureLoader.js";
85
+ export * from "./loaders/CubeTextureLoader.js";
86
+ export * from "./loaders/DataTextureLoader.js";
87
+ export * from "./loaders/FileLoader.js";
88
+ export * from "./loaders/ImageBitmapLoader.js";
89
+ export * from "./loaders/ImageLoader.js";
90
+ export * from "./loaders/Loader.js";
91
+ export * from "./loaders/LoaderUtils.js";
92
+ export * from "./loaders/LoadingManager.js";
93
+ export * from "./loaders/MaterialLoader.js";
94
+ export * from "./loaders/ObjectLoader.js";
95
+ export * from "./loaders/TextureLoader.js";
96
+ export * from "./materials/Materials.js";
97
+ export * from "./math/Box2.js";
98
+ export * from "./math/Box3.js";
99
+ export * from "./math/Color.js";
100
+ export { ColorManagement, ColorSpaceDefinition } from "./math/ColorManagement.js";
101
+ export * from "./math/Cylindrical.js";
102
+ export * from "./math/Euler.js";
103
+ export * from "./math/Frustum.js";
104
+ export * from "./math/Interpolant.js";
105
+ export * from "./math/interpolants/CubicInterpolant.js";
106
+ export * from "./math/interpolants/DiscreteInterpolant.js";
107
+ export * from "./math/interpolants/LinearInterpolant.js";
108
+ export * from "./math/interpolants/QuaternionLinearInterpolant.js";
109
+ export * from "./math/Line3.js";
110
+ export { MathUtils } from "./math/MathUtils.js";
111
+ export * from "./math/Matrix2.js";
112
+ export * from "./math/Matrix3.js";
113
+ export * from "./math/Matrix4.js";
114
+ export * from "./math/Plane.js";
115
+ export * from "./math/Quaternion.js";
116
+ export * from "./math/Ray.js";
117
+ export * from "./math/Sphere.js";
118
+ export * from "./math/Spherical.js";
119
+ export * from "./math/SphericalHarmonics3.js";
120
+ export * from "./math/Triangle.js";
121
+ export * from "./math/Vector2.js";
122
+ export * from "./math/Vector3.js";
123
+ export * from "./math/Vector4.js";
124
+ export * from "./objects/BatchedMesh.js";
125
+ export * from "./objects/Bone.js";
126
+ export * from "./objects/Group.js";
127
+ export * from "./objects/InstancedMesh.js";
128
+ export * from "./objects/Line.js";
129
+ export * from "./objects/LineLoop.js";
130
+ export * from "./objects/LineSegments.js";
131
+ export * from "./objects/LOD.js";
132
+ export * from "./objects/Mesh.js";
133
+ export * from "./objects/Points.js";
134
+ export * from "./objects/Skeleton.js";
135
+ export * from "./objects/SkinnedMesh.js";
136
+ export * from "./objects/Sprite.js";
137
+ export * from "./renderers/WebGL3DRenderTarget.js";
138
+ export * from "./renderers/WebGLArrayRenderTarget.js";
139
+ export * from "./renderers/WebGLCubeRenderTarget.js";
140
+ export * from "./renderers/WebGLRenderTarget.js";
141
+ export * from "./scenes/Fog.js";
142
+ export * from "./scenes/FogExp2.js";
143
+ export * from "./scenes/Scene.js";
144
+ export * from "./textures/CanvasTexture.js";
145
+ export * from "./textures/CompressedArrayTexture.js";
146
+ export * from "./textures/CompressedCubeTexture.js";
147
+ export * from "./textures/CompressedTexture.js";
148
+ export * from "./textures/CubeTexture.js";
149
+ export * from "./textures/Data3DTexture.js";
150
+ export * from "./textures/DataArrayTexture.js";
151
+ export * from "./textures/DataTexture.js";
152
+ export * from "./textures/DepthTexture.js";
153
+ export * from "./textures/FramebufferTexture.js";
154
+ export * from "./textures/Source.js";
155
+ export * from "./textures/Texture.js";
156
+ export * from "./textures/VideoTexture.js";
157
+ export * from "./Three.Legacy.js";
158
+ export { createCanvasElement } from "./utils.js";