@types/three 0.165.0 → 0.167.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 (330) hide show
  1. three/README.md +1 -1
  2. three/build/three.webgpu.d.ts +1 -0
  3. three/build/three.webgpu.min.d.ts +1 -0
  4. three/examples/jsm/Addons.d.ts +1 -1
  5. three/examples/jsm/animation/MMDPhysics.d.ts +4 -4
  6. three/examples/jsm/csm/CSM.d.ts +3 -4
  7. three/examples/jsm/csm/CSMFrustum.d.ts +1 -1
  8. three/examples/jsm/exporters/GLTFExporter.d.ts +6 -0
  9. three/examples/jsm/geometries/TeapotGeometry.d.ts +24 -0
  10. three/examples/jsm/helpers/ViewHelper.d.ts +8 -6
  11. three/examples/jsm/lights/RectAreaLightTexturesLib.d.ts +7 -0
  12. three/examples/jsm/lights/RectAreaLightUniformsLib.d.ts +4 -2
  13. three/examples/jsm/lines/LineMaterial.d.ts +2 -4
  14. three/examples/jsm/lines/webgpu/Line2.d.ts +14 -0
  15. three/examples/jsm/lines/webgpu/LineSegments2.d.ts +15 -0
  16. three/examples/jsm/loaders/DDSLoader.d.ts +8 -2
  17. three/examples/jsm/loaders/GLTFLoader.d.ts +3 -1
  18. three/examples/jsm/loaders/KTX2Loader.d.ts +1 -2
  19. three/examples/jsm/loaders/KTXLoader.d.ts +8 -2
  20. three/examples/jsm/loaders/LUTImageLoader.d.ts +18 -0
  21. three/examples/jsm/loaders/MaterialXLoader.d.ts +1 -2
  22. three/examples/jsm/loaders/PVRLoader.d.ts +2 -2
  23. three/examples/jsm/loaders/UltraHDRLoader.d.ts +21 -0
  24. three/package.json +6 -5
  25. three/src/Three.WebGPU.d.ts +184 -0
  26. three/src/Three.d.ts +26 -91
  27. three/src/animation/AnimationClip.d.ts +12 -4
  28. three/src/animation/AnimationUtils.d.ts +32 -7
  29. three/src/animation/KeyframeTrack.d.ts +9 -1
  30. three/src/animation/PropertyBinding.d.ts +12 -12
  31. three/src/cameras/OrthographicCamera.d.ts +27 -0
  32. three/src/cameras/PerspectiveCamera.d.ts +31 -0
  33. three/src/constants.d.ts +13 -1
  34. three/src/core/BufferAttribute.d.ts +11 -6
  35. three/src/core/BufferGeometry.d.ts +26 -3
  36. three/src/core/InterleavedBufferAttribute.d.ts +3 -3
  37. three/src/core/Object3D.d.ts +51 -6
  38. three/src/extras/DataUtils.d.ts +9 -2
  39. three/src/extras/ImageUtils.d.ts +6 -7
  40. three/src/extras/ShapeUtils.d.ts +5 -8
  41. three/src/extras/TextureUtils.d.ts +42 -0
  42. three/src/extras/core/Curve.d.ts +8 -2
  43. three/src/extras/core/CurvePath.d.ts +9 -1
  44. three/src/extras/core/Path.d.ts +9 -2
  45. three/src/extras/core/Shape.d.ts +9 -1
  46. three/src/lights/Light.d.ts +19 -2
  47. three/src/lights/LightShadow.d.ts +18 -2
  48. three/src/lights/webgpu/IESSpotLight.d.ts +6 -0
  49. three/src/loaders/Cache.d.ts +13 -8
  50. three/src/materials/Material.d.ts +185 -14
  51. three/src/materials/ShaderMaterial.d.ts +49 -2
  52. three/src/math/ColorManagement.d.ts +3 -0
  53. three/src/math/Euler.d.ts +4 -2
  54. three/src/math/Matrix2.d.ts +53 -0
  55. three/src/math/Matrix3.d.ts +67 -115
  56. three/src/math/Matrix4.d.ts +48 -100
  57. three/src/math/Quaternion.d.ts +5 -3
  58. three/src/math/Vector2.d.ts +1 -1
  59. three/src/math/Vector4.d.ts +6 -0
  60. three/{examples/jsm → src}/nodes/Nodes.d.ts +37 -7
  61. three/{examples/jsm → src}/nodes/accessors/BatchNode.d.ts +1 -1
  62. three/{examples/jsm → src}/nodes/accessors/BufferAttributeNode.d.ts +5 -1
  63. three/{examples/jsm → src}/nodes/accessors/CameraNode.d.ts +3 -1
  64. three/{examples/jsm → src}/nodes/accessors/CubeTextureNode.d.ts +11 -3
  65. three/{examples/jsm → src}/nodes/accessors/InstanceNode.d.ts +1 -1
  66. three/{examples/jsm → src}/nodes/accessors/MaterialNode.d.ts +11 -2
  67. three/{examples/jsm → src}/nodes/accessors/MaterialReferenceNode.d.ts +1 -1
  68. three/{examples/jsm → src}/nodes/accessors/ModelNode.d.ts +1 -1
  69. three/{examples/jsm → src}/nodes/accessors/NormalNode.d.ts +3 -3
  70. three/{examples/jsm → src}/nodes/accessors/Object3DNode.d.ts +1 -1
  71. three/{examples/jsm → src}/nodes/accessors/ReflectVectorNode.d.ts +3 -0
  72. three/{examples/jsm → src}/nodes/accessors/SkinningNode.d.ts +1 -1
  73. three/{examples/jsm → src}/nodes/accessors/StorageBufferNode.d.ts +7 -0
  74. three/src/nodes/accessors/StorageTextureNode.d.ts +40 -0
  75. three/{examples/jsm → src}/nodes/accessors/Texture3DNode.d.ts +3 -2
  76. three/{examples/jsm → src}/nodes/accessors/TextureNode.d.ts +9 -2
  77. three/{examples/jsm → src}/nodes/core/CacheNode.d.ts +4 -5
  78. three/{examples/jsm → src}/nodes/core/IndexNode.d.ts +3 -1
  79. three/{examples/jsm → src}/nodes/core/LightingModel.d.ts +12 -3
  80. three/src/nodes/core/MRTNode.d.ts +19 -0
  81. three/{examples/jsm → src}/nodes/core/Node.d.ts +6 -10
  82. three/{examples/jsm → src}/nodes/core/NodeBuilder.d.ts +13 -3
  83. three/{examples/jsm → src}/nodes/core/NodeCache.d.ts +13 -4
  84. three/{examples/jsm → src}/nodes/core/NodeFrame.d.ts +5 -2
  85. three/{examples/jsm → src}/nodes/core/NodeFunction.d.ts +2 -2
  86. three/{examples/jsm → src}/nodes/core/NodeUniform.d.ts +1 -1
  87. three/{examples/jsm → src}/nodes/core/NodeUtils.d.ts +6 -1
  88. three/{examples/jsm → src}/nodes/core/PropertyNode.d.ts +1 -0
  89. three/{examples/jsm → src}/nodes/core/UniformNode.d.ts +2 -0
  90. three/{examples/jsm → src}/nodes/core/VarNode.d.ts +2 -0
  91. three/{examples/jsm → src}/nodes/display/AnamorphicNode.d.ts +1 -1
  92. three/src/nodes/display/BloomNode.d.ts +35 -0
  93. three/{examples/jsm → src}/nodes/display/ColorAdjustmentNode.d.ts +0 -1
  94. three/{examples/jsm → src}/nodes/display/ColorSpaceNode.d.ts +1 -1
  95. three/src/nodes/display/DenoiseNode.d.ts +38 -0
  96. three/src/nodes/display/DepthOfFieldNode.d.ts +30 -0
  97. three/src/nodes/display/DotScreenNode.d.ts +27 -0
  98. three/src/nodes/display/FXAANode.d.ts +19 -0
  99. three/src/nodes/display/FilmNode.d.ts +25 -0
  100. three/src/nodes/display/GTAONode.d.ts +46 -0
  101. three/{examples/jsm → src}/nodes/display/GaussianBlurNode.d.ts +8 -5
  102. three/src/nodes/display/Lut3DNode.d.ts +30 -0
  103. three/{examples/jsm → src}/nodes/display/NormalMapNode.d.ts +1 -2
  104. three/src/nodes/display/PassNode.d.ts +62 -0
  105. three/src/nodes/display/PixelationPassNode.d.ts +67 -0
  106. three/src/nodes/display/RGBShiftNode.d.ts +24 -0
  107. three/src/nodes/display/RenderOutputNode.d.ts +28 -0
  108. three/src/nodes/display/SobelOperatorNode.d.ts +17 -0
  109. three/{examples/jsm → src}/nodes/display/ToneMappingNode.d.ts +1 -1
  110. three/src/nodes/display/TransitionNode.d.ts +41 -0
  111. three/{examples/jsm → src}/nodes/display/ViewportDepthNode.d.ts +4 -6
  112. three/{examples/jsm → src}/nodes/display/ViewportTextureNode.d.ts +1 -1
  113. three/src/nodes/functions/BSDF/LTC.d.ts +9 -0
  114. three/{examples/jsm → src}/nodes/functions/BSDF/V_GGX_SmithCorrelated_Anisotropic.d.ts +1 -1
  115. three/src/nodes/functions/BasicLightingModel.d.ts +7 -0
  116. three/src/nodes/functions/PhongLightingModel.d.ts +7 -0
  117. three/{examples/jsm → src}/nodes/geometry/RangeNode.d.ts +4 -1
  118. three/{examples/jsm → src}/nodes/lighting/AnalyticLightNode.d.ts +1 -1
  119. three/src/nodes/lighting/BasicEnvironmentNode.d.ts +10 -0
  120. three/src/nodes/lighting/BasicLightMapNode.d.ts +8 -0
  121. three/{examples/jsm → src}/nodes/lighting/HemisphereLightNode.d.ts +1 -1
  122. three/{examples/jsm → src}/nodes/lighting/LightingNode.d.ts +2 -0
  123. three/{examples/jsm → src}/nodes/lighting/LightsNode.d.ts +1 -1
  124. three/{examples/jsm → src}/nodes/lighting/PointLightNode.d.ts +1 -1
  125. three/src/nodes/lighting/RectAreaLightNode.d.ts +21 -0
  126. three/{examples/jsm → src}/nodes/lighting/SpotLightNode.d.ts +1 -1
  127. three/{examples/jsm → src}/nodes/loaders/NodeLoader.d.ts +3 -1
  128. three/{examples/jsm → src}/nodes/loaders/NodeMaterialLoader.d.ts +1 -1
  129. three/{examples/jsm → src}/nodes/loaders/NodeObjectLoader.d.ts +3 -1
  130. three/src/nodes/materials/Line2NodeMaterial.d.ts +53 -0
  131. three/{examples/jsm → src}/nodes/materials/LineBasicNodeMaterial.d.ts +3 -1
  132. three/{examples/jsm → src}/nodes/materials/Materials.d.ts +2 -1
  133. three/{examples/jsm → src}/nodes/materials/MeshBasicNodeMaterial.d.ts +5 -1
  134. three/{examples/jsm → src}/nodes/materials/MeshMatcapNodeMaterial.d.ts +5 -1
  135. three/{examples/jsm → src}/nodes/materials/MeshNormalNodeMaterial.d.ts +4 -1
  136. three/{examples/jsm → src}/nodes/materials/MeshPhongNodeMaterial.d.ts +8 -4
  137. three/{examples/jsm → src}/nodes/materials/MeshPhysicalNodeMaterial.d.ts +21 -20
  138. three/src/nodes/materials/MeshSSSNodeMaterial.d.ts +16 -0
  139. three/{examples/jsm → src}/nodes/materials/MeshStandardNodeMaterial.d.ts +9 -5
  140. three/{examples/jsm → src}/nodes/materials/MeshToonNodeMaterial.d.ts +5 -1
  141. three/{examples/jsm → src}/nodes/materials/NodeMaterial.d.ts +54 -49
  142. three/{examples/jsm → src}/nodes/materials/PointsNodeMaterial.d.ts +3 -1
  143. three/{examples/jsm → src}/nodes/materials/ShadowNodeMaterial.d.ts +2 -1
  144. three/{examples/jsm → src}/nodes/materials/SpriteNodeMaterial.d.ts +5 -4
  145. three/{examples/jsm → src}/nodes/materialx/lib/mx_hsv.d.ts +1 -0
  146. three/src/nodes/materialx/lib/mx_noise.d.ts +359 -0
  147. three/{examples/jsm → src}/nodes/math/MathNode.d.ts +9 -1
  148. three/{examples/jsm → src}/nodes/pmrem/PMREMNode.d.ts +1 -1
  149. three/{examples/jsm → src}/nodes/utils/DiscardNode.d.ts +1 -0
  150. three/{examples/jsm → src}/nodes/utils/MaxMipLevelNode.d.ts +3 -3
  151. three/src/nodes/utils/PackingNode.d.ts +24 -0
  152. three/src/nodes/utils/RTTNode.d.ts +45 -0
  153. three/{examples/jsm → src}/nodes/utils/ReflectorNode.d.ts +3 -1
  154. three/src/objects/BatchedMesh.d.ts +58 -54
  155. three/src/objects/InstancedMesh.d.ts +15 -2
  156. three/src/objects/LOD.d.ts +17 -1
  157. three/src/objects/Mesh.d.ts +11 -1
  158. three/src/objects/Points.d.ts +0 -3
  159. three/src/objects/Skeleton.d.ts +10 -3
  160. three/src/objects/SkinnedMesh.d.ts +15 -3
  161. three/{examples/jsm → src}/renderers/common/Animation.d.ts +0 -1
  162. three/{examples/jsm → src}/renderers/common/Attributes.d.ts +4 -2
  163. three/{examples/jsm → src}/renderers/common/Backend.d.ts +1 -1
  164. three/{examples/jsm → src}/renderers/common/Background.d.ts +2 -1
  165. three/src/renderers/common/BindGroup.d.ts +9 -0
  166. three/{examples/jsm → src}/renderers/common/Bindings.d.ts +11 -14
  167. three/{examples/jsm → src}/renderers/common/ClippingContext.d.ts +6 -1
  168. three/{examples/jsm → src}/renderers/common/Color4.d.ts +1 -1
  169. three/{examples/jsm → src}/renderers/common/CubeRenderTarget.d.ts +4 -1
  170. three/{examples/jsm → src}/renderers/common/Geometries.d.ts +6 -3
  171. three/{examples/jsm → src}/renderers/common/Info.d.ts +7 -2
  172. three/{examples/jsm → src}/renderers/common/PostProcessing.d.ts +9 -1
  173. three/{examples/jsm/objects → src/renderers/common}/QuadMesh.d.ts +4 -2
  174. three/{examples/jsm → src}/renderers/common/RenderBundle.d.ts +2 -1
  175. three/{examples/jsm → src}/renderers/common/RenderBundles.d.ts +2 -1
  176. three/{examples/jsm → src}/renderers/common/RenderContext.d.ts +4 -1
  177. three/{examples/jsm → src}/renderers/common/RenderContexts.d.ts +3 -1
  178. three/{examples/jsm → src}/renderers/common/RenderList.d.ts +5 -1
  179. three/{examples/jsm → src}/renderers/common/RenderLists.d.ts +2 -1
  180. three/{examples/jsm → src}/renderers/common/RenderObject.d.ts +19 -16
  181. three/{examples/jsm → src}/renderers/common/RenderObjects.d.ts +5 -2
  182. three/{examples/jsm → src}/renderers/common/Renderer.d.ts +41 -29
  183. three/src/renderers/common/SampledTexture.d.ts +27 -0
  184. three/src/renderers/common/Sampler.d.ts +11 -0
  185. three/{examples/jsm → src}/renderers/common/StorageBufferAttribute.d.ts +1 -1
  186. three/{examples/jsm → src}/renderers/common/StorageInstancedBufferAttribute.d.ts +2 -1
  187. three/{examples/jsm → src}/renderers/common/StorageTexture.d.ts +1 -1
  188. three/{examples/jsm → src}/renderers/common/Textures.d.ts +4 -1
  189. three/{examples/jsm → src}/renderers/common/Uniform.d.ts +9 -4
  190. three/{examples/jsm → src}/renderers/common/UniformsGroup.d.ts +4 -2
  191. three/{examples/jsm → src}/renderers/common/extras/PMREMGenerator.d.ts +2 -1
  192. three/{examples/jsm → src}/renderers/common/nodes/NodeBuilderState.d.ts +8 -4
  193. three/src/renderers/common/nodes/NodeSampledTexture.d.ts +29 -0
  194. three/src/renderers/common/nodes/NodeSampler.d.ts +12 -0
  195. three/{examples/jsm → src}/renderers/common/nodes/NodeUniform.d.ts +10 -5
  196. three/{examples/jsm → src}/renderers/common/nodes/NodeUniformsGroup.d.ts +1 -3
  197. three/{examples/jsm → src}/renderers/common/nodes/Nodes.d.ts +22 -8
  198. three/src/renderers/shaders/ShaderLib.d.ts +3 -1
  199. three/src/renderers/shaders/UniformsLib.d.ts +3 -0
  200. three/src/renderers/shaders/UniformsUtils.d.ts +6 -3
  201. three/{examples/jsm/renderers/webgl → src/renderers/webgl-fallback}/WebGLBackend.d.ts +1 -1
  202. three/{examples/jsm → src}/renderers/webgpu/WebGPUBackend.d.ts +1 -1
  203. three/src/renderers/webgpu/nodes/WGSLNodeBuilder.d.ts +125 -0
  204. three/src/renderers/webgpu/nodes/WGSLNodeFunction.d.ts +6 -0
  205. three/src/renderers/webgpu/nodes/WGSLNodeParser.d.ts +6 -0
  206. three/src/renderers/webgpu/utils/WebGPUConstants.d.ts +328 -0
  207. three/src/renderers/webxr/WebXRDepthSensing.d.ts +2 -0
  208. three/src/renderers/webxr/WebXRManager.d.ts +33 -23
  209. three/src/scenes/Fog.d.ts +7 -24
  210. three/src/scenes/FogExp2.d.ts +9 -3
  211. three/src/scenes/Scene.d.ts +21 -5
  212. three/src/textures/CompressedArrayTexture.d.ts +4 -4
  213. three/src/textures/CompressedTexture.d.ts +16 -8
  214. three/src/textures/Source.d.ts +15 -1
  215. three/src/textures/Texture.d.ts +40 -2
  216. three/examples/jsm/deprecated/Geometry.d.ts +0 -341
  217. three/examples/jsm/lights/IESSpotLight.d.ts +0 -5
  218. three/examples/jsm/nodes/display/PassNode.d.ts +0 -46
  219. three/examples/jsm/nodes/functions/PhongLightingModel.d.ts +0 -7
  220. three/examples/jsm/nodes/materials/MeshSSSNodeMaterial.d.ts +0 -17
  221. three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +0 -129
  222. three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +0 -17
  223. three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +0 -37
  224. three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +0 -3
  225. /three/{examples/jsm → src}/nodes/accessors/AccessorsUtils.d.ts +0 -0
  226. /three/{examples/jsm → src}/nodes/accessors/BitangentNode.d.ts +0 -0
  227. /three/{examples/jsm → src}/nodes/accessors/BufferNode.d.ts +0 -0
  228. /three/{examples/jsm → src}/nodes/accessors/ClippingNode.d.ts +0 -0
  229. /three/{examples/jsm → src}/nodes/accessors/ModelViewProjectionNode.d.ts +0 -0
  230. /three/{examples/jsm → src}/nodes/accessors/PointUVNode.d.ts +0 -0
  231. /three/{examples/jsm → src}/nodes/accessors/PositionNode.d.ts +0 -0
  232. /three/{examples/jsm → src}/nodes/accessors/ReferenceNode.d.ts +0 -0
  233. /three/{examples/jsm → src}/nodes/accessors/RendererReferenceNode.d.ts +0 -0
  234. /three/{examples/jsm → src}/nodes/accessors/TangentNode.d.ts +0 -0
  235. /three/{examples/jsm → src}/nodes/accessors/TextureBicubicNode.d.ts +0 -0
  236. /three/{examples/jsm → src}/nodes/accessors/UVNode.d.ts +0 -0
  237. /three/{examples/jsm → src}/nodes/accessors/UniformsNode.d.ts +0 -0
  238. /three/{examples/jsm → src}/nodes/accessors/UserDataNode.d.ts +0 -0
  239. /three/{examples/jsm → src}/nodes/accessors/VertexColorNode.d.ts +0 -0
  240. /three/{examples/jsm → src}/nodes/code/CodeNode.d.ts +0 -0
  241. /three/{examples/jsm → src}/nodes/code/ExpressionNode.d.ts +0 -0
  242. /three/{examples/jsm → src}/nodes/code/FunctionCallNode.d.ts +0 -0
  243. /three/{examples/jsm → src}/nodes/code/FunctionNode.d.ts +0 -0
  244. /three/{examples/jsm → src}/nodes/core/AssignNode.d.ts +0 -0
  245. /three/{examples/jsm → src}/nodes/core/AttributeNode.d.ts +0 -0
  246. /three/{examples/jsm → src}/nodes/core/BypassNode.d.ts +0 -0
  247. /three/{examples/jsm → src}/nodes/core/ConstNode.d.ts +0 -0
  248. /three/{examples/jsm → src}/nodes/core/ContextNode.d.ts +0 -0
  249. /three/{examples/jsm → src}/nodes/core/InputNode.d.ts +0 -0
  250. /three/{examples/jsm → src}/nodes/core/NodeAttribute.d.ts +0 -0
  251. /three/{examples/jsm → src}/nodes/core/NodeCode.d.ts +0 -0
  252. /three/{examples/jsm → src}/nodes/core/NodeFunctionInput.d.ts +0 -0
  253. /three/{examples/jsm → src}/nodes/core/NodeKeywords.d.ts +0 -0
  254. /three/{examples/jsm → src}/nodes/core/NodeParser.d.ts +0 -0
  255. /three/{examples/jsm → src}/nodes/core/NodeVar.d.ts +0 -0
  256. /three/{examples/jsm → src}/nodes/core/NodeVarying.d.ts +0 -0
  257. /three/{examples/jsm → src}/nodes/core/OutputStructNode.d.ts +0 -0
  258. /three/{examples/jsm → src}/nodes/core/StackNode.d.ts +0 -0
  259. /three/{examples/jsm → src}/nodes/core/StructTypeNode.d.ts +0 -0
  260. /three/{examples/jsm → src}/nodes/core/TempNode.d.ts +0 -0
  261. /three/{examples/jsm → src}/nodes/core/UniformGroup.d.ts +0 -0
  262. /three/{examples/jsm → src}/nodes/core/UniformGroupNode.d.ts +0 -0
  263. /three/{examples/jsm → src}/nodes/core/VaryingNode.d.ts +0 -0
  264. /three/{examples/jsm → src}/nodes/core/constants.d.ts +0 -0
  265. /three/{examples/jsm → src}/nodes/display/AfterImageNode.d.ts +0 -0
  266. /three/{examples/jsm → src}/nodes/display/BlendModeNode.d.ts +0 -0
  267. /three/{examples/jsm → src}/nodes/display/FrontFacingNode.d.ts +0 -0
  268. /three/{examples/jsm → src}/nodes/display/PosterizeNode.d.ts +0 -0
  269. /three/{examples/jsm → src}/nodes/display/ViewportDepthTextureNode.d.ts +0 -0
  270. /three/{examples/jsm → src}/nodes/display/ViewportNode.d.ts +0 -0
  271. /three/{examples/jsm → src}/nodes/display/ViewportSharedTextureNode.d.ts +0 -0
  272. /three/{examples/jsm → src}/nodes/fog/FogExp2Node.d.ts +0 -0
  273. /three/{examples/jsm → src}/nodes/fog/FogNode.d.ts +0 -0
  274. /three/{examples/jsm → src}/nodes/fog/FogRangeNode.d.ts +0 -0
  275. /three/{examples/jsm → src}/nodes/functions/BSDF/BRDF_GGX.d.ts +0 -0
  276. /three/{examples/jsm → src}/nodes/functions/BSDF/BRDF_Lambert.d.ts +0 -0
  277. /three/{examples/jsm → src}/nodes/functions/BSDF/BRDF_Sheen.d.ts +0 -0
  278. /three/{examples/jsm → src}/nodes/functions/BSDF/DFGApprox.d.ts +0 -0
  279. /three/{examples/jsm → src}/nodes/functions/BSDF/D_GGX.d.ts +0 -0
  280. /three/{examples/jsm → src}/nodes/functions/BSDF/D_GGX_Anisotropic.d.ts +0 -0
  281. /three/{examples/jsm → src}/nodes/functions/BSDF/F_Schlick.d.ts +0 -0
  282. /three/{examples/jsm → src}/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +0 -0
  283. /three/{examples/jsm → src}/nodes/functions/PhysicalLightingModel.d.ts +0 -0
  284. /three/{examples/jsm → src}/nodes/functions/ShadowMaskModel.d.ts +0 -0
  285. /three/{examples/jsm → src}/nodes/functions/ToonLightingModel.d.ts +0 -0
  286. /three/{examples/jsm → src}/nodes/functions/material/getGeometryRoughness.d.ts +0 -0
  287. /three/{examples/jsm → src}/nodes/functions/material/getRoughness.d.ts +0 -0
  288. /three/{examples/jsm → src}/nodes/gpgpu/ComputeNode.d.ts +0 -0
  289. /three/{examples/jsm → src}/nodes/lighting/AONode.d.ts +0 -0
  290. /three/{examples/jsm → src}/nodes/lighting/EnvironmentNode.d.ts +0 -0
  291. /three/{examples/jsm → src}/nodes/lighting/IrradianceNode.d.ts +0 -0
  292. /three/{examples/jsm → src}/nodes/lighting/LightUtils.d.ts +0 -0
  293. /three/{examples/jsm → src}/nodes/lighting/LightingContextNode.d.ts +0 -0
  294. /three/{examples/jsm → src}/nodes/materials/VolumeNodeMaterial.d.ts +0 -0
  295. /three/{examples/jsm → src}/nodes/materialx/MaterialXNodes.d.ts +0 -0
  296. /three/{examples/jsm → src}/nodes/materialx/lib/mx_transform_color.d.ts +0 -0
  297. /three/{examples/jsm → src}/nodes/math/CondNode.d.ts +0 -0
  298. /three/{examples/jsm → src}/nodes/math/HashNode.d.ts +0 -0
  299. /three/{examples/jsm → src}/nodes/math/MathUtils.d.ts +0 -0
  300. /three/{examples/jsm → src}/nodes/math/OperatorNode.d.ts +0 -0
  301. /three/{examples/jsm → src}/nodes/math/TriNoise3D.d.ts +0 -0
  302. /three/{examples/jsm → src}/nodes/procedural/CheckerNode.d.ts +0 -0
  303. /three/{examples/jsm → src}/nodes/shadernode/ShaderNode.d.ts +0 -0
  304. /three/{examples/jsm → src}/nodes/utils/ArrayElementNode.d.ts +0 -0
  305. /three/{examples/jsm → src}/nodes/utils/ConvertNode.d.ts +0 -0
  306. /three/{examples/jsm → src}/nodes/utils/EquirectUVNode.d.ts +0 -0
  307. /three/{examples/jsm → src}/nodes/utils/JoinNode.d.ts +0 -0
  308. /three/{examples/jsm → src}/nodes/utils/MatcapUVNode.d.ts +0 -0
  309. /three/{examples/jsm → src}/nodes/utils/OscNode.d.ts +0 -0
  310. /three/{examples/jsm → src}/nodes/utils/RemapNode.d.ts +0 -0
  311. /three/{examples/jsm → src}/nodes/utils/RotateNode.d.ts +0 -0
  312. /three/{examples/jsm → src}/nodes/utils/RotateUVNode.d.ts +0 -0
  313. /three/{examples/jsm → src}/nodes/utils/SplitNode.d.ts +0 -0
  314. /three/{examples/jsm → src}/nodes/utils/SpriteSheetUVNode.d.ts +0 -0
  315. /three/{examples/jsm → src}/nodes/utils/StoargeArrayElementNode.d.ts +0 -0
  316. /three/{examples/jsm → src}/nodes/utils/TimerNode.d.ts +0 -0
  317. /three/{examples/jsm → src}/nodes/utils/TriplanarTexturesNode.d.ts +0 -0
  318. /three/{examples/jsm → src}/renderers/common/Binding.d.ts +0 -0
  319. /three/{examples/jsm → src}/renderers/common/Buffer.d.ts +0 -0
  320. /three/{examples/jsm → src}/renderers/common/BufferUtils.d.ts +0 -0
  321. /three/{examples/jsm → src}/renderers/common/ChainMap.d.ts +0 -0
  322. /three/{examples/jsm → src}/renderers/common/ComputePipeline.d.ts +0 -0
  323. /three/{examples/jsm → src}/renderers/common/Constants.d.ts +0 -0
  324. /three/{examples/jsm → src}/renderers/common/DataMap.d.ts +0 -0
  325. /three/{examples/jsm → src}/renderers/common/Pipeline.d.ts +0 -0
  326. /three/{examples/jsm → src}/renderers/common/Pipelines.d.ts +0 -0
  327. /three/{examples/jsm → src}/renderers/common/ProgrammableStage.d.ts +0 -0
  328. /three/{examples/jsm → src}/renderers/common/RenderPipeline.d.ts +0 -0
  329. /three/{examples/jsm → src}/renderers/common/UniformBuffer.d.ts +0 -0
  330. /three/{examples/jsm → src}/renderers/webgpu/WebGPURenderer.d.ts +0 -0
three/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains type definitions for three (https://threejs.org/).
8
8
  Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three.
9
9
 
10
10
  ### Additional Details
11
- * Last updated: Fri, 31 May 2024 15:07:05 GMT
11
+ * Last updated: Thu, 25 Jul 2024 16:38:56 GMT
12
12
  * Dependencies: [@tweenjs/tween.js](https://npmjs.com/package/@tweenjs/tween.js), [@types/stats.js](https://npmjs.com/package/@types/stats.js), [@types/webxr](https://npmjs.com/package/@types/webxr), [fflate](https://npmjs.com/package/fflate), [meshoptimizer](https://npmjs.com/package/meshoptimizer)
13
13
 
14
14
  # Credits
@@ -0,0 +1 @@
1
+ export * from "../src/Three.WebGPU.js";
@@ -0,0 +1 @@
1
+ export * from "../src/Three.WebGPU.js";
@@ -71,7 +71,6 @@ export * from "./interactive/InteractiveGroup.js";
71
71
  export * from "./interactive/SelectionBox.js";
72
72
  export * from "./interactive/SelectionHelper.js";
73
73
 
74
- export { default as IESSpotLight } from "./lights/IESSpotLight.js";
75
74
  export * from "./lights/LightProbeGenerator.js";
76
75
  export * from "./lights/RectAreaLightUniformsLib.js";
77
76
 
@@ -125,6 +124,7 @@ export * from "./loaders/TGALoader.js";
125
124
  export * from "./loaders/TIFFLoader.js";
126
125
  export * from "./loaders/TiltLoader.js";
127
126
  export * from "./loaders/TTFLoader.js";
127
+ export * from "./loaders/UltraHDRLoader.js";
128
128
  export * from "./loaders/USDZLoader.js";
129
129
  export * from "./loaders/VOXLoader.js";
130
130
  export * from "./loaders/VRMLLoader.js";
@@ -1,4 +1,4 @@
1
- import { Bone, Euler, Matrix4, Object3D, Quaternion, SkinnedMesh, Vector3 } from "three";
1
+ import { Bone, Euler, Matrix4, MeshBasicMaterial, Object3D, Quaternion, SkinnedMesh, Vector3 } from "three";
2
2
 
3
3
  export interface MMDPhysicsParameter {
4
4
  unitStep?: number | undefined;
@@ -115,10 +115,10 @@ export class Constraint {
115
115
  }
116
116
 
117
117
  export class MMDPhysicsHelper extends Object3D {
118
- mesh: THREE.SkinnedMesh;
118
+ mesh: SkinnedMesh;
119
119
  physics: MMDPhysics;
120
- materials: [THREE.MeshBasicMaterial, THREE.MeshBasicMaterial, THREE.MeshBasicMaterial];
120
+ materials: [MeshBasicMaterial, MeshBasicMaterial, MeshBasicMaterial];
121
121
 
122
- constructor(mesh: THREE.SkinnedMesh, physics: MMDPhysics);
122
+ constructor(mesh: SkinnedMesh, physics: MMDPhysics);
123
123
  dispose(): void;
124
124
  }
@@ -1,4 +1,5 @@
1
1
  import { Camera, DirectionalLight, Material, Object3D, Vector2, Vector3 } from "three";
2
+ import { CSMFrustum } from "./CSMFrustum.js";
2
3
 
3
4
  export type CSMMode = "uniform" | "logarithmic" | "practical" | "custom";
4
5
 
@@ -34,8 +35,8 @@ export class CSM {
34
35
  lightMargin: number;
35
36
  customSplitsCallback: (cascades: number, cameraNear: number, cameraFar: number, breaks: number[]) => void;
36
37
  fade: boolean;
37
- mainFrustum: CSMFrustrum;
38
- frustums: CSMFrustrum[];
38
+ mainFrustum: CSMFrustum;
39
+ frustums: CSMFrustum[];
39
40
  breaks: number[];
40
41
  lights: DirectionalLight[];
41
42
  shaders: Map<unknown, string>;
@@ -52,5 +53,3 @@ export class CSM {
52
53
  remove(): void;
53
54
  dispose(): void;
54
55
  }
55
-
56
- import CSMFrustrum from "./CSMFrustum.js";
@@ -10,7 +10,7 @@ export interface CSMFrustumParameters {
10
10
  maxFar?: number;
11
11
  }
12
12
 
13
- export default class CSMFrustum {
13
+ export class CSMFrustum {
14
14
  constructor(data?: CSMFrustumParameters);
15
15
  vertices: CSMFrustumVerticies;
16
16
  setFromProjectionMatrix(projectionMatrix: Matrix4, maxFar: number): CSMFrustumVerticies;
@@ -82,6 +82,12 @@ export class GLTFExporter {
82
82
  options?: GLTFExporterOptions,
83
83
  ): void;
84
84
 
85
+ /**
86
+ * Generates a .gltf (JSON) or .glb (binary) output from the input (Scenes or Objects).
87
+ *
88
+ * This is just like the {@link parse}() method, but instead of accepting callbacks it returns a promise that
89
+ * resolves with the result, and otherwise accepts the same options.
90
+ */
85
91
  parseAsync(
86
92
  input: Object3D | Object3D[],
87
93
  options?: GLTFExporterOptions,
@@ -1,6 +1,30 @@
1
1
  import { BufferGeometry } from "three";
2
2
 
3
+ /**
4
+ * {@link TeapotGeometry} tesselates the famous Utah teapot database by Martin Newell.
5
+ *
6
+ * {@link TeapotGeometry} is an add-on, and must be imported explicitly. See
7
+ * [Installation / Addons]{@link https://threejs.org/docs/#manual/en/introduction/Installation}.
8
+ *
9
+ * @example
10
+ * import { TeapotGeometry } from 'three/addons/geometries/TeapotGeometry.js';
11
+ *
12
+ * const geometry = new TeapotGeometry( 50, 18 );
13
+ * const material = new THREE.MeshBasicMaterial( { color: 0x00ff00 } );
14
+ * const teapot = new THREE.Mesh( geometry, material );
15
+ * scene.add( teapot );
16
+ */
3
17
  export class TeapotGeometry extends BufferGeometry {
18
+ /**
19
+ * @param size Relative scale of the teapot. Optional; Defaults to `50`.
20
+ * @param segments Number of line segments to subdivide each patch edge. Optional; Defaults to `10`.
21
+ * @param bottom Whether the bottom of the teapot is generated or not. Optional; Defaults to `true`.
22
+ * @param lid Whether the lid is generated or not. Optional; Defaults to `true`.
23
+ * @param body Whether the body is generated or not. Optional; Defaults to `true`.
24
+ * @param fitLid Whether the lid is slightly stretched to prevent gaps between the body and lid or not. Optional;
25
+ * Defaults to `true`.
26
+ * @param blinn Whether the teapot is scaled vertically for better aesthetics or not. Optional; Defaults to `true`.
27
+ */
4
28
  constructor(
5
29
  size?: number,
6
30
  segments?: number,
@@ -1,15 +1,17 @@
1
1
  import { Camera, Object3D, Vector3, WebGLRenderer } from "three";
2
2
 
3
3
  export class ViewHelper extends Object3D {
4
+ readonly isViewHelper: true;
5
+
4
6
  animating: boolean;
5
7
  center: Vector3;
6
8
 
7
- readonly isViewHelper: true;
9
+ render: (renderer: WebGLRenderer) => void;
10
+ handleClick: (event: MouseEvent) => boolean;
11
+ setLabels: (labelX?: string, labelY?: string, labelZ?: string) => void;
12
+ setLabelStyle: (font?: string, color?: string, radius?: number) => void;
13
+ update: (delta: number) => void;
14
+ dispose: () => void;
8
15
 
9
16
  constructor(camera: Camera, domElement: HTMLElement);
10
-
11
- render(renderer: WebGLRenderer): void;
12
- handleClick(event: MouseEvent): boolean;
13
- update(delta: number): void;
14
- dispose(): void;
15
17
  }
@@ -0,0 +1,7 @@
1
+ import { RectAreaLightTexturesLib as RectAreaLightTexturesLibInterface } from "three/webgpu";
2
+
3
+ declare class RectAreaLightTexturesLib {
4
+ static init(): RectAreaLightTexturesLibInterface;
5
+ }
6
+
7
+ export { RectAreaLightTexturesLib };
@@ -1,3 +1,5 @@
1
- export namespace RectAreaLightUniformsLib {
2
- function init(): void;
1
+ declare class RectAreaLightUniformsLib {
2
+ static init(): void;
3
3
  }
4
+
5
+ export { RectAreaLightUniformsLib };
@@ -1,6 +1,6 @@
1
- import { Color, ColorRepresentation, MaterialParameters, ShaderMaterial, Vector2 } from "three";
1
+ import { Color, ColorRepresentation, ShaderMaterial, ShaderMaterialParameters, Vector2 } from "three";
2
2
 
3
- export interface LineMaterialParameters extends MaterialParameters {
3
+ export interface LineMaterialParameters extends ShaderMaterialParameters {
4
4
  alphaToCoverage?: boolean | undefined;
5
5
  color?: ColorRepresentation | undefined;
6
6
  dashed?: boolean | undefined;
@@ -8,9 +8,7 @@ export interface LineMaterialParameters extends MaterialParameters {
8
8
  dashSize?: number | undefined;
9
9
  dashOffset?: number | undefined;
10
10
  gapSize?: number | undefined;
11
- linewidth?: number | undefined;
12
11
  resolution?: Vector2 | undefined;
13
- wireframe?: boolean | undefined;
14
12
  worldUnits?: boolean | undefined;
15
13
  }
16
14
 
@@ -0,0 +1,14 @@
1
+ import { Line2NodeMaterial } from "three/webgpu";
2
+ import { LineGeometry } from "../LineGeometry.js";
3
+ import { LineSegments2 } from "./LineSegments2.js";
4
+
5
+ declare class Line2 extends LineSegments2 {
6
+ geometry: LineGeometry;
7
+ material: Line2NodeMaterial;
8
+
9
+ readonly isLine2: true;
10
+
11
+ constructor(geometry?: LineGeometry, material?: Line2NodeMaterial);
12
+ }
13
+
14
+ export { Line2 };
@@ -0,0 +1,15 @@
1
+ import { Line2NodeMaterial, Mesh } from "three/webgpu";
2
+ import { LineSegmentsGeometry } from "../LineSegmentsGeometry.js";
3
+
4
+ declare class LineSegments2 extends Mesh {
5
+ geometry: LineSegmentsGeometry;
6
+ material: Line2NodeMaterial;
7
+
8
+ readonly isLineSegments2: true;
9
+
10
+ constructor(geometry?: LineSegmentsGeometry, material?: Line2NodeMaterial);
11
+
12
+ computeLineDistances(): this;
13
+ }
14
+
15
+ export { LineSegments2 };
@@ -1,7 +1,13 @@
1
- import { CompressedPixelFormat, CompressedTextureLoader, LoadingManager, PixelFormat } from "three";
1
+ import {
2
+ CompressedPixelFormat,
3
+ CompressedTextureLoader,
4
+ CompressedTextureMipmap,
5
+ LoadingManager,
6
+ PixelFormat,
7
+ } from "three";
2
8
 
3
9
  export interface DDS {
4
- mipmaps: object[];
10
+ mipmaps: CompressedTextureMipmap[];
5
11
  width: number;
6
12
  height: number;
7
13
  format: PixelFormat | CompressedPixelFormat;
@@ -3,6 +3,7 @@ import {
3
3
  BufferAttribute,
4
4
  BufferGeometry,
5
5
  Camera,
6
+ ColorSpace,
6
7
  FileLoader,
7
8
  Group,
8
9
  ImageBitmapLoader,
@@ -112,7 +113,8 @@ export class GLTFParser {
112
113
  texCoord?: number | undefined;
113
114
  extensions?: any;
114
115
  },
115
- ) => Promise<void>;
116
+ colorSpace?: ColorSpace | undefined,
117
+ ) => Promise<Texture | null>;
116
118
  assignFinalMaterial: (object: Mesh) => void;
117
119
  getMaterialType: () => typeof MeshStandardMaterial;
118
120
  loadMaterial: (materialIndex: number) => Promise<Material>;
@@ -1,6 +1,5 @@
1
1
  import { CompressedTexture, Loader, LoadingManager, WebGLRenderer } from "three";
2
- import Renderer from "../renderers/common/Renderer.js";
3
- import WebGPURenderer from "../renderers/webgpu/WebGPURenderer.js";
2
+ import { Renderer, WebGPURenderer } from "three/webgpu";
4
3
  import { WorkerPool } from "../utils/WorkerPool.js";
5
4
 
6
5
  export interface KTX2LoaderWorkerConfig {
@@ -1,7 +1,13 @@
1
- import { CompressedPixelFormat, CompressedTextureLoader, LoadingManager, PixelFormat } from "three";
1
+ import {
2
+ CompressedPixelFormat,
3
+ CompressedTextureLoader,
4
+ CompressedTextureMipmap,
5
+ LoadingManager,
6
+ PixelFormat,
7
+ } from "three";
2
8
 
3
9
  export interface KTX {
4
- mipmaps: object[];
10
+ mipmaps: CompressedTextureMipmap[];
5
11
  width: number;
6
12
  height: number;
7
13
  format: PixelFormat | CompressedPixelFormat;
@@ -0,0 +1,18 @@
1
+ import { Data3DTexture, Loader, Texture } from "three";
2
+
3
+ export interface LUTImageResult {
4
+ size: number;
5
+ texture3D: Data3DTexture;
6
+ }
7
+
8
+ export class LUTImageLoader extends Loader<LUTImageResult> {
9
+ flip: boolean;
10
+
11
+ constructor(flipVertical?: boolean);
12
+
13
+ getImageData(texture: Texture): ImageData;
14
+
15
+ horz2Vert(texture: Texture): ImageData;
16
+
17
+ parse(dataArray: Uint8ClampedArray, size: number): LUTImageResult;
18
+ }
@@ -1,5 +1,4 @@
1
- import { Loader, LoadingManager } from "three";
2
- import { MeshPhysicalNodeMaterial } from "../nodes/Nodes.js";
1
+ import { Loader, LoadingManager, MeshPhysicalNodeMaterial } from "three/webgpu";
3
2
 
4
3
  export class MaterialXLoader extends Loader<{ materials: Record<string, MeshPhysicalNodeMaterial> }> {
5
4
  constructor(manager?: LoadingManager);
@@ -1,7 +1,7 @@
1
- import { CompressedPixelFormat, CompressedTextureLoader, LoadingManager } from "three";
1
+ import { CompressedPixelFormat, CompressedTextureLoader, CompressedTextureMipmap, LoadingManager } from "three";
2
2
 
3
3
  export interface PVR {
4
- mipmaps: object[];
4
+ mipmaps: CompressedTextureMipmap[];
5
5
  width: number;
6
6
  height: number;
7
7
  format: CompressedPixelFormat;
@@ -0,0 +1,21 @@
1
+ import { DataTexture, Loader, LoadingManager, RGBAFormat, TextureDataType } from "three";
2
+
3
+ interface UltraHDRLoaderTextureData {
4
+ width: number;
5
+ height: number;
6
+ hdrBuffer: Uint16Array | Float32Array;
7
+ format: typeof RGBAFormat;
8
+ type: TextureDataType;
9
+ }
10
+
11
+ declare class UltraHDRLoader extends Loader<DataTexture> {
12
+ type: TextureDataType;
13
+
14
+ constructor(manager?: LoadingManager);
15
+
16
+ setDataType(value: TextureDataType): this;
17
+
18
+ parse(buffer: ArrayBuffer, onLoad: (texData: UltraHDRLoaderTextureData) => void): void;
19
+ }
20
+
21
+ export { UltraHDRLoader };
three/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/three",
3
- "version": "0.165.0",
3
+ "version": "0.167.0",
4
4
  "description": "TypeScript definitions for three",
5
5
  "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/three",
6
6
  "license": "MIT",
@@ -29,7 +29,8 @@
29
29
  "./addons": "./examples/jsm/Addons.js",
30
30
  "./addons/*": "./examples/jsm/*",
31
31
  "./src/*": "./src/*",
32
- "./nodes": "./examples/jsm/nodes/Nodes.js",
32
+ "./webgpu": "./build/three.webgpu.js",
33
+ "./tsl": "./build/three.webgpu.js",
33
34
  "./package.json": "./package.json"
34
35
  },
35
36
  "repository": {
@@ -39,12 +40,12 @@
39
40
  },
40
41
  "scripts": {},
41
42
  "dependencies": {
42
- "@tweenjs/tween.js": "~23.1.1",
43
+ "@tweenjs/tween.js": "~23.1.2",
43
44
  "@types/stats.js": "*",
44
45
  "@types/webxr": "*",
45
46
  "fflate": "~0.8.2",
46
47
  "meshoptimizer": "~0.18.1"
47
48
  },
48
- "typesPublisherContentHash": "49d047af400101035815c93fc592aa882a686de2432be990ac9df6ee209b2854",
49
- "typeScriptVersion": "4.7"
49
+ "typesPublisherContentHash": "64cc1fbbe012005408aa3b8f80f321515263a64bcadd30466fba345def0de5b1",
50
+ "typeScriptVersion": "4.8"
50
51
  }
@@ -0,0 +1,184 @@
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/core/Curve.js";
44
+ export * from "./extras/core/CurvePath.js";
45
+ export * from "./extras/core/Path.js";
46
+ export * from "./extras/core/Shape.js";
47
+ export * from "./extras/core/ShapePath.js";
48
+ export * from "./extras/curves/Curves.js";
49
+ export { DataUtils } from "./extras/DataUtils.js";
50
+ export * from "./extras/ImageUtils.js";
51
+ // export * from "./extras/PMREMGenerator.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 * from "./lights/HemisphereLight.js";
71
+ export * from "./lights/Light.js";
72
+ export * from "./lights/LightProbe.js";
73
+ export * from "./lights/PointLight.js";
74
+ export * from "./lights/RectAreaLight.js";
75
+ export * from "./lights/SpotLight.js";
76
+ export * from "./loaders/AnimationLoader.js";
77
+ export * from "./loaders/AudioLoader.js";
78
+ export * from "./loaders/BufferGeometryLoader.js";
79
+ export * from "./loaders/Cache.js";
80
+ export * from "./loaders/CompressedTextureLoader.js";
81
+ export * from "./loaders/CubeTextureLoader.js";
82
+ export * from "./loaders/DataTextureLoader.js";
83
+ export * from "./loaders/FileLoader.js";
84
+ export * from "./loaders/ImageBitmapLoader.js";
85
+ export * from "./loaders/ImageLoader.js";
86
+ export * from "./loaders/Loader.js";
87
+ export * from "./loaders/LoaderUtils.js";
88
+ export * from "./loaders/LoadingManager.js";
89
+ export * from "./loaders/MaterialLoader.js";
90
+ export * from "./loaders/ObjectLoader.js";
91
+ export * from "./loaders/TextureLoader.js";
92
+ export * from "./materials/Materials.js";
93
+ export * from "./math/Box2.js";
94
+ export * from "./math/Box3.js";
95
+ export * from "./math/Color.js";
96
+ export { ColorManagement, DefinedColorSpace, WorkingColorSpace } from "./math/ColorManagement.js";
97
+ export * from "./math/Cylindrical.js";
98
+ export * from "./math/Euler.js";
99
+ export * from "./math/Frustum.js";
100
+ export * from "./math/Interpolant.js";
101
+ export * from "./math/interpolants/CubicInterpolant.js";
102
+ export * from "./math/interpolants/DiscreteInterpolant.js";
103
+ export * from "./math/interpolants/LinearInterpolant.js";
104
+ export * from "./math/interpolants/QuaternionLinearInterpolant.js";
105
+ export * from "./math/Line3.js";
106
+ export { MathUtils } from "./math/MathUtils.js";
107
+ export * from "./math/Matrix2.js";
108
+ export * from "./math/Matrix3.js";
109
+ export * from "./math/Matrix4.js";
110
+ export * from "./math/Plane.js";
111
+ export * from "./math/Quaternion.js";
112
+ export * from "./math/Ray.js";
113
+ export * from "./math/Sphere.js";
114
+ export * from "./math/Spherical.js";
115
+ export * from "./math/SphericalHarmonics3.js";
116
+ export * from "./math/Triangle.js";
117
+ export * from "./math/Vector2.js";
118
+ export * from "./math/Vector3.js";
119
+ export * from "./math/Vector4.js";
120
+ export * from "./objects/BatchedMesh.js";
121
+ export * from "./objects/Bone.js";
122
+ export * from "./objects/Group.js";
123
+ export * from "./objects/InstancedMesh.js";
124
+ export * from "./objects/Line.js";
125
+ export * from "./objects/LineLoop.js";
126
+ export * from "./objects/LineSegments.js";
127
+ export * from "./objects/LOD.js";
128
+ export * from "./objects/Mesh.js";
129
+ export * from "./objects/Points.js";
130
+ export * from "./objects/Skeleton.js";
131
+ export * from "./objects/SkinnedMesh.js";
132
+ export * from "./objects/Sprite.js";
133
+ // export * from "./renderers/shaders/ShaderChunk.js";
134
+ // export * from "./renderers/shaders/ShaderLib.js";
135
+ // export * from "./renderers/shaders/UniformsLib.js";
136
+ // export { UniformsUtils } from './renderers/shaders/UniformsUtils.js';
137
+ export type { WebGLProgramParameters, WebGLProgramParametersWithUniforms } from "./renderers/webgl/WebGLPrograms.js";
138
+ export type { WebGLShadowMap } from "./renderers/webgl/WebGLShadowMap.js";
139
+ // export * from "./renderers/webgl/WebGLUtils.js";
140
+ export * from "./renderers/WebGL3DRenderTarget.js";
141
+ export * from "./renderers/WebGLArrayRenderTarget.js";
142
+ export * from "./renderers/WebGLCubeRenderTarget.js";
143
+ // export * from "./renderers/WebGLRenderer.js";
144
+ export * from "./renderers/WebGLRenderTarget.js";
145
+ export type {
146
+ WebXRController,
147
+ WebXRSpaceEventMap,
148
+ XRControllerEventType,
149
+ XRGripSpace,
150
+ XRHandInputState,
151
+ XRHandJoints,
152
+ XRHandSpace,
153
+ XRJointSpace,
154
+ XRTargetRaySpace,
155
+ } from "./renderers/webxr/WebXRController.js";
156
+ export * from "./scenes/Fog.js";
157
+ export * from "./scenes/FogExp2.js";
158
+ export * from "./scenes/Scene.js";
159
+ export * from "./textures/CanvasTexture.js";
160
+ export * from "./textures/CompressedArrayTexture.js";
161
+ export * from "./textures/CompressedCubeTexture.js";
162
+ export * from "./textures/CompressedTexture.js";
163
+ export * from "./textures/CubeTexture.js";
164
+ export * from "./textures/Data3DTexture.js";
165
+ export * from "./textures/DataArrayTexture.js";
166
+ export * from "./textures/DataTexture.js";
167
+ export * from "./textures/DepthTexture.js";
168
+ export * from "./textures/FramebufferTexture.js";
169
+ export * from "./textures/Source.js";
170
+ export * from "./textures/Texture.js";
171
+ export * from "./textures/VideoTexture.js";
172
+ export * from "./Three.Legacy.js";
173
+ export { createCanvasElement } from "./utils.js";
174
+
175
+ export { default as IESSpotLight } from "./lights/webgpu/IESSpotLight.js";
176
+ export * from "./nodes/Nodes.js";
177
+ export { default as PMREMGenerator } from "./renderers/common/extras/PMREMGenerator.js";
178
+ export { default as PostProcessing } from "./renderers/common/PostProcessing.js";
179
+ export { default as QuadMesh } from "./renderers/common/QuadMesh.js";
180
+ export type { default as Renderer } from "./renderers/common/Renderer.js";
181
+ export { default as StorageBufferAttribute } from "./renderers/common/StorageBufferAttribute.js";
182
+ export { default as StorageInstancedBufferAttribute } from "./renderers/common/StorageInstancedBufferAttribute.js";
183
+ export { default as StorageTexture } from "./renderers/common/StorageTexture.js";
184
+ export { default as WebGPURenderer } from "./renderers/webgpu/WebGPURenderer.js";