@types/three 0.153.0 → 0.155.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 (597) hide show
  1. three/README.md +2 -2
  2. three/build/three.d.cts +1 -1
  3. three/build/three.d.ts +1 -1
  4. three/build/three.min.d.ts +1 -1
  5. three/build/three.module.d.ts +1 -1
  6. three/build/three.module.min.d.ts +1 -1
  7. three/examples/jsm/animation/AnimationClipCreator.d.ts +1 -1
  8. three/examples/jsm/animation/CCDIKSolver.d.ts +1 -1
  9. three/examples/jsm/animation/MMDAnimationHelper.d.ts +3 -3
  10. three/examples/jsm/animation/MMDPhysics.d.ts +1 -1
  11. three/examples/jsm/cameras/CinematicCamera.d.ts +2 -2
  12. three/examples/jsm/capabilities/WebGL.d.ts +7 -8
  13. three/examples/jsm/controls/ArcballControls.d.ts +6 -1
  14. three/examples/jsm/controls/DragControls.d.ts +1 -1
  15. three/examples/jsm/controls/FirstPersonControls.d.ts +1 -1
  16. three/examples/jsm/controls/FlyControls.d.ts +6 -6
  17. three/examples/jsm/controls/MapControls.d.ts +2 -2
  18. three/examples/jsm/controls/OrbitControls.d.ts +7 -1
  19. three/examples/jsm/controls/PointerLockControls.d.ts +1 -1
  20. three/examples/jsm/controls/TrackballControls.d.ts +1 -1
  21. three/examples/jsm/controls/TransformControls.d.ts +1 -1
  22. three/examples/jsm/csm/CSM.d.ts +7 -12
  23. three/examples/jsm/csm/CSMFrustum.d.ts +1 -1
  24. three/examples/jsm/csm/CSMHelper.d.ts +2 -2
  25. three/examples/jsm/curves/CurveExtras.d.ts +1 -1
  26. three/examples/jsm/curves/NURBSCurve.d.ts +1 -1
  27. three/examples/jsm/curves/NURBSSurface.d.ts +1 -1
  28. three/examples/jsm/curves/NURBSUtils.d.ts +1 -1
  29. three/examples/jsm/deprecated/Geometry.d.ts +1 -1
  30. three/examples/jsm/effects/AnaglyphEffect.d.ts +1 -1
  31. three/examples/jsm/effects/AsciiEffect.d.ts +1 -1
  32. three/examples/jsm/effects/OutlineEffect.d.ts +9 -1
  33. three/examples/jsm/effects/ParallaxBarrierEffect.d.ts +1 -1
  34. three/examples/jsm/effects/PeppersGhostEffect.d.ts +1 -1
  35. three/examples/jsm/effects/StereoEffect.d.ts +1 -1
  36. three/examples/jsm/environments/RoomEnvironment.d.ts +2 -2
  37. three/examples/jsm/exporters/DRACOExporter.d.ts +1 -1
  38. three/examples/jsm/exporters/EXRExporter.d.ts +1 -1
  39. three/examples/jsm/exporters/GLTFExporter.d.ts +1 -1
  40. three/examples/jsm/exporters/KTX2Exporter.d.ts +1 -1
  41. three/examples/jsm/exporters/MMDExporter.d.ts +1 -1
  42. three/examples/jsm/exporters/OBJExporter.d.ts +1 -1
  43. three/examples/jsm/exporters/PLYExporter.d.ts +1 -1
  44. three/examples/jsm/exporters/STLExporter.d.ts +1 -1
  45. three/examples/jsm/exporters/USDZExporter.d.ts +6 -2
  46. three/examples/jsm/geometries/BoxLineGeometry.d.ts +1 -1
  47. three/examples/jsm/geometries/ConvexGeometry.d.ts +1 -1
  48. three/examples/jsm/geometries/DecalGeometry.d.ts +1 -1
  49. three/examples/jsm/geometries/ParametricGeometries.d.ts +2 -2
  50. three/examples/jsm/geometries/ParametricGeometry.d.ts +1 -1
  51. three/examples/jsm/geometries/RoundedBoxGeometry.d.ts +1 -1
  52. three/examples/jsm/geometries/TeapotGeometry.d.ts +1 -1
  53. three/examples/jsm/geometries/TextGeometry.d.ts +2 -2
  54. three/examples/jsm/helpers/LightProbeHelper.d.ts +1 -1
  55. three/examples/jsm/helpers/OctreeHelper.d.ts +2 -2
  56. three/examples/jsm/helpers/PositionalAudioHelper.d.ts +1 -1
  57. three/examples/jsm/helpers/RectAreaLightHelper.d.ts +1 -1
  58. three/examples/jsm/helpers/VertexNormalsHelper.d.ts +1 -1
  59. three/examples/jsm/helpers/VertexTangentsHelper.d.ts +1 -1
  60. three/examples/jsm/helpers/ViewHelper.d.ts +1 -1
  61. three/examples/jsm/interactive/HTMLMesh.d.ts +2 -2
  62. three/examples/jsm/interactive/SelectionBox.d.ts +1 -1
  63. three/examples/jsm/interactive/SelectionHelper.d.ts +1 -1
  64. three/examples/jsm/libs/meshopt_decoder.module.d.ts +1 -0
  65. three/examples/jsm/libs/stats.module.d.ts +1 -1
  66. three/examples/jsm/lights/LightProbeGenerator.d.ts +1 -1
  67. three/examples/jsm/lines/Line2.d.ts +3 -3
  68. three/examples/jsm/lines/LineGeometry.d.ts +2 -2
  69. three/examples/jsm/lines/LineMaterial.d.ts +1 -1
  70. three/examples/jsm/lines/LineSegments2.d.ts +3 -3
  71. three/examples/jsm/lines/LineSegmentsGeometry.d.ts +1 -1
  72. three/examples/jsm/lines/Wireframe.d.ts +3 -3
  73. three/examples/jsm/lines/WireframeGeometry2.d.ts +2 -2
  74. three/examples/jsm/loaders/3DMLoader.d.ts +1 -1
  75. three/examples/jsm/loaders/3MFLoader.d.ts +1 -1
  76. three/examples/jsm/loaders/AMFLoader.d.ts +1 -1
  77. three/examples/jsm/loaders/BVHLoader.d.ts +1 -1
  78. three/examples/jsm/loaders/BasisTextureLoader.d.ts +1 -1
  79. three/examples/jsm/loaders/ColladaLoader.d.ts +1 -1
  80. three/examples/jsm/loaders/DDSLoader.d.ts +1 -1
  81. three/examples/jsm/loaders/DRACOLoader.d.ts +1 -1
  82. three/examples/jsm/loaders/EXRLoader.d.ts +7 -1
  83. three/examples/jsm/loaders/FBXLoader.d.ts +1 -1
  84. three/examples/jsm/loaders/FontLoader.d.ts +1 -1
  85. three/examples/jsm/loaders/GCodeLoader.d.ts +1 -1
  86. three/examples/jsm/loaders/GLTFLoader.d.ts +3 -3
  87. three/examples/jsm/loaders/HDRCubeTextureLoader.d.ts +2 -2
  88. three/examples/jsm/loaders/IFCLoader.d.ts +1 -1
  89. three/examples/jsm/loaders/KMZLoader.d.ts +2 -2
  90. three/examples/jsm/loaders/KTX2Loader.d.ts +1 -1
  91. three/examples/jsm/loaders/KTXLoader.d.ts +1 -1
  92. three/examples/jsm/loaders/LDrawLoader.d.ts +1 -1
  93. three/examples/jsm/loaders/LUT3dlLoader.d.ts +1 -1
  94. three/examples/jsm/loaders/LUTCubeLoader.d.ts +1 -1
  95. three/examples/jsm/loaders/LWOLoader.d.ts +1 -1
  96. three/examples/jsm/loaders/LogLuvLoader.d.ts +1 -1
  97. three/examples/jsm/loaders/LottieLoader.d.ts +1 -1
  98. three/examples/jsm/loaders/MD2Loader.d.ts +1 -1
  99. three/examples/jsm/loaders/MDDLoader.d.ts +1 -1
  100. three/examples/jsm/loaders/MMDLoader.d.ts +1 -1
  101. three/examples/jsm/loaders/MTLLoader.d.ts +1 -1
  102. three/examples/jsm/loaders/NRRDLoader.d.ts +2 -2
  103. three/examples/jsm/loaders/OBJLoader.d.ts +2 -2
  104. three/examples/jsm/loaders/PCDLoader.d.ts +1 -1
  105. three/examples/jsm/loaders/PDBLoader.d.ts +1 -1
  106. three/examples/jsm/loaders/PLYLoader.d.ts +1 -1
  107. three/examples/jsm/loaders/PVRLoader.d.ts +1 -1
  108. three/examples/jsm/loaders/RGBELoader.d.ts +1 -1
  109. three/examples/jsm/loaders/RGBMLoader.d.ts +1 -1
  110. three/examples/jsm/loaders/STLLoader.d.ts +1 -1
  111. three/examples/jsm/loaders/SVGLoader.d.ts +1 -1
  112. three/examples/jsm/loaders/TDSLoader.d.ts +1 -1
  113. three/examples/jsm/loaders/TGALoader.d.ts +1 -1
  114. three/examples/jsm/loaders/TTFLoader.d.ts +1 -1
  115. three/examples/jsm/loaders/TiltLoader.d.ts +1 -1
  116. three/examples/jsm/loaders/USDZLoader.d.ts +1 -1
  117. three/examples/jsm/loaders/VOXLoader.d.ts +1 -1
  118. three/examples/jsm/loaders/VRMLLoader.d.ts +1 -1
  119. three/examples/jsm/loaders/VTKLoader.d.ts +1 -1
  120. three/examples/jsm/loaders/XYZLoader.d.ts +1 -1
  121. three/examples/jsm/materials/MeshGouraudMaterial.d.ts +1 -1
  122. three/examples/jsm/math/Capsule.d.ts +1 -1
  123. three/examples/jsm/math/ColorConverter.d.ts +1 -1
  124. three/examples/jsm/math/ConvexHull.d.ts +1 -1
  125. three/examples/jsm/math/Lut.d.ts +1 -1
  126. three/examples/jsm/math/MeshSurfaceSampler.d.ts +9 -3
  127. three/examples/jsm/math/OBB.d.ts +1 -1
  128. three/examples/jsm/math/Octree.d.ts +2 -2
  129. three/examples/jsm/misc/ConvexObjectBreaker.d.ts +1 -1
  130. three/examples/jsm/misc/GPUComputationRenderer.d.ts +1 -1
  131. three/examples/jsm/misc/Gyroscope.d.ts +1 -1
  132. three/examples/jsm/misc/MD2Character.d.ts +1 -1
  133. three/examples/jsm/misc/MD2CharacterComplex.d.ts +1 -1
  134. three/examples/jsm/misc/MorphAnimMesh.d.ts +1 -1
  135. three/examples/jsm/misc/MorphBlendMesh.d.ts +1 -1
  136. three/examples/jsm/misc/ProgressiveLightMap.d.ts +1 -1
  137. three/examples/jsm/misc/RollerCoaster.d.ts +10 -5
  138. three/examples/jsm/misc/TubePainter.d.ts +1 -1
  139. three/examples/jsm/misc/Volume.d.ts +3 -3
  140. three/examples/jsm/misc/VolumeSlice.d.ts +2 -2
  141. three/examples/jsm/modifiers/CurveModifier.d.ts +1 -1
  142. three/examples/jsm/modifiers/EdgeSplitModifier.d.ts +1 -1
  143. three/examples/jsm/modifiers/SimplifyModifier.d.ts +1 -1
  144. three/examples/jsm/modifiers/TessellateModifier.d.ts +1 -1
  145. three/examples/jsm/nodes/Nodes.d.ts +104 -105
  146. three/examples/jsm/nodes/accessors/BitangentNode.d.ts +1 -1
  147. three/examples/jsm/nodes/accessors/BufferNode.d.ts +2 -2
  148. three/examples/jsm/nodes/accessors/CameraNode.d.ts +1 -1
  149. three/examples/jsm/nodes/accessors/CubeTextureNode.d.ts +3 -3
  150. three/examples/jsm/nodes/accessors/InstanceNode.d.ts +2 -2
  151. three/examples/jsm/nodes/accessors/MaterialNode.d.ts +1 -1
  152. three/examples/jsm/nodes/accessors/MaterialReferenceNode.d.ts +2 -2
  153. three/examples/jsm/nodes/accessors/ModelNode.d.ts +2 -2
  154. three/examples/jsm/nodes/accessors/ModelViewProjectionNode.d.ts +2 -2
  155. three/examples/jsm/nodes/accessors/NormalNode.d.ts +1 -1
  156. three/examples/jsm/nodes/accessors/Object3DNode.d.ts +2 -2
  157. three/examples/jsm/nodes/accessors/PointUVNode.d.ts +1 -1
  158. three/examples/jsm/nodes/accessors/PositionNode.d.ts +1 -1
  159. three/examples/jsm/nodes/accessors/ReferenceNode.d.ts +2 -2
  160. three/examples/jsm/nodes/accessors/ReflectVectorNode.d.ts +1 -1
  161. three/examples/jsm/nodes/accessors/SkinningNode.d.ts +2 -2
  162. three/examples/jsm/nodes/accessors/StorageBufferNode.d.ts +2 -2
  163. three/examples/jsm/nodes/accessors/TextureNode.d.ts +3 -3
  164. three/examples/jsm/nodes/accessors/UVNode.d.ts +1 -1
  165. three/examples/jsm/nodes/accessors/UserDataNode.d.ts +2 -2
  166. three/examples/jsm/nodes/code/CodeNode.d.ts +2 -2
  167. three/examples/jsm/nodes/code/ExpressionNode.d.ts +2 -2
  168. three/examples/jsm/nodes/code/FunctionCallNode.d.ts +3 -3
  169. three/examples/jsm/nodes/code/FunctionNode.d.ts +6 -6
  170. three/examples/jsm/nodes/core/ArrayUniformNode.d.ts +2 -2
  171. three/examples/jsm/nodes/core/AttributeNode.d.ts +3 -3
  172. three/examples/jsm/nodes/core/BypassNode.d.ts +1 -1
  173. three/examples/jsm/nodes/core/CacheNode.d.ts +2 -2
  174. three/examples/jsm/nodes/core/ConstNode.d.ts +3 -3
  175. three/examples/jsm/nodes/core/ContextNode.d.ts +2 -2
  176. three/examples/jsm/nodes/core/InputNode.d.ts +3 -3
  177. three/examples/jsm/nodes/core/Node.d.ts +3 -3
  178. three/examples/jsm/nodes/core/NodeBuilder.d.ts +12 -12
  179. three/examples/jsm/nodes/core/NodeCache.d.ts +2 -2
  180. three/examples/jsm/nodes/core/NodeFrame.d.ts +2 -2
  181. three/examples/jsm/nodes/core/NodeFunction.d.ts +1 -1
  182. three/examples/jsm/nodes/core/NodeKeywords.d.ts +2 -2
  183. three/examples/jsm/nodes/core/NodeParser.d.ts +1 -1
  184. three/examples/jsm/nodes/core/NodeUniform.d.ts +2 -2
  185. three/examples/jsm/nodes/core/NodeUtils.d.ts +2 -2
  186. three/examples/jsm/nodes/core/NodeVarying.d.ts +1 -1
  187. three/examples/jsm/nodes/core/PropertyNode.d.ts +2 -2
  188. three/examples/jsm/nodes/core/StackNode.d.ts +1 -1
  189. three/examples/jsm/nodes/core/TempNode.d.ts +3 -3
  190. three/examples/jsm/nodes/core/UniformNode.d.ts +3 -3
  191. three/examples/jsm/nodes/core/VarNode.d.ts +2 -2
  192. three/examples/jsm/nodes/core/VaryingNode.d.ts +1 -1
  193. three/examples/jsm/nodes/core/constants.d.ts +1 -1
  194. three/examples/jsm/nodes/display/BlendModeNode.d.ts +3 -3
  195. three/examples/jsm/nodes/display/ColorAdjustmentNode.d.ts +2 -2
  196. three/examples/jsm/nodes/display/ColorSpaceNode.d.ts +9 -6
  197. three/examples/jsm/nodes/display/FrontFacingNode.d.ts +1 -1
  198. three/examples/jsm/nodes/display/NormalMapNode.d.ts +3 -3
  199. three/examples/jsm/nodes/display/PosterizeNode.d.ts +1 -1
  200. three/examples/jsm/nodes/display/ToneMappingNode.d.ts +3 -3
  201. three/examples/jsm/nodes/display/ViewportNode.d.ts +1 -1
  202. three/examples/jsm/nodes/fog/FogExp2Node.d.ts +2 -2
  203. three/examples/jsm/nodes/fog/FogNode.d.ts +1 -1
  204. three/examples/jsm/nodes/fog/FogRangeNode.d.ts +2 -2
  205. three/examples/jsm/nodes/functions/BSDF/BRDF_GGX.d.ts +2 -2
  206. three/examples/jsm/nodes/functions/BSDF/BRDF_Lambert.d.ts +2 -2
  207. three/examples/jsm/nodes/functions/BSDF/DFGApprox.d.ts +2 -2
  208. three/examples/jsm/nodes/functions/BSDF/D_GGX.d.ts +2 -2
  209. three/examples/jsm/nodes/functions/BSDF/F_Schlick.d.ts +2 -2
  210. three/examples/jsm/nodes/functions/BSDF/V_GGX_SmithCorrelated.d.ts +2 -2
  211. three/examples/jsm/nodes/functions/PhysicalLightingModel.d.ts +2 -2
  212. three/examples/jsm/nodes/functions/material/getGeometryRoughness.d.ts +1 -1
  213. three/examples/jsm/nodes/functions/material/getRoughness.d.ts +2 -2
  214. three/examples/jsm/nodes/geometry/RangeNode.d.ts +3 -3
  215. three/examples/jsm/nodes/gpgpu/ComputeNode.d.ts +1 -1
  216. three/examples/jsm/nodes/lighting/AONode.d.ts +2 -2
  217. three/examples/jsm/nodes/lighting/AnalyticLightNode.d.ts +3 -3
  218. three/examples/jsm/nodes/lighting/EnvironmentNode.d.ts +2 -2
  219. three/examples/jsm/nodes/lighting/HemisphereLightNode.d.ts +4 -4
  220. three/examples/jsm/nodes/lighting/LightUtils.d.ts +2 -2
  221. three/examples/jsm/nodes/lighting/LightingContextNode.d.ts +3 -3
  222. three/examples/jsm/nodes/lighting/LightingNode.d.ts +1 -1
  223. three/examples/jsm/nodes/lighting/LightsNode.d.ts +3 -3
  224. three/examples/jsm/nodes/lighting/PointLightNode.d.ts +3 -3
  225. three/examples/jsm/nodes/lighting/SpotLightNode.d.ts +3 -3
  226. three/examples/jsm/nodes/loaders/NodeLoader.d.ts +2 -2
  227. three/examples/jsm/nodes/loaders/NodeMaterialLoader.d.ts +2 -2
  228. three/examples/jsm/nodes/loaders/NodeObjectLoader.d.ts +3 -5
  229. three/examples/jsm/nodes/materials/LineBasicNodeMaterial.d.ts +2 -2
  230. three/examples/jsm/nodes/materials/Materials.d.ts +7 -7
  231. three/examples/jsm/nodes/materials/MeshBasicNodeMaterial.d.ts +2 -2
  232. three/examples/jsm/nodes/materials/MeshPhysicalNodeMaterial.d.ts +3 -3
  233. three/examples/jsm/nodes/materials/MeshStandardNodeMaterial.d.ts +3 -3
  234. three/examples/jsm/nodes/materials/NodeMaterial.d.ts +4 -4
  235. three/examples/jsm/nodes/materials/PointsNodeMaterial.d.ts +3 -3
  236. three/examples/jsm/nodes/materials/SpriteNodeMaterial.d.ts +4 -4
  237. three/examples/jsm/nodes/materialx/MaterialXNodes.d.ts +4 -4
  238. three/examples/jsm/nodes/materialx/lib/mx_hsv.d.ts +1 -1
  239. three/examples/jsm/nodes/materialx/lib/mx_noise.d.ts +1 -1
  240. three/examples/jsm/nodes/math/CondNode.d.ts +1 -1
  241. three/examples/jsm/nodes/math/MathNode.d.ts +2 -2
  242. three/examples/jsm/nodes/math/OperatorNode.d.ts +2 -2
  243. three/examples/jsm/nodes/procedural/CheckerNode.d.ts +1 -1
  244. three/examples/jsm/nodes/shadernode/ShaderNode.d.ts +1 -1
  245. three/examples/jsm/nodes/shadernode/ShaderNodeBaseElements.d.ts +9 -11
  246. three/examples/jsm/nodes/shadernode/ShaderNodeElements.d.ts +16 -16
  247. three/examples/jsm/nodes/utils/ArrayElementNode.d.ts +2 -2
  248. three/examples/jsm/nodes/utils/ConvertNode.d.ts +2 -2
  249. three/examples/jsm/nodes/utils/EquirectUVNode.d.ts +2 -2
  250. three/examples/jsm/nodes/utils/JoinNode.d.ts +2 -2
  251. three/examples/jsm/nodes/utils/MatcapUVNode.d.ts +1 -1
  252. three/examples/jsm/nodes/utils/MaxMipLevelNode.d.ts +3 -3
  253. three/examples/jsm/nodes/utils/OscNode.d.ts +1 -1
  254. three/examples/jsm/nodes/utils/RemapNode.d.ts +1 -1
  255. three/examples/jsm/nodes/utils/RotateUVNode.d.ts +2 -2
  256. three/examples/jsm/nodes/utils/SpecularMIPLevelNode.d.ts +1 -1
  257. three/examples/jsm/nodes/utils/SplitNode.d.ts +2 -2
  258. three/examples/jsm/nodes/utils/SpriteSheetUVNode.d.ts +1 -1
  259. three/examples/jsm/nodes/utils/TimerNode.d.ts +1 -1
  260. three/examples/jsm/nodes/utils/TriplanarTexturesNode.d.ts +2 -2
  261. three/examples/jsm/objects/GroundProjectedSkybox.d.ts +1 -1
  262. three/examples/jsm/objects/Lensflare.d.ts +1 -1
  263. three/examples/jsm/objects/MarchingCubes.d.ts +1 -1
  264. three/examples/jsm/objects/Reflector.d.ts +1 -1
  265. three/examples/jsm/objects/ReflectorForSSRPass.d.ts +5 -1
  266. three/examples/jsm/objects/Refractor.d.ts +1 -1
  267. three/examples/jsm/objects/ShadowMesh.d.ts +1 -1
  268. three/examples/jsm/objects/Sky.d.ts +1 -1
  269. three/examples/jsm/objects/Water.d.ts +9 -1
  270. three/examples/jsm/objects/Water2.d.ts +1 -1
  271. three/examples/jsm/physics/AmmoPhysics.d.ts +6 -5
  272. three/examples/jsm/physics/RapierPhysics.d.ts +11 -0
  273. three/examples/jsm/postprocessing/AfterimagePass.d.ts +3 -3
  274. three/examples/jsm/postprocessing/BloomPass.d.ts +2 -2
  275. three/examples/jsm/postprocessing/BokehPass.d.ts +2 -2
  276. three/examples/jsm/postprocessing/ClearPass.d.ts +2 -2
  277. three/examples/jsm/postprocessing/CubeTexturePass.d.ts +2 -2
  278. three/examples/jsm/postprocessing/DotScreenPass.d.ts +2 -2
  279. three/examples/jsm/postprocessing/EffectComposer.d.ts +4 -4
  280. three/examples/jsm/postprocessing/FilmPass.d.ts +2 -2
  281. three/examples/jsm/postprocessing/GlitchPass.d.ts +2 -2
  282. three/examples/jsm/postprocessing/HalftonePass.d.ts +17 -3
  283. three/examples/jsm/postprocessing/LUTPass.d.ts +2 -2
  284. three/examples/jsm/postprocessing/MaskPass.d.ts +2 -2
  285. three/examples/jsm/postprocessing/OutlinePass.d.ts +2 -2
  286. three/examples/jsm/postprocessing/OutputPass.d.ts +10 -0
  287. three/examples/jsm/postprocessing/Pass.d.ts +1 -1
  288. three/examples/jsm/postprocessing/RenderPass.d.ts +2 -2
  289. three/examples/jsm/postprocessing/RenderPixelatedPass.d.ts +4 -2
  290. three/examples/jsm/postprocessing/SAOPass.d.ts +2 -2
  291. three/examples/jsm/postprocessing/SMAAPass.d.ts +2 -2
  292. three/examples/jsm/postprocessing/SSAARenderPass.d.ts +2 -2
  293. three/examples/jsm/postprocessing/SSAOPass.d.ts +3 -3
  294. three/examples/jsm/postprocessing/SSRPass.d.ts +11 -13
  295. three/examples/jsm/postprocessing/SavePass.d.ts +2 -2
  296. three/examples/jsm/postprocessing/ShaderPass.d.ts +2 -2
  297. three/examples/jsm/postprocessing/TAARenderPass.d.ts +3 -3
  298. three/examples/jsm/postprocessing/TexturePass.d.ts +5 -5
  299. three/examples/jsm/postprocessing/UnrealBloomPass.d.ts +3 -3
  300. three/examples/jsm/renderers/CSS2DRenderer.d.ts +1 -1
  301. three/examples/jsm/renderers/CSS3DRenderer.d.ts +1 -1
  302. three/examples/jsm/renderers/Projector.d.ts +1 -1
  303. three/examples/jsm/renderers/SVGRenderer.d.ts +1 -1
  304. three/examples/jsm/renderers/webgl/nodes/SlotNode.d.ts +1 -1
  305. three/examples/jsm/renderers/webgl/nodes/WebGLNodeBuilder.d.ts +5 -5
  306. three/examples/jsm/renderers/webgl/nodes/WebGLNodes.d.ts +1 -1
  307. three/examples/jsm/shaders/ACESFilmicToneMappingShader.d.ts +1 -1
  308. three/examples/jsm/shaders/AfterimageShader.d.ts +1 -1
  309. three/examples/jsm/shaders/BleachBypassShader.d.ts +1 -1
  310. three/examples/jsm/shaders/BlendShader.d.ts +1 -1
  311. three/examples/jsm/shaders/BokehShader.d.ts +1 -1
  312. three/examples/jsm/shaders/BokehShader2.d.ts +1 -1
  313. three/examples/jsm/shaders/BrightnessContrastShader.d.ts +1 -1
  314. three/examples/jsm/shaders/ColorCorrectionShader.d.ts +1 -1
  315. three/examples/jsm/shaders/ColorifyShader.d.ts +1 -1
  316. three/examples/jsm/shaders/ConvolutionShader.d.ts +1 -1
  317. three/examples/jsm/shaders/CopyShader.d.ts +1 -1
  318. three/examples/jsm/shaders/DOFMipMapShader.d.ts +1 -1
  319. three/examples/jsm/shaders/DepthLimitedBlurShader.d.ts +1 -1
  320. three/examples/jsm/shaders/DigitalGlitch.d.ts +1 -1
  321. three/examples/jsm/shaders/DotScreenShader.d.ts +1 -1
  322. three/examples/jsm/shaders/FXAAShader.d.ts +1 -1
  323. three/examples/jsm/shaders/FilmShader.d.ts +1 -1
  324. three/examples/jsm/shaders/FocusShader.d.ts +1 -1
  325. three/examples/jsm/shaders/FreiChenShader.d.ts +1 -1
  326. three/examples/jsm/shaders/GammaCorrectionShader.d.ts +1 -1
  327. three/examples/jsm/shaders/GodRaysShader.d.ts +1 -1
  328. three/examples/jsm/shaders/HalftoneShader.d.ts +1 -1
  329. three/examples/jsm/shaders/HorizontalBlurShader.d.ts +1 -1
  330. three/examples/jsm/shaders/HorizontalTiltShiftShader.d.ts +1 -1
  331. three/examples/jsm/shaders/HueSaturationShader.d.ts +1 -1
  332. three/examples/jsm/shaders/KaleidoShader.d.ts +1 -1
  333. three/examples/jsm/shaders/LuminosityHighPassShader.d.ts +1 -1
  334. three/examples/jsm/shaders/LuminosityShader.d.ts +1 -1
  335. three/examples/jsm/shaders/MirrorShader.d.ts +1 -1
  336. three/examples/jsm/shaders/NormalMapShader.d.ts +1 -1
  337. three/examples/jsm/shaders/OutputShader.d.ts +10 -0
  338. three/examples/jsm/shaders/RGBShiftShader.d.ts +1 -1
  339. three/examples/jsm/shaders/SAOShader.d.ts +1 -1
  340. three/examples/jsm/shaders/SMAAShader.d.ts +1 -1
  341. three/examples/jsm/shaders/SSAOShader.d.ts +1 -1
  342. three/examples/jsm/shaders/SSRShader.d.ts +1 -1
  343. three/examples/jsm/shaders/SepiaShader.d.ts +1 -1
  344. three/examples/jsm/shaders/SobelOperatorShader.d.ts +1 -1
  345. three/examples/jsm/shaders/SubsurfaceScatteringShader.d.ts +1 -1
  346. three/examples/jsm/shaders/TechnicolorShader.d.ts +1 -1
  347. three/examples/jsm/shaders/ToonShader.d.ts +1 -1
  348. three/examples/jsm/shaders/TriangleBlurShader.d.ts +1 -1
  349. three/examples/jsm/shaders/UnpackDepthRGBAShader.d.ts +1 -1
  350. three/examples/jsm/shaders/VelocityShader.d.ts +1 -1
  351. three/examples/jsm/shaders/VerticalBlurShader.d.ts +1 -1
  352. three/examples/jsm/shaders/VerticalTiltShiftShader.d.ts +1 -1
  353. three/examples/jsm/shaders/VignetteShader.d.ts +1 -1
  354. three/examples/jsm/shaders/VolumeShader.d.ts +1 -1
  355. three/examples/jsm/shaders/WaterRefractionShader.d.ts +1 -1
  356. three/examples/jsm/utils/BufferGeometryUtils.d.ts +4 -3
  357. three/examples/jsm/utils/CameraUtils.d.ts +1 -1
  358. three/examples/jsm/utils/GeometryCompressionUtils.d.ts +1 -1
  359. three/examples/jsm/utils/GeometryUtils.d.ts +1 -1
  360. three/examples/jsm/utils/LDrawUtils.d.ts +1 -1
  361. three/examples/jsm/utils/PackedPhongMaterial.d.ts +1 -1
  362. three/examples/jsm/utils/SceneUtils.d.ts +1 -1
  363. three/examples/jsm/utils/ShadowMapViewer.d.ts +1 -1
  364. three/examples/jsm/utils/SkeletonUtils.d.ts +1 -1
  365. three/examples/jsm/utils/UVsDebug.d.ts +1 -1
  366. three/examples/jsm/webxr/ARButton.d.ts +1 -1
  367. three/examples/jsm/webxr/OculusHandModel.d.ts +2 -2
  368. three/examples/jsm/webxr/OculusHandPointerModel.d.ts +2 -2
  369. three/examples/jsm/webxr/Text2D.d.ts +1 -1
  370. three/examples/jsm/webxr/VRButton.d.ts +1 -1
  371. three/examples/jsm/webxr/XRButton.d.ts +6 -0
  372. three/examples/jsm/webxr/XRControllerModelFactory.d.ts +2 -2
  373. three/examples/jsm/webxr/XREstimatedLight.d.ts +1 -1
  374. three/examples/jsm/webxr/XRHandMeshModel.d.ts +1 -1
  375. three/examples/jsm/webxr/XRHandModelFactory.d.ts +3 -3
  376. three/examples/jsm/webxr/XRHandPrimitiveModel.d.ts +2 -2
  377. three/examples/jsm/webxr/XRPlanes.d.ts +5 -0
  378. three/index.d.ts +1 -1
  379. three/package.json +6 -4
  380. three/src/Three.d.ts +186 -185
  381. three/src/animation/AnimationAction.d.ts +4 -4
  382. three/src/animation/AnimationClip.d.ts +4 -4
  383. three/src/animation/AnimationMixer.d.ts +6 -6
  384. three/src/animation/AnimationUtils.d.ts +1 -1
  385. three/src/animation/KeyframeTrack.d.ts +5 -5
  386. three/src/animation/tracks/BooleanKeyframeTrack.d.ts +1 -1
  387. three/src/animation/tracks/ColorKeyframeTrack.d.ts +2 -2
  388. three/src/animation/tracks/NumberKeyframeTrack.d.ts +2 -2
  389. three/src/animation/tracks/QuaternionKeyframeTrack.d.ts +2 -2
  390. three/src/animation/tracks/StringKeyframeTrack.d.ts +2 -2
  391. three/src/animation/tracks/VectorKeyframeTrack.d.ts +2 -2
  392. three/src/audio/Audio.d.ts +5 -5
  393. three/src/audio/AudioAnalyser.d.ts +1 -1
  394. three/src/audio/AudioListener.d.ts +2 -2
  395. three/src/audio/PositionalAudio.d.ts +2 -2
  396. three/src/cameras/ArrayCamera.d.ts +1 -1
  397. three/src/cameras/Camera.d.ts +6 -6
  398. three/src/cameras/CubeCamera.d.ts +5 -5
  399. three/src/cameras/OrthographicCamera.d.ts +1 -1
  400. three/src/cameras/PerspectiveCamera.d.ts +1 -1
  401. three/src/cameras/StereoCamera.d.ts +2 -2
  402. three/src/core/BufferAttribute.d.ts +30 -9
  403. three/src/core/BufferGeometry.d.ts +10 -10
  404. three/src/core/InstancedBufferAttribute.d.ts +3 -4
  405. three/src/core/InstancedBufferGeometry.d.ts +1 -1
  406. three/src/core/InstancedInterleavedBuffer.d.ts +3 -2
  407. three/src/core/InterleavedBuffer.d.ts +5 -4
  408. three/src/core/InterleavedBufferAttribute.d.ts +5 -5
  409. three/src/core/Object3D.d.ts +15 -15
  410. three/src/core/Raycaster.d.ts +6 -6
  411. three/src/core/RenderTarget.d.ts +78 -0
  412. three/src/core/UniformsGroup.d.ts +3 -3
  413. three/src/extras/ImageUtils.d.ts +2 -2
  414. three/src/extras/PMREMGenerator.d.ts +5 -5
  415. three/src/extras/core/Curve.d.ts +2 -2
  416. three/src/extras/core/CurvePath.d.ts +2 -2
  417. three/src/extras/core/Path.d.ts +2 -2
  418. three/src/extras/core/Shape.d.ts +2 -2
  419. three/src/extras/core/ShapePath.d.ts +6 -7
  420. three/src/extras/curves/ArcCurve.d.ts +1 -1
  421. three/src/extras/curves/CatmullRomCurve3.d.ts +2 -2
  422. three/src/extras/curves/CubicBezierCurve.d.ts +2 -2
  423. three/src/extras/curves/CubicBezierCurve3.d.ts +2 -2
  424. three/src/extras/curves/Curves.d.ts +10 -10
  425. three/src/extras/curves/EllipseCurve.d.ts +2 -2
  426. three/src/extras/curves/LineCurve.d.ts +2 -2
  427. three/src/extras/curves/LineCurve3.d.ts +2 -2
  428. three/src/extras/curves/QuadraticBezierCurve.d.ts +2 -2
  429. three/src/extras/curves/QuadraticBezierCurve3.d.ts +2 -2
  430. three/src/extras/curves/SplineCurve.d.ts +2 -2
  431. three/src/geometries/BoxGeometry.d.ts +1 -1
  432. three/src/geometries/CapsuleGeometry.d.ts +1 -1
  433. three/src/geometries/CircleGeometry.d.ts +1 -1
  434. three/src/geometries/ConeGeometry.d.ts +1 -1
  435. three/src/geometries/CylinderGeometry.d.ts +1 -1
  436. three/src/geometries/DodecahedronGeometry.d.ts +1 -1
  437. three/src/geometries/EdgesGeometry.d.ts +1 -1
  438. three/src/geometries/ExtrudeGeometry.d.ts +5 -5
  439. three/src/geometries/Geometries.d.ts +21 -21
  440. three/src/geometries/IcosahedronGeometry.d.ts +1 -1
  441. three/src/geometries/LatheGeometry.d.ts +2 -2
  442. three/src/geometries/OctahedronGeometry.d.ts +1 -1
  443. three/src/geometries/PlaneGeometry.d.ts +1 -1
  444. three/src/geometries/PolyhedronGeometry.d.ts +1 -1
  445. three/src/geometries/RingGeometry.d.ts +1 -1
  446. three/src/geometries/ShapeGeometry.d.ts +2 -2
  447. three/src/geometries/SphereGeometry.d.ts +1 -1
  448. three/src/geometries/TetrahedronGeometry.d.ts +1 -1
  449. three/src/geometries/TorusGeometry.d.ts +1 -1
  450. three/src/geometries/TorusKnotGeometry.d.ts +1 -1
  451. three/src/geometries/TubeGeometry.d.ts +3 -3
  452. three/src/geometries/WireframeGeometry.d.ts +1 -1
  453. three/src/helpers/ArrowHelper.d.ts +5 -5
  454. three/src/helpers/AxesHelper.d.ts +2 -2
  455. three/src/helpers/Box3Helper.d.ts +3 -3
  456. three/src/helpers/BoxHelper.d.ts +6 -4
  457. three/src/helpers/CameraHelper.d.ts +4 -4
  458. three/src/helpers/DirectionalLightHelper.d.ts +5 -5
  459. three/src/helpers/GridHelper.d.ts +4 -4
  460. three/src/helpers/HemisphereLightHelper.d.ts +5 -5
  461. three/src/helpers/PlaneHelper.d.ts +2 -2
  462. three/src/helpers/PointLightHelper.d.ts +4 -4
  463. three/src/helpers/PolarGridHelper.d.ts +2 -2
  464. three/src/helpers/SkeletonHelper.d.ts +5 -5
  465. three/src/helpers/SpotLightHelper.d.ts +5 -5
  466. three/src/lights/AmbientLight.d.ts +2 -2
  467. three/src/lights/AmbientLightProbe.d.ts +2 -2
  468. three/src/lights/DirectionalLight.d.ts +5 -5
  469. three/src/lights/DirectionalLightShadow.d.ts +2 -2
  470. three/src/lights/HemisphereLight.d.ts +3 -3
  471. three/src/lights/HemisphereLightProbe.d.ts +2 -2
  472. three/src/lights/Light.d.ts +3 -3
  473. three/src/lights/LightProbe.d.ts +2 -2
  474. three/src/lights/LightShadow.d.ts +7 -7
  475. three/src/lights/PointLight.d.ts +3 -3
  476. three/src/lights/PointLightShadow.d.ts +3 -3
  477. three/src/lights/RectAreaLight.d.ts +2 -2
  478. three/src/lights/SpotLight.d.ts +6 -6
  479. three/src/lights/SpotLightShadow.d.ts +2 -2
  480. three/src/loaders/AnimationLoader.d.ts +3 -3
  481. three/src/loaders/AudioLoader.d.ts +2 -2
  482. three/src/loaders/BufferGeometryLoader.d.ts +4 -4
  483. three/src/loaders/CompressedTextureLoader.d.ts +3 -3
  484. three/src/loaders/CubeTextureLoader.d.ts +3 -3
  485. three/src/loaders/DataTextureLoader.d.ts +3 -3
  486. three/src/loaders/FileLoader.d.ts +2 -2
  487. three/src/loaders/ImageBitmapLoader.d.ts +2 -2
  488. three/src/loaders/ImageLoader.d.ts +2 -2
  489. three/src/loaders/Loader.d.ts +3 -1
  490. three/src/loaders/LoadingManager.d.ts +1 -1
  491. three/src/loaders/MaterialLoader.d.ts +4 -4
  492. three/src/loaders/ObjectLoader.d.ts +12 -12
  493. three/src/loaders/TextureLoader.d.ts +3 -3
  494. three/src/materials/LineBasicMaterial.d.ts +3 -3
  495. three/src/materials/LineDashedMaterial.d.ts +1 -1
  496. three/src/materials/Material.d.ts +9 -6
  497. three/src/materials/Materials.d.ts +18 -18
  498. three/src/materials/MeshBasicMaterial.d.ts +4 -4
  499. three/src/materials/MeshDepthMaterial.d.ts +3 -3
  500. three/src/materials/MeshDistanceMaterial.d.ts +3 -3
  501. three/src/materials/MeshLambertMaterial.d.ts +5 -5
  502. three/src/materials/MeshMatcapMaterial.d.ts +5 -5
  503. three/src/materials/MeshNormalMaterial.d.ts +4 -4
  504. three/src/materials/MeshPhongMaterial.d.ts +5 -5
  505. three/src/materials/MeshPhysicalMaterial.d.ts +4 -4
  506. three/src/materials/MeshStandardMaterial.d.ts +5 -5
  507. three/src/materials/MeshToonMaterial.d.ts +5 -5
  508. three/src/materials/PointsMaterial.d.ts +3 -3
  509. three/src/materials/RawShaderMaterial.d.ts +1 -1
  510. three/src/materials/ShaderMaterial.d.ts +9 -3
  511. three/src/materials/ShadowMaterial.d.ts +2 -2
  512. three/src/materials/SpriteMaterial.d.ts +3 -3
  513. three/src/math/Box2.d.ts +1 -1
  514. three/src/math/Box3.d.ts +7 -7
  515. three/src/math/Color.d.ts +6 -6
  516. three/src/math/ColorManagement.d.ts +2 -2
  517. three/src/math/Cylindrical.d.ts +1 -1
  518. three/src/math/Euler.d.ts +3 -3
  519. three/src/math/Frustum.d.ts +8 -8
  520. three/src/math/Line3.d.ts +2 -2
  521. three/src/math/MathUtils.d.ts +1 -1
  522. three/src/math/Matrix3.d.ts +3 -3
  523. three/src/math/Matrix4.d.ts +5 -5
  524. three/src/math/Plane.d.ts +6 -6
  525. three/src/math/Quaternion.d.ts +5 -5
  526. three/src/math/Ray.d.ts +5 -5
  527. three/src/math/Sphere.d.ts +4 -4
  528. three/src/math/Spherical.d.ts +1 -1
  529. three/src/math/SphericalHarmonics3.d.ts +1 -1
  530. three/src/math/Triangle.d.ts +7 -7
  531. three/src/math/Vector2.d.ts +2 -2
  532. three/src/math/Vector3.d.ts +11 -11
  533. three/src/math/Vector4.d.ts +4 -4
  534. three/src/math/interpolants/CubicInterpolant.d.ts +1 -1
  535. three/src/math/interpolants/DiscreteInterpolant.d.ts +1 -1
  536. three/src/math/interpolants/LinearInterpolant.d.ts +1 -1
  537. three/src/math/interpolants/QuaternionLinearInterpolant.d.ts +1 -1
  538. three/src/objects/Bone.d.ts +1 -1
  539. three/src/objects/Group.d.ts +2 -2
  540. three/src/objects/InstancedMesh.d.ts +8 -8
  541. three/src/objects/LOD.d.ts +4 -4
  542. three/src/objects/Line.d.ts +5 -5
  543. three/src/objects/LineLoop.d.ts +3 -3
  544. three/src/objects/LineSegments.d.ts +3 -3
  545. three/src/objects/Mesh.d.ts +6 -6
  546. three/src/objects/Points.d.ts +6 -6
  547. three/src/objects/Skeleton.d.ts +3 -3
  548. three/src/objects/SkinnedMesh.d.ts +8 -8
  549. three/src/objects/Sprite.d.ts +6 -6
  550. three/src/renderers/WebGL1Renderer.d.ts +1 -1
  551. three/src/renderers/WebGL3DRenderTarget.d.ts +2 -2
  552. three/src/renderers/WebGLArrayRenderTarget.d.ts +2 -2
  553. three/src/renderers/WebGLCubeRenderTarget.d.ts +4 -4
  554. three/src/renderers/WebGLMultipleRenderTargets.d.ts +4 -18
  555. three/src/renderers/WebGLRenderTarget.d.ts +6 -115
  556. three/src/renderers/WebGLRenderer.d.ts +36 -26
  557. three/src/renderers/shaders/ShaderChunk.d.ts +5 -3
  558. three/src/renderers/shaders/ShaderLib.d.ts +1 -1
  559. three/src/renderers/shaders/UniformsLib.d.ts +3 -3
  560. three/src/renderers/shaders/UniformsUtils.d.ts +1 -1
  561. three/src/renderers/webgl/WebGLAttributes.d.ts +12 -10
  562. three/src/renderers/webgl/WebGLBindingStates.d.ts +8 -8
  563. three/src/renderers/webgl/WebGLBufferRenderer.d.ts +3 -3
  564. three/src/renderers/webgl/WebGLCapabilities.d.ts +1 -0
  565. three/src/renderers/webgl/WebGLClipping.d.ts +4 -4
  566. three/src/renderers/webgl/WebGLCubeMaps.d.ts +1 -1
  567. three/src/renderers/webgl/WebGLCubeUVMaps.d.ts +1 -1
  568. three/src/renderers/webgl/WebGLExtensions.d.ts +1 -1
  569. three/src/renderers/webgl/WebGLGeometries.d.ts +5 -5
  570. three/src/renderers/webgl/WebGLInfo.d.ts +1 -1
  571. three/src/renderers/webgl/WebGLLights.d.ts +2 -2
  572. three/src/renderers/webgl/WebGLProgram.d.ts +3 -3
  573. three/src/renderers/webgl/WebGLPrograms.d.ts +9 -9
  574. three/src/renderers/webgl/WebGLRenderLists.d.ts +8 -8
  575. three/src/renderers/webgl/WebGLShadowMap.d.ts +7 -7
  576. three/src/renderers/webgl/WebGLState.d.ts +7 -18
  577. three/src/renderers/webgl/WebGLTextures.d.ts +6 -6
  578. three/src/renderers/webgl/WebGLUniforms.d.ts +2 -2
  579. three/src/renderers/webgl/WebGLUniformsGroups.d.ts +5 -5
  580. three/src/renderers/webgl/WebGLUtils.d.ts +1 -1
  581. three/src/renderers/webxr/WebXRController.d.ts +2 -2
  582. three/src/renderers/webxr/WebXRManager.d.ts +6 -12
  583. three/src/scenes/Fog.d.ts +1 -1
  584. three/src/scenes/FogExp2.d.ts +2 -2
  585. three/src/scenes/Scene.d.ts +6 -6
  586. three/src/textures/CanvasTexture.d.ts +2 -2
  587. three/src/textures/CompressedArrayTexture.d.ts +1 -1
  588. three/src/textures/CompressedTexture.d.ts +2 -2
  589. three/src/textures/CubeTexture.d.ts +2 -2
  590. three/src/textures/Data3DTexture.d.ts +3 -3
  591. three/src/textures/DataArrayTexture.d.ts +3 -3
  592. three/src/textures/DataTexture.d.ts +3 -3
  593. three/src/textures/DepthTexture.d.ts +2 -2
  594. three/src/textures/FramebufferTexture.d.ts +2 -2
  595. three/src/textures/Texture.d.ts +5 -5
  596. three/src/textures/VideoTexture.d.ts +2 -2
  597. three/examples/jsm/nodes/core/InstanceIndexNode.d.ts +0 -6
@@ -1,14 +1,14 @@
1
- import { Euler } from './Euler';
2
- import { Matrix3 } from './Matrix3';
3
- import { Matrix4 } from './Matrix4';
4
- import { Quaternion } from './Quaternion';
5
- import { Camera } from '../cameras/Camera';
6
- import { Spherical } from './Spherical';
7
- import { Cylindrical } from './Cylindrical';
8
- import { BufferAttribute } from '../core/BufferAttribute';
9
- import { InterleavedBufferAttribute } from '../core/InterleavedBufferAttribute';
10
- import { Vector } from './Vector2';
11
- import { Color } from './Color';
1
+ import { Euler } from './Euler.js';
2
+ import { Matrix3 } from './Matrix3.js';
3
+ import { Matrix4 } from './Matrix4.js';
4
+ import { Quaternion } from './Quaternion.js';
5
+ import { Camera } from '../cameras/Camera.js';
6
+ import { Spherical } from './Spherical.js';
7
+ import { Cylindrical } from './Cylindrical.js';
8
+ import { BufferAttribute } from '../core/BufferAttribute.js';
9
+ import { InterleavedBufferAttribute } from '../core/InterleavedBufferAttribute.js';
10
+ import { Vector } from './Vector2.js';
11
+ import { Color } from './Color.js';
12
12
 
13
13
  export type Vector3Tuple = [number, number, number];
14
14
 
@@ -1,7 +1,7 @@
1
- import { Matrix4 } from './Matrix4';
2
- import { Quaternion } from './Quaternion';
3
- import { BufferAttribute } from './../core/BufferAttribute';
4
- import { Vector } from './Vector2';
1
+ import { Matrix4 } from './Matrix4.js';
2
+ import { Quaternion } from './Quaternion.js';
3
+ import { BufferAttribute } from './../core/BufferAttribute.js';
4
+ import { Vector } from './Vector2.js';
5
5
 
6
6
  export type Vector4Tuple = [number, number, number, number];
7
7
 
@@ -1,4 +1,4 @@
1
- import { Interpolant } from '../Interpolant';
1
+ import { Interpolant } from '../Interpolant.js';
2
2
 
3
3
  export class CubicInterpolant extends Interpolant {
4
4
  constructor(parameterPositions: any, samplesValues: any, sampleSize: number, resultBuffer?: any);
@@ -1,4 +1,4 @@
1
- import { Interpolant } from '../Interpolant';
1
+ import { Interpolant } from '../Interpolant.js';
2
2
 
3
3
  export class DiscreteInterpolant extends Interpolant {
4
4
  constructor(parameterPositions: any, samplesValues: any, sampleSize: number, resultBuffer?: any);
@@ -1,4 +1,4 @@
1
- import { Interpolant } from '../Interpolant';
1
+ import { Interpolant } from '../Interpolant.js';
2
2
 
3
3
  export class LinearInterpolant extends Interpolant {
4
4
  constructor(parameterPositions: any, samplesValues: any, sampleSize: number, resultBuffer?: any);
@@ -1,4 +1,4 @@
1
- import { Interpolant } from '../Interpolant';
1
+ import { Interpolant } from '../Interpolant.js';
2
2
 
3
3
  export class QuaternionLinearInterpolant extends Interpolant {
4
4
  constructor(parameterPositions: any, samplesValues: any, sampleSize: number, resultBuffer?: any);
@@ -1,4 +1,4 @@
1
- import { Object3D } from './../core/Object3D';
1
+ import { Object3D } from './../core/Object3D.js';
2
2
 
3
3
  /**
4
4
  * A {@link Bone} which is part of a {@link THREE.Skeleton | Skeleton}
@@ -1,4 +1,4 @@
1
- import { Object3D } from './../core/Object3D';
1
+ import { Object3D } from './../core/Object3D.js';
2
2
 
3
3
  /**
4
4
  * Its purpose is to make working with groups of objects syntactically clearer.
@@ -24,7 +24,7 @@ import { Object3D } from './../core/Object3D';
24
24
  */
25
25
  export class Group extends Object3D {
26
26
  /**
27
- * Creates a new {@link Bone}.
27
+ * Creates a new {@link Group}.
28
28
  */
29
29
  constructor();
30
30
 
@@ -1,11 +1,11 @@
1
- import { BufferGeometry } from '../core/BufferGeometry';
2
- import { Material } from './../materials/Material';
3
- import { BufferAttribute } from './../core/BufferAttribute';
4
- import { InstancedBufferAttribute } from '../core/InstancedBufferAttribute';
5
- import { Mesh } from './Mesh';
6
- import { Matrix4 } from './../math/Matrix4';
7
- import { Color } from './../math/Color';
8
- import { Box3, Sphere } from '../Three';
1
+ import { BufferGeometry } from '../core/BufferGeometry.js';
2
+ import { Material } from './../materials/Material.js';
3
+ import { BufferAttribute } from './../core/BufferAttribute.js';
4
+ import { InstancedBufferAttribute } from '../core/InstancedBufferAttribute.js';
5
+ import { Mesh } from './Mesh.js';
6
+ import { Matrix4 } from './../math/Matrix4.js';
7
+ import { Color } from './../math/Color.js';
8
+ import { Box3, Sphere } from '../Three.js';
9
9
 
10
10
  /**
11
11
  * A special version of {@link THREE.Mesh | Mesh} with instanced rendering support
@@ -1,7 +1,7 @@
1
- import { Object3D } from './../core/Object3D';
2
- import { Raycaster } from './../core/Raycaster';
3
- import { Camera } from './../cameras/Camera';
4
- import { Intersection } from '../core/Raycaster';
1
+ import { Object3D } from './../core/Object3D.js';
2
+ import { Raycaster } from './../core/Raycaster.js';
3
+ import { Camera } from './../cameras/Camera.js';
4
+ import { Intersection } from '../core/Raycaster.js';
5
5
 
6
6
  /**
7
7
  * Every level is associated with an object, and rendering can be switched between them at the distances specified
@@ -1,8 +1,8 @@
1
- import { Material } from './../materials/Material';
2
- import { Raycaster } from './../core/Raycaster';
3
- import { Object3D } from './../core/Object3D';
4
- import { BufferGeometry } from '../core/BufferGeometry';
5
- import { Intersection } from '../core/Raycaster';
1
+ import { Material } from './../materials/Material.js';
2
+ import { Raycaster } from './../core/Raycaster.js';
3
+ import { Object3D } from './../core/Object3D.js';
4
+ import { BufferGeometry } from '../core/BufferGeometry.js';
5
+ import { Intersection } from '../core/Raycaster.js';
6
6
 
7
7
  /**
8
8
  * A continuous line.
@@ -1,6 +1,6 @@
1
- import { Line } from './Line';
2
- import { Material } from './../materials/Material';
3
- import { BufferGeometry } from '../core/BufferGeometry';
1
+ import { Line } from './Line.js';
2
+ import { Material } from './../materials/Material.js';
3
+ import { BufferGeometry } from '../core/BufferGeometry.js';
4
4
 
5
5
  /**
6
6
  * A continuous line that connects back to the start.
@@ -1,6 +1,6 @@
1
- import { Material } from './../materials/Material';
2
- import { Line } from './Line';
3
- import { BufferGeometry } from '../core/BufferGeometry';
1
+ import { Material } from './../materials/Material.js';
2
+ import { Line } from './Line.js';
3
+ import { BufferGeometry } from '../core/BufferGeometry.js';
4
4
 
5
5
  /**
6
6
  * A series of lines drawn between pairs of vertices.
@@ -1,9 +1,9 @@
1
- import { Material } from './../materials/Material';
2
- import { Raycaster } from './../core/Raycaster';
3
- import { Object3D } from './../core/Object3D';
4
- import { BufferGeometry } from '../core/BufferGeometry';
5
- import { Intersection } from '../core/Raycaster';
6
- import { Vector3 } from '../math/Vector3';
1
+ import { Material } from './../materials/Material.js';
2
+ import { Raycaster } from './../core/Raycaster.js';
3
+ import { Object3D } from './../core/Object3D.js';
4
+ import { BufferGeometry } from '../core/BufferGeometry.js';
5
+ import { Intersection } from '../core/Raycaster.js';
6
+ import { Vector3 } from '../math/Vector3.js';
7
7
 
8
8
  /**
9
9
  * Class representing triangular {@link https://en.wikipedia.org/wiki/Polygon_mesh | polygon mesh} based objects.
@@ -1,9 +1,9 @@
1
- import { Material } from '../materials/Material';
2
- import { Object3D } from '../core/Object3D';
3
- import { BufferGeometry, NormalOrGLBufferAttributes } from '../core/BufferGeometry';
4
- import { BufferAttribute } from '../core/BufferAttribute';
5
- import { InterleavedBufferAttribute } from '../core/InterleavedBufferAttribute';
6
- import { GLBufferAttribute } from '../core/GLBufferAttribute';
1
+ import { Material } from '../materials/Material.js';
2
+ import { Object3D } from '../core/Object3D.js';
3
+ import { BufferGeometry, NormalOrGLBufferAttributes } from '../core/BufferGeometry.js';
4
+ import { BufferAttribute } from '../core/BufferAttribute.js';
5
+ import { InterleavedBufferAttribute } from '../core/InterleavedBufferAttribute.js';
6
+ import { GLBufferAttribute } from '../core/GLBufferAttribute.js';
7
7
 
8
8
  /**
9
9
  * A class for displaying {@link Points}
@@ -1,6 +1,6 @@
1
- import { Bone } from './Bone';
2
- import { Matrix4 } from './../math/Matrix4';
3
- import { DataTexture } from './../textures/DataTexture';
1
+ import { Bone } from './Bone.js';
2
+ import { Matrix4 } from './../math/Matrix4.js';
3
+ import { DataTexture } from './../textures/DataTexture.js';
4
4
 
5
5
  /**
6
6
  * Use an array of {@link Bone | bones} to create a {@link Skeleton} that can be used by a {@link THREE.SkinnedMesh | SkinnedMesh}.
@@ -1,11 +1,11 @@
1
- import { Material } from './../materials/Material';
2
- import { Box3 } from '../math/Box3';
3
- import { Matrix4 } from './../math/Matrix4';
4
- import { Vector3 } from './../math/Vector3';
5
- import { Skeleton } from './Skeleton';
6
- import { Mesh } from './Mesh';
7
- import { BufferGeometry } from '../core/BufferGeometry';
8
- import { Sphere } from '../math/Sphere';
1
+ import { Material } from './../materials/Material.js';
2
+ import { Box3 } from '../math/Box3.js';
3
+ import { Matrix4 } from './../math/Matrix4.js';
4
+ import { Vector3 } from './../math/Vector3.js';
5
+ import { Skeleton } from './Skeleton.js';
6
+ import { Mesh } from './Mesh.js';
7
+ import { BufferGeometry } from '../core/BufferGeometry.js';
8
+ import { Sphere } from '../math/Sphere.js';
9
9
 
10
10
  /**
11
11
  * A mesh that has a {@link THREE.Skeleton | Skeleton} with {@link Bone | bones} that can then be used to animate the vertices of the geometry.
@@ -1,9 +1,9 @@
1
- import { Vector2 } from './../math/Vector2';
2
- import { Raycaster } from './../core/Raycaster';
3
- import { Object3D } from './../core/Object3D';
4
- import { Intersection } from '../core/Raycaster';
5
- import { SpriteMaterial } from '../materials/Materials';
6
- import { BufferGeometry } from '../core/BufferGeometry';
1
+ import { Vector2 } from './../math/Vector2.js';
2
+ import { Raycaster } from './../core/Raycaster.js';
3
+ import { Object3D } from './../core/Object3D.js';
4
+ import { Intersection } from '../core/Raycaster.js';
5
+ import { SpriteMaterial } from '../materials/Materials.js';
6
+ import { BufferGeometry } from '../core/BufferGeometry.js';
7
7
 
8
8
  /**
9
9
  * A {@link Sprite} is a plane that always faces towards the camera, generally with a partially transparent texture applied.
@@ -1,4 +1,4 @@
1
- import { WebGLRenderer, WebGLRendererParameters } from './WebGLRenderer';
1
+ import { WebGLRenderer, WebGLRendererParameters } from './WebGLRenderer.js';
2
2
 
3
3
  export class WebGL1Renderer extends WebGLRenderer {
4
4
  constructor(parameters?: WebGLRendererParameters);
@@ -1,5 +1,5 @@
1
- import { Data3DTexture } from '../textures/Data3DTexture';
2
- import { WebGLRenderTarget } from './WebGLRenderTarget';
1
+ import { Data3DTexture } from '../textures/Data3DTexture.js';
2
+ import { WebGLRenderTarget } from './WebGLRenderTarget.js';
3
3
 
4
4
  /**
5
5
  * Represents a three-dimensional render target.
@@ -1,5 +1,5 @@
1
- import { DataArrayTexture } from '../textures/DataArrayTexture';
2
- import { WebGLRenderTarget } from './WebGLRenderTarget';
1
+ import { DataArrayTexture } from '../textures/DataArrayTexture.js';
2
+ import { WebGLRenderTarget } from './WebGLRenderTarget.js';
3
3
 
4
4
  /**
5
5
  * This type of render target represents an array of textures.
@@ -1,7 +1,7 @@
1
- import { WebGLRenderTargetOptions, WebGLRenderTarget } from './WebGLRenderTarget';
2
- import { WebGLRenderer } from './WebGLRenderer';
3
- import { Texture } from './../textures/Texture';
4
- import { CubeTexture } from './../textures/CubeTexture';
1
+ import { WebGLRenderTargetOptions, WebGLRenderTarget } from './WebGLRenderTarget.js';
2
+ import { WebGLRenderer } from './WebGLRenderer.js';
3
+ import { Texture } from './../textures/Texture.js';
4
+ import { CubeTexture } from './../textures/CubeTexture.js';
5
5
 
6
6
  export class WebGLCubeRenderTarget extends WebGLRenderTarget {
7
7
  constructor(size?: number, options?: WebGLRenderTargetOptions);
@@ -1,16 +1,7 @@
1
- import { EventDispatcher } from '../core/EventDispatcher';
2
- import { Texture } from '../textures/Texture';
3
- import { WebGLRenderTargetOptions } from './WebGLRenderTarget';
4
-
5
- /**
6
- * This class originall extended WebGLMultipleRenderTarget
7
- * However, there are some issues with this method as documented below
8
- */
9
- export class WebGLMultipleRenderTargets extends EventDispatcher {
10
- texture: Texture[];
11
-
12
- readonly isWebGLMultipleRenderTargets = true;
1
+ import { Texture } from '../textures/Texture.js';
2
+ import { WebGLRenderTarget, WebGLRenderTargetOptions } from './WebGLRenderTarget.js';
13
3
 
4
+ export class WebGLMultipleRenderTargets extends WebGLRenderTarget<Texture[]> {
14
5
  /**
15
6
  * @param width The width of the render target.
16
7
  * @param height The height of the render target.
@@ -20,10 +11,5 @@ export class WebGLMultipleRenderTargets extends EventDispatcher {
20
11
  */
21
12
  constructor(width?: number, height?: number, count?: number, options?: WebGLRenderTargetOptions);
22
13
 
23
- setSize(width: number, height: number, depth?: number): this;
24
- copy(source: WebGLMultipleRenderTargets): this;
25
- clone(): this;
26
- dispose(): void;
27
- // This is an available method, however it will break the code see https://github.com/mrdoob/three.js/issues/21930
28
- setTexture(texture: Texture): void;
14
+ readonly isWebGLMultipleRenderTargets: true;
29
15
  }
@@ -1,120 +1,11 @@
1
- import { Vector4 } from './../math/Vector4';
2
- import { Texture } from './../textures/Texture';
3
- import { DepthTexture } from './../textures/DepthTexture';
4
- import { EventDispatcher } from './../core/EventDispatcher';
5
- import {
6
- Wrapping,
7
- TextureDataType,
8
- TextureEncoding,
9
- MinificationTextureFilter,
10
- MagnificationTextureFilter,
11
- ColorSpace,
12
- } from '../constants';
1
+ import { Texture } from '../textures/Texture.js';
2
+ import { RenderTarget, RenderTargetOptions } from '../core/RenderTarget.js';
13
3
 
14
- export interface WebGLRenderTargetOptions {
15
- wrapS?: Wrapping | undefined;
16
- wrapT?: Wrapping | undefined;
17
- magFilter?: MagnificationTextureFilter | undefined;
18
- minFilter?: MinificationTextureFilter | undefined;
19
- format?: number | undefined; // RGBAFormat;
20
- type?: TextureDataType | undefined; // UnsignedByteType;
21
- anisotropy?: number | undefined; // 1;
22
- depthBuffer?: boolean | undefined; // true;
23
- stencilBuffer?: boolean | undefined; // false;
24
- generateMipmaps?: boolean | undefined; // true;
25
- depthTexture?: DepthTexture | undefined;
26
- /** @deprecated Use 'colorSpace' in three.js r152+. */
27
- encoding?: TextureEncoding | undefined;
28
- colorSpace?: ColorSpace | undefined;
4
+ // tslint:disable-next-line:no-empty-interface
5
+ export interface WebGLRenderTargetOptions extends RenderTargetOptions {}
29
6
 
30
- /**
31
- * Defines the count of MSAA samples. Can only be used with WebGL 2. Default is **0**.
32
- * @default 0
33
- */
34
- samples?: number;
35
- }
36
-
37
- export class WebGLRenderTarget extends EventDispatcher {
38
- constructor(width?: number, height?: number, options?: WebGLRenderTargetOptions);
39
-
40
- width: number;
41
- height: number;
42
- depth: number;
43
-
44
- scissor: Vector4;
45
- /**
46
- * @default false
47
- */
48
- scissorTest: boolean;
49
- viewport: Vector4;
50
- texture: Texture;
51
-
52
- /**
53
- * @default true
54
- */
55
- depthBuffer: boolean;
56
-
57
- /**
58
- * @default true
59
- */
60
- stencilBuffer: boolean;
61
-
62
- /**
63
- * @default null
64
- */
65
- depthTexture: DepthTexture;
66
-
67
- /**
68
- * Defines the count of MSAA samples. Can only be used with WebGL 2. Default is **0**.
69
- * @default 0
70
- */
71
- samples: number;
7
+ export class WebGLRenderTarget<TTexture extends Texture | Texture[] = Texture> extends RenderTarget<TTexture> {
8
+ constructor(width?: number, height?: number, options?: RenderTargetOptions);
72
9
 
73
10
  readonly isWebGLRenderTarget: true;
74
-
75
- /**
76
- * @deprecated Use {@link Texture#wrapS texture.wrapS} instead.
77
- */
78
- wrapS: any;
79
- /**
80
- * @deprecated Use {@link Texture#wrapT texture.wrapT} instead.
81
- */
82
- wrapT: any;
83
- /**
84
- * @deprecated Use {@link Texture#magFilter texture.magFilter} instead.
85
- */
86
- magFilter: any;
87
- /**
88
- * @deprecated Use {@link Texture#minFilter texture.minFilter} instead.
89
- */
90
- minFilter: any;
91
- /**
92
- * @deprecated Use {@link Texture#anisotropy texture.anisotropy} instead.
93
- */
94
- anisotropy: any;
95
- /**
96
- * @deprecated Use {@link Texture#offset texture.offset} instead.
97
- */
98
- offset: any;
99
- /**
100
- * @deprecated Use {@link Texture#repeat texture.repeat} instead.
101
- */
102
- repeat: any;
103
- /**
104
- * @deprecated Use {@link Texture#format texture.format} instead.
105
- */
106
- format: any;
107
- /**
108
- * @deprecated Use {@link Texture#type texture.type} instead.
109
- */
110
- type: any;
111
- /**
112
- * @deprecated Use {@link Texture#generateMipmaps texture.generateMipmaps} instead.
113
- */
114
- generateMipmaps: any;
115
-
116
- setSize(width: number, height: number, depth?: number): void;
117
- clone(): this;
118
- copy(source: WebGLRenderTarget): this;
119
- dispose(): void;
120
11
  }
@@ -1,28 +1,36 @@
1
- import { Scene } from './../scenes/Scene';
2
- import { Camera } from './../cameras/Camera';
3
- import { WebGLExtensions } from './webgl/WebGLExtensions';
4
- import { WebGLInfo } from './webgl/WebGLInfo';
5
- import { WebGLShadowMap } from './webgl/WebGLShadowMap';
6
- import { WebGLCapabilities } from './webgl/WebGLCapabilities';
7
- import { WebGLProperties } from './webgl/WebGLProperties';
8
- import { WebGLRenderLists } from './webgl/WebGLRenderLists';
9
- import { WebGLState } from './webgl/WebGLState';
10
- import { Vector2 } from './../math/Vector2';
11
- import { Vector4 } from './../math/Vector4';
12
- import { Color, ColorRepresentation } from './../math/Color';
13
- import { WebGLRenderTarget } from './WebGLRenderTarget';
14
- import { WebGLMultipleRenderTargets } from './WebGLMultipleRenderTargets';
15
- import { Object3D } from './../core/Object3D';
16
- import { Material } from './../materials/Material';
17
- import { ToneMapping, ShadowMapType, CullFace, TextureEncoding, ColorSpace, WebGLCoordinateSystem } from '../constants';
18
- import { WebXRManager } from '../renderers/webxr/WebXRManager';
19
- import { BufferGeometry } from './../core/BufferGeometry';
20
- import { OffscreenCanvas, Texture } from '../textures/Texture';
21
- import { Data3DTexture } from '../textures/Data3DTexture';
22
- import { Vector3 } from '../math/Vector3';
23
- import { Box3 } from '../math/Box3';
24
- import { DataArrayTexture } from '../textures/DataArrayTexture';
25
- import { WebGLProgram } from './webgl/WebGLProgram';
1
+ import { Scene } from '../scenes/Scene.js';
2
+ import { Camera } from '../cameras/Camera.js';
3
+ import { WebGLExtensions } from './webgl/WebGLExtensions.js';
4
+ import { WebGLInfo } from './webgl/WebGLInfo.js';
5
+ import { WebGLShadowMap } from './webgl/WebGLShadowMap.js';
6
+ import { WebGLCapabilities } from './webgl/WebGLCapabilities.js';
7
+ import { WebGLProperties } from './webgl/WebGLProperties.js';
8
+ import { WebGLRenderLists } from './webgl/WebGLRenderLists.js';
9
+ import { WebGLState } from './webgl/WebGLState.js';
10
+ import { Vector2 } from '../math/Vector2.js';
11
+ import { Vector4 } from '../math/Vector4.js';
12
+ import { Color, ColorRepresentation } from '../math/Color.js';
13
+ import { WebGLRenderTarget } from './WebGLRenderTarget.js';
14
+ import { WebGLMultipleRenderTargets } from './WebGLMultipleRenderTargets.js';
15
+ import { Object3D } from '../core/Object3D.js';
16
+ import { Material } from '../materials/Material.js';
17
+ import {
18
+ ToneMapping,
19
+ ShadowMapType,
20
+ CullFace,
21
+ TextureEncoding,
22
+ ColorSpace,
23
+ WebGLCoordinateSystem,
24
+ } from '../constants.js';
25
+ import { WebXRManager } from './webxr/WebXRManager.js';
26
+ import { BufferGeometry } from '../core/BufferGeometry.js';
27
+ import { OffscreenCanvas, Texture } from '../textures/Texture.js';
28
+ import { Data3DTexture } from '../textures/Data3DTexture.js';
29
+ import { Vector3 } from '../math/Vector3.js';
30
+ import { Box3 } from '../math/Box3.js';
31
+ import { DataArrayTexture } from '../textures/DataArrayTexture.js';
32
+ import { WebGLProgram } from './webgl/WebGLProgram.js';
33
+ import { Plane } from '../math/Plane.js';
26
34
 
27
35
  export interface Renderer {
28
36
  domElement: HTMLCanvasElement;
@@ -177,7 +185,7 @@ export class WebGLRenderer implements Renderer {
177
185
  /**
178
186
  * @default []
179
187
  */
180
- clippingPlanes: any[];
188
+ clippingPlanes: readonly Plane[];
181
189
 
182
190
  /**
183
191
  * @default false
@@ -203,6 +211,8 @@ export class WebGLRenderer implements Renderer {
203
211
  get coordinateSystem(): typeof WebGLCoordinateSystem;
204
212
 
205
213
  /**
214
+ * @deprecated Migrate your lighting according to the following guide:
215
+ * https://discourse.threejs.org/t/updates-to-lighting-in-three-js-r155/53733.
206
216
  * @default true
207
217
  */
208
218
  useLegacyLights: boolean;
@@ -1,5 +1,7 @@
1
1
  // Renderers / Shaders /////////////////////////////////////////////////////////////////////
2
2
  export const ShaderChunk: {
3
+ alphahash_fragment: string;
4
+ alphahash_pars_fragment: string;
3
5
  alphamap_fragment: string;
4
6
  alphamap_pars_fragment: string;
5
7
  alphatest_fragment: string;
@@ -26,8 +28,8 @@ export const ShaderChunk: {
26
28
  displacementmap_vertex: string;
27
29
  emissivemap_fragment: string;
28
30
  emissivemap_pars_fragment: string;
29
- encodings_fragment: string;
30
- encodings_pars_fragment: string;
31
+ colorspace_fragment: string;
32
+ colorspace_pars_fragment: string;
31
33
  envmap_fragment: string;
32
34
  envmap_common_pars_fragment: string;
33
35
  envmap_pars_fragment: string;
@@ -77,7 +79,7 @@ export const ShaderChunk: {
77
79
  clearcoat_normal_fragment_maps: string;
78
80
  clearcoat_pars_fragment: string;
79
81
  iridescence_pars_fragment: string;
80
- output_fragment: string;
82
+ opaque_fragment: string;
81
83
  packing: string;
82
84
  premultiplied_alpha_fragment: string;
83
85
  project_vertex: string;
@@ -1,4 +1,4 @@
1
- import { IUniform } from './UniformsLib';
1
+ import { IUniform } from './UniformsLib.js';
2
2
 
3
3
  export interface Shader {
4
4
  uniforms: { [uniform: string]: IUniform };
@@ -1,6 +1,6 @@
1
- import { Color } from '../../math/Color';
2
- import { Vector2 } from '../../math/Vector2';
3
- import { Matrix3 } from '../../math/Matrix3';
1
+ import { Color } from '../../math/Color.js';
2
+ import { Vector2 } from '../../math/Vector2.js';
3
+ import { Matrix3 } from '../../math/Matrix3.js';
4
4
 
5
5
  // tslint:disable-next-line:interface-name
6
6
  export interface IUniform<TValue = any> {
@@ -1,4 +1,4 @@
1
- import { UniformsGroup } from '../../core/UniformsGroup';
1
+ import { UniformsGroup } from '../../core/UniformsGroup.js';
2
2
 
3
3
  export function cloneUniforms(uniforms_src: any): any;
4
4
  export function mergeUniforms(uniforms: any): any;
@@ -1,17 +1,19 @@
1
- import { WebGLCapabilities } from './WebGLCapabilities';
2
- import { BufferAttribute } from '../../core/BufferAttribute';
3
- import { InterleavedBufferAttribute } from '../../core/InterleavedBufferAttribute';
4
- import { GLBufferAttribute } from '../../core/GLBufferAttribute';
1
+ import { WebGLCapabilities } from './WebGLCapabilities.js';
2
+ import { BufferAttribute } from '../../core/BufferAttribute.js';
3
+ import { InterleavedBufferAttribute } from '../../core/InterleavedBufferAttribute.js';
4
+ import { GLBufferAttribute } from '../../core/GLBufferAttribute.js';
5
5
 
6
6
  export class WebGLAttributes {
7
7
  constructor(gl: WebGLRenderingContext | WebGL2RenderingContext, capabilities: WebGLCapabilities);
8
8
 
9
- get(attribute: BufferAttribute | InterleavedBufferAttribute | GLBufferAttribute): {
10
- buffer: WebGLBuffer;
11
- type: number;
12
- bytesPerElement: number;
13
- version: number;
14
- };
9
+ get(attribute: BufferAttribute | InterleavedBufferAttribute | GLBufferAttribute):
10
+ | {
11
+ buffer: WebGLBuffer;
12
+ type: number;
13
+ bytesPerElement: number;
14
+ version: number;
15
+ }
16
+ | undefined;
15
17
 
16
18
  remove(attribute: BufferAttribute | InterleavedBufferAttribute | GLBufferAttribute): void;
17
19
 
@@ -1,11 +1,11 @@
1
- import { WebGLExtensions } from './WebGLExtensions';
2
- import { WebGLAttributes } from './WebGLAttributes';
3
- import { WebGLProgram } from './WebGLProgram';
4
- import { WebGLCapabilities } from './WebGLCapabilities';
5
- import { Object3D } from './../../core/Object3D';
6
- import { BufferGeometry } from './../../core/BufferGeometry';
7
- import { BufferAttribute } from './../../core/BufferAttribute';
8
- import { Material } from './../../materials/Material';
1
+ import { WebGLExtensions } from './WebGLExtensions.js';
2
+ import { WebGLAttributes } from './WebGLAttributes.js';
3
+ import { WebGLProgram } from './WebGLProgram.js';
4
+ import { WebGLCapabilities } from './WebGLCapabilities.js';
5
+ import { Object3D } from './../../core/Object3D.js';
6
+ import { BufferGeometry } from './../../core/BufferGeometry.js';
7
+ import { BufferAttribute } from './../../core/BufferAttribute.js';
8
+ import { Material } from './../../materials/Material.js';
9
9
 
10
10
  export class WebGLBindingStates {
11
11
  constructor(