@babylonjs/core 8.2.0 → 8.2.2

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 (1436) hide show
  1. package/Actions/abstractActionManager.d.ts +4 -4
  2. package/Actions/action.d.ts +9 -9
  3. package/Actions/actionEvent.d.ts +5 -5
  4. package/Actions/actionManager.d.ts +6 -6
  5. package/Actions/condition.d.ts +1 -1
  6. package/Actions/directActions.d.ts +3 -3
  7. package/Actions/directAudioActions.d.ts +3 -3
  8. package/Actions/index.d.ts +8 -8
  9. package/Actions/interpolateValueAction.d.ts +3 -3
  10. package/Animations/animatable.core.d.ts +2 -2
  11. package/Animations/animatable.d.ts +8 -8
  12. package/Animations/animatable.interface.d.ts +2 -2
  13. package/Animations/animation.d.ts +13 -13
  14. package/Animations/animationGroup.d.ts +8 -8
  15. package/Animations/animationKey.d.ts +1 -1
  16. package/Animations/index.d.ts +12 -12
  17. package/Animations/pathCursor.d.ts +2 -2
  18. package/Animations/runtimeAnimation.d.ts +4 -4
  19. package/Audio/Interfaces/IAudioEngine.d.ts +4 -4
  20. package/Audio/analyser.d.ts +2 -2
  21. package/Audio/audioEngine.d.ts +4 -4
  22. package/Audio/audioSceneComponent.d.ts +8 -8
  23. package/Audio/index.d.ts +8 -8
  24. package/Audio/sound.d.ts +6 -6
  25. package/Audio/soundTrack.d.ts +4 -4
  26. package/Audio/weightedsound.d.ts +1 -1
  27. package/AudioV2/abstractAudio/abstractAudioBus.d.ts +5 -5
  28. package/AudioV2/abstractAudio/abstractAudioNode.d.ts +2 -2
  29. package/AudioV2/abstractAudio/abstractSound.d.ts +12 -12
  30. package/AudioV2/abstractAudio/abstractSoundInstance.d.ts +4 -4
  31. package/AudioV2/abstractAudio/audioBus.d.ts +7 -7
  32. package/AudioV2/abstractAudio/audioEngineV2.d.ts +8 -8
  33. package/AudioV2/abstractAudio/components/spatialAudioAttacherComponent.d.ts +5 -5
  34. package/AudioV2/abstractAudio/index.d.ts +10 -10
  35. package/AudioV2/abstractAudio/mainAudioBus.d.ts +3 -3
  36. package/AudioV2/abstractAudio/mainAudioOut.d.ts +2 -2
  37. package/AudioV2/abstractAudio/staticSound.d.ts +5 -5
  38. package/AudioV2/abstractAudio/staticSoundBuffer.d.ts +1 -1
  39. package/AudioV2/abstractAudio/staticSoundInstance.d.ts +3 -3
  40. package/AudioV2/abstractAudio/streamingSound.d.ts +4 -4
  41. package/AudioV2/abstractAudio/streamingSoundInstance.d.ts +4 -4
  42. package/AudioV2/abstractAudio/subNodes/abstractAudioSubGraph.d.ts +3 -3
  43. package/AudioV2/abstractAudio/subNodes/abstractAudioSubNode.d.ts +2 -2
  44. package/AudioV2/abstractAudio/subNodes/audioAnalyzerSubNode.d.ts +6 -6
  45. package/AudioV2/abstractAudio/subNodes/spatialAudioSubNode.d.ts +9 -9
  46. package/AudioV2/abstractAudio/subNodes/stereoAudioSubNode.d.ts +6 -6
  47. package/AudioV2/abstractAudio/subNodes/volumeAudioSubNode.d.ts +4 -4
  48. package/AudioV2/abstractAudio/subProperties/abstractSpatialAudio.d.ts +4 -4
  49. package/AudioV2/abstractAudio/subProperties/abstractSpatialAudioListener.d.ts +4 -4
  50. package/AudioV2/abstractAudio/subProperties/audioAnalyzer.d.ts +3 -3
  51. package/AudioV2/abstractAudio/subProperties/index.d.ts +4 -4
  52. package/AudioV2/abstractAudio/subProperties/spatialAudio.d.ts +6 -6
  53. package/AudioV2/abstractAudio/subProperties/spatialAudioListener.d.ts +6 -6
  54. package/AudioV2/abstractAudio/subProperties/stereoAudio.d.ts +2 -2
  55. package/AudioV2/index.d.ts +4 -4
  56. package/AudioV2/webAudio/index.d.ts +5 -5
  57. package/AudioV2/webAudio/subNodes/spatialWebAudioSubNode.d.ts +4 -4
  58. package/AudioV2/webAudio/subNodes/stereoWebAudioSubNode.d.ts +3 -3
  59. package/AudioV2/webAudio/subNodes/volumeWebAudioSubNode.d.ts +3 -3
  60. package/AudioV2/webAudio/subNodes/webAudioAnalyzerSubNode.d.ts +4 -4
  61. package/AudioV2/webAudio/subNodes/webAudioBaseSubGraph.d.ts +7 -7
  62. package/AudioV2/webAudio/subNodes/webAudioBusAndSoundSubGraph.d.ts +7 -7
  63. package/AudioV2/webAudio/subProperties/spatialWebAudio.d.ts +2 -2
  64. package/AudioV2/webAudio/subProperties/spatialWebAudioListener.d.ts +2 -2
  65. package/AudioV2/webAudio/webAudioBus.d.ts +7 -7
  66. package/AudioV2/webAudio/webAudioEngine.d.ts +11 -11
  67. package/AudioV2/webAudio/webAudioMainBus.d.ts +6 -6
  68. package/AudioV2/webAudio/webAudioMainOut.d.ts +3 -3
  69. package/AudioV2/webAudio/webAudioNode.d.ts +4 -4
  70. package/AudioV2/webAudio/webAudioStaticSound.d.ts +13 -13
  71. package/AudioV2/webAudio/webAudioStreamingSound.d.ts +10 -10
  72. package/AudioV2/webAudio/webAudioUnmuteUI.d.ts +1 -1
  73. package/BakedVertexAnimation/bakedVertexAnimationManager.d.ts +5 -5
  74. package/BakedVertexAnimation/index.d.ts +2 -2
  75. package/BakedVertexAnimation/vertexAnimationBaker.d.ts +4 -4
  76. package/Behaviors/Cameras/autoRotationBehavior.d.ts +3 -3
  77. package/Behaviors/Cameras/bouncingBehavior.d.ts +3 -3
  78. package/Behaviors/Cameras/framingBehavior.d.ts +7 -7
  79. package/Behaviors/Cameras/index.d.ts +3 -3
  80. package/Behaviors/Meshes/attachToBoxBehavior.d.ts +3 -3
  81. package/Behaviors/Meshes/baseSixDofDragBehavior.d.ts +9 -9
  82. package/Behaviors/Meshes/fadeInOutBehavior.d.ts +2 -2
  83. package/Behaviors/Meshes/followBehavior.d.ts +4 -4
  84. package/Behaviors/Meshes/handConstraintBehavior.d.ts +4 -4
  85. package/Behaviors/Meshes/index.d.ts +9 -9
  86. package/Behaviors/Meshes/multiPointerScaleBehavior.d.ts +2 -2
  87. package/Behaviors/Meshes/pointerDragBehavior.d.ts +8 -8
  88. package/Behaviors/Meshes/sixDofDragBehavior.d.ts +4 -4
  89. package/Behaviors/Meshes/surfaceMagnetismBehavior.d.ts +5 -5
  90. package/Behaviors/behavior.d.ts +1 -1
  91. package/Behaviors/index.d.ts +3 -3
  92. package/Bones/bone.d.ts +8 -8
  93. package/Bones/boneIKController.d.ts +4 -4
  94. package/Bones/boneLookController.d.ts +4 -4
  95. package/Bones/index.d.ts +4 -4
  96. package/Bones/skeleton.d.ts +13 -13
  97. package/Buffers/buffer.align.d.ts +2 -2
  98. package/Buffers/buffer.d.ts +3 -3
  99. package/Buffers/buffer.nonFloatVertexBuffers.d.ts +3 -3
  100. package/Buffers/bufferUtils.d.ts +1 -1
  101. package/Buffers/index.d.ts +5 -5
  102. package/Buffers/storageBuffer.d.ts +2 -2
  103. package/Cameras/Inputs/BaseCameraMouseWheelInput.d.ts +3 -3
  104. package/Cameras/Inputs/BaseCameraPointersInput.d.ts +5 -5
  105. package/Cameras/Inputs/arcRotateCameraGamepadInput.d.ts +4 -4
  106. package/Cameras/Inputs/arcRotateCameraKeyboardMoveInput.d.ts +2 -2
  107. package/Cameras/Inputs/arcRotateCameraMouseWheelInput.d.ts +4 -4
  108. package/Cameras/Inputs/arcRotateCameraPointersInput.d.ts +5 -5
  109. package/Cameras/Inputs/arcRotateCameraVRDeviceOrientationInput.d.ts +3 -3
  110. package/Cameras/Inputs/flyCameraKeyboardInput.d.ts +2 -2
  111. package/Cameras/Inputs/flyCameraMouseInput.d.ts +2 -2
  112. package/Cameras/Inputs/followCameraKeyboardMoveInput.d.ts +2 -2
  113. package/Cameras/Inputs/followCameraMouseWheelInput.d.ts +2 -2
  114. package/Cameras/Inputs/followCameraPointersInput.d.ts +4 -4
  115. package/Cameras/Inputs/freeCameraDeviceOrientationInput.d.ts +5 -5
  116. package/Cameras/Inputs/freeCameraGamepadInput.d.ts +4 -4
  117. package/Cameras/Inputs/freeCameraKeyboardMoveInput.d.ts +2 -2
  118. package/Cameras/Inputs/freeCameraMouseInput.d.ts +3 -3
  119. package/Cameras/Inputs/freeCameraMouseWheelInput.d.ts +4 -4
  120. package/Cameras/Inputs/freeCameraTouchInput.d.ts +2 -2
  121. package/Cameras/Inputs/freeCameraVirtualJoystickInput.d.ts +4 -4
  122. package/Cameras/Inputs/index.d.ts +19 -19
  123. package/Cameras/RigModes/index.d.ts +3 -3
  124. package/Cameras/RigModes/stereoscopicAnaglyphRigMode.d.ts +1 -1
  125. package/Cameras/RigModes/stereoscopicRigMode.d.ts +1 -1
  126. package/Cameras/RigModes/vrRigMode.d.ts +1 -1
  127. package/Cameras/Stereoscopic/anaglyphArcRotateCamera.d.ts +3 -3
  128. package/Cameras/Stereoscopic/anaglyphFreeCamera.d.ts +3 -3
  129. package/Cameras/Stereoscopic/anaglyphGamepadCamera.d.ts +3 -3
  130. package/Cameras/Stereoscopic/anaglyphUniversalCamera.d.ts +3 -3
  131. package/Cameras/Stereoscopic/index.d.ts +9 -9
  132. package/Cameras/Stereoscopic/stereoscopicArcRotateCamera.d.ts +3 -3
  133. package/Cameras/Stereoscopic/stereoscopicFreeCamera.d.ts +3 -3
  134. package/Cameras/Stereoscopic/stereoscopicGamepadCamera.d.ts +3 -3
  135. package/Cameras/Stereoscopic/stereoscopicScreenUniversalCamera.d.ts +5 -5
  136. package/Cameras/Stereoscopic/stereoscopicUniversalCamera.d.ts +3 -3
  137. package/Cameras/VR/index.d.ts +5 -5
  138. package/Cameras/VR/vrCameraMetrics.d.ts +1 -1
  139. package/Cameras/VR/vrDeviceOrientationArcRotateCamera.d.ts +5 -5
  140. package/Cameras/VR/vrDeviceOrientationFreeCamera.d.ts +4 -4
  141. package/Cameras/VR/vrDeviceOrientationGamepadCamera.d.ts +5 -5
  142. package/Cameras/VR/vrExperienceHelper.d.ts +15 -15
  143. package/Cameras/arcRotateCamera.d.ts +12 -12
  144. package/Cameras/arcRotateCameraInputsManager.d.ts +2 -2
  145. package/Cameras/camera.d.ts +16 -16
  146. package/Cameras/cameraInputsManager.d.ts +2 -2
  147. package/Cameras/deviceOrientationCamera.d.ts +5 -5
  148. package/Cameras/flyCamera.d.ts +6 -6
  149. package/Cameras/flyCameraInputsManager.d.ts +2 -2
  150. package/Cameras/followCamera.d.ts +6 -6
  151. package/Cameras/followCameraInputsManager.d.ts +2 -2
  152. package/Cameras/freeCamera.d.ts +5 -5
  153. package/Cameras/freeCameraInputsManager.d.ts +5 -5
  154. package/Cameras/gamepadCamera.d.ts +3 -3
  155. package/Cameras/index.d.ts +20 -20
  156. package/Cameras/targetCamera.d.ts +4 -4
  157. package/Cameras/touchCamera.d.ts +3 -3
  158. package/Cameras/universalCamera.d.ts +4 -4
  159. package/Cameras/virtualJoysticksCamera.d.ts +4 -4
  160. package/Collisions/collider.d.ts +4 -4
  161. package/Collisions/collisionCoordinator.d.ts +5 -5
  162. package/Collisions/index.d.ts +10 -10
  163. package/Collisions/intersectionInfo.d.ts +1 -1
  164. package/Collisions/meshCollisionData.d.ts +5 -5
  165. package/Collisions/pickingInfo.d.ts +6 -6
  166. package/Compat/index.d.ts +1 -1
  167. package/Compute/computeEffect.d.ts +4 -4
  168. package/Compute/computeShader.d.ts +8 -8
  169. package/Compute/index.d.ts +2 -2
  170. package/Culling/Helper/computeShaderBoundingHelper.d.ts +2 -2
  171. package/Culling/Helper/transformFeedbackBoundingHelper.d.ts +3 -3
  172. package/Culling/Octrees/index.d.ts +3 -3
  173. package/Culling/Octrees/octree.d.ts +7 -7
  174. package/Culling/Octrees/octreeBlock.d.ts +4 -4
  175. package/Culling/Octrees/octreeSceneComponent.d.ts +9 -9
  176. package/Culling/boundingBox.d.ts +6 -6
  177. package/Culling/boundingInfo.d.ts +7 -7
  178. package/Culling/boundingSphere.d.ts +3 -3
  179. package/Culling/index.d.ts +8 -8
  180. package/Culling/ray.core.d.ts +3 -3
  181. package/Culling/ray.d.ts +1 -1
  182. package/Debug/ISkeletonViewer.d.ts +2 -2
  183. package/Debug/axesViewer.d.ts +4 -4
  184. package/Debug/boneAxesViewer.d.ts +6 -6
  185. package/Debug/debugLayer.d.ts +4 -4
  186. package/Debug/directionalLightFrustumViewer.d.ts +3 -3
  187. package/Debug/index.d.ts +8 -8
  188. package/Debug/physicsViewer.d.ts +11 -11
  189. package/Debug/rayHelper.d.ts +6 -6
  190. package/Debug/skeletonViewer.d.ts +9 -9
  191. package/Decorators/nodeDecorator.d.ts +2 -2
  192. package/DeviceInput/InputDevices/deviceSource.d.ts +5 -5
  193. package/DeviceInput/InputDevices/deviceSourceManager.d.ts +8 -8
  194. package/DeviceInput/InputDevices/deviceTypes.d.ts +1 -1
  195. package/DeviceInput/eventFactory.d.ts +4 -4
  196. package/DeviceInput/index.d.ts +4 -4
  197. package/DeviceInput/inputInterfaces.d.ts +2 -2
  198. package/DeviceInput/internalDeviceSourceManager.d.ts +8 -8
  199. package/DeviceInput/nativeDeviceInputSystem.d.ts +3 -3
  200. package/DeviceInput/webDeviceInputSystem.d.ts +4 -4
  201. package/Engines/AbstractEngine/abstractEngine.alpha.d.ts +1 -1
  202. package/Engines/AbstractEngine/abstractEngine.cubeTexture.d.ts +4 -4
  203. package/Engines/AbstractEngine/abstractEngine.dom.d.ts +3 -3
  204. package/Engines/AbstractEngine/abstractEngine.loadingScreen.d.ts +2 -2
  205. package/Engines/AbstractEngine/abstractEngine.query.d.ts +3 -3
  206. package/Engines/AbstractEngine/abstractEngine.renderPass.d.ts +1 -1
  207. package/Engines/AbstractEngine/abstractEngine.states.d.ts +3 -3
  208. package/Engines/AbstractEngine/abstractEngine.texture.d.ts +4 -4
  209. package/Engines/AbstractEngine/abstractEngine.timeQuery.d.ts +3 -3
  210. package/Engines/AbstractEngine/abstractEngine.views.d.ts +4 -4
  211. package/Engines/AbstractEngine/index.d.ts +10 -10
  212. package/Engines/Extensions/engine.alpha.d.ts +1 -1
  213. package/Engines/Extensions/engine.computeShader.d.ts +7 -7
  214. package/Engines/Extensions/engine.cubeTexture.d.ts +5 -5
  215. package/Engines/Extensions/engine.debugging.d.ts +1 -1
  216. package/Engines/Extensions/engine.dynamicBuffer.d.ts +3 -3
  217. package/Engines/Extensions/engine.dynamicTexture.d.ts +4 -4
  218. package/Engines/Extensions/engine.multiRender.d.ts +5 -5
  219. package/Engines/Extensions/engine.multiview.d.ts +9 -9
  220. package/Engines/Extensions/engine.prefilteredCubeTexture.d.ts +4 -4
  221. package/Engines/Extensions/engine.query.d.ts +7 -7
  222. package/Engines/Extensions/engine.rawTexture.d.ts +4 -4
  223. package/Engines/Extensions/engine.readTexture.d.ts +4 -4
  224. package/Engines/Extensions/engine.renderTarget.d.ts +6 -6
  225. package/Engines/Extensions/engine.renderTargetCube.d.ts +3 -3
  226. package/Engines/Extensions/engine.renderTargetTexture.d.ts +3 -3
  227. package/Engines/Extensions/engine.textureSelector.d.ts +2 -2
  228. package/Engines/Extensions/engine.transformFeedback.d.ts +3 -3
  229. package/Engines/Extensions/engine.uniformBuffer.d.ts +4 -4
  230. package/Engines/Extensions/engine.videoTexture.d.ts +4 -4
  231. package/Engines/Extensions/engine.views.d.ts +1 -1
  232. package/Engines/Extensions/index.d.ts +20 -20
  233. package/Engines/IPipelineContext.d.ts +4 -4
  234. package/Engines/Native/index.d.ts +2 -2
  235. package/Engines/Native/nativeDataStream.d.ts +1 -1
  236. package/Engines/Native/nativeHardwareTexture.d.ts +3 -3
  237. package/Engines/Native/nativeInterfaces.d.ts +6 -6
  238. package/Engines/Native/nativePipelineContext.d.ts +8 -8
  239. package/Engines/Native/nativeRenderTargetWrapper.d.ts +5 -5
  240. package/Engines/Native/nativeShaderProcessingContext.d.ts +1 -1
  241. package/Engines/Native/nativeShaderProcessors.d.ts +4 -4
  242. package/Engines/Native/validatedNativeDataStream.d.ts +2 -2
  243. package/Engines/Processors/Expressions/Operators/index.d.ts +4 -4
  244. package/Engines/Processors/Expressions/Operators/shaderDefineAndOperator.d.ts +1 -1
  245. package/Engines/Processors/Expressions/Operators/shaderDefineArithmeticOperator.d.ts +1 -1
  246. package/Engines/Processors/Expressions/Operators/shaderDefineArithmeticOperator.js +2 -6
  247. package/Engines/Processors/Expressions/Operators/shaderDefineArithmeticOperator.js.map +1 -1
  248. package/Engines/Processors/Expressions/Operators/shaderDefineIsDefinedOperator.d.ts +1 -1
  249. package/Engines/Processors/Expressions/Operators/shaderDefineOrOperator.d.ts +1 -1
  250. package/Engines/Processors/Expressions/index.d.ts +2 -2
  251. package/Engines/Processors/iShaderProcessor.d.ts +8 -4
  252. package/Engines/Processors/iShaderProcessor.js.map +1 -1
  253. package/Engines/Processors/index.d.ts +9 -9
  254. package/Engines/Processors/shaderCodeConditionNode.d.ts +5 -3
  255. package/Engines/Processors/shaderCodeConditionNode.js +2 -2
  256. package/Engines/Processors/shaderCodeConditionNode.js.map +1 -1
  257. package/Engines/Processors/shaderCodeNode.d.ts +4 -2
  258. package/Engines/Processors/shaderCodeNode.js +3 -2
  259. package/Engines/Processors/shaderCodeNode.js.map +1 -1
  260. package/Engines/Processors/shaderCodeTestNode.d.ts +2 -2
  261. package/Engines/Processors/shaderProcessingOptions.d.ts +2 -2
  262. package/Engines/Processors/shaderProcessor.d.ts +6 -6
  263. package/Engines/Processors/shaderProcessor.js +16 -14
  264. package/Engines/Processors/shaderProcessor.js.map +1 -1
  265. package/Engines/WebGL/webGL2ShaderProcessors.d.ts +2 -2
  266. package/Engines/WebGL/webGLHardwareTexture.d.ts +2 -2
  267. package/Engines/WebGL/webGLPipelineContext.d.ts +6 -6
  268. package/Engines/WebGL/webGLRenderTargetWrapper.d.ts +5 -5
  269. package/Engines/WebGL/webGLShaderProcessors.d.ts +4 -4
  270. package/Engines/WebGPU/Extensions/engine.alpha.d.ts +2 -2
  271. package/Engines/WebGPU/Extensions/engine.computeShader.d.ts +7 -7
  272. package/Engines/WebGPU/Extensions/engine.cubeTexture.d.ts +5 -5
  273. package/Engines/WebGPU/Extensions/engine.dynamicTexture.d.ts +4 -4
  274. package/Engines/WebGPU/Extensions/engine.multiRender.d.ts +5 -5
  275. package/Engines/WebGPU/Extensions/engine.query.d.ts +1 -1
  276. package/Engines/WebGPU/Extensions/engine.rawTexture.d.ts +4 -4
  277. package/Engines/WebGPU/Extensions/engine.readTexture.d.ts +3 -3
  278. package/Engines/WebGPU/Extensions/engine.renderTarget.d.ts +6 -6
  279. package/Engines/WebGPU/Extensions/engine.renderTargetCube.d.ts +3 -3
  280. package/Engines/WebGPU/Extensions/engine.renderTargetTexture.d.ts +3 -3
  281. package/Engines/WebGPU/Extensions/engine.videoTexture.d.ts +4 -4
  282. package/Engines/WebGPU/Extensions/index.d.ts +13 -13
  283. package/Engines/WebGPU/webgpuBufferManager.d.ts +4 -4
  284. package/Engines/WebGPU/webgpuBundleList.d.ts +1 -1
  285. package/Engines/WebGPU/webgpuCacheBindGroups.d.ts +5 -5
  286. package/Engines/WebGPU/webgpuCacheRenderPipeline.d.ts +5 -5
  287. package/Engines/WebGPU/webgpuCacheRenderPipelineString.d.ts +2 -2
  288. package/Engines/WebGPU/webgpuCacheRenderPipelineTree.d.ts +2 -2
  289. package/Engines/WebGPU/webgpuCacheSampler.d.ts +2 -2
  290. package/Engines/WebGPU/webgpuClearQuad.d.ts +7 -7
  291. package/Engines/WebGPU/webgpuComputeContext.d.ts +3 -3
  292. package/Engines/WebGPU/webgpuComputePipelineContext.d.ts +3 -3
  293. package/Engines/WebGPU/webgpuDepthCullingState.d.ts +3 -3
  294. package/Engines/WebGPU/webgpuDrawContext.d.ts +4 -4
  295. package/Engines/WebGPU/webgpuExternalTexture.d.ts +1 -1
  296. package/Engines/WebGPU/webgpuHardwareTexture.d.ts +3 -3
  297. package/Engines/WebGPU/webgpuMaterialContext.d.ts +5 -5
  298. package/Engines/WebGPU/webgpuOcclusionQuery.d.ts +2 -2
  299. package/Engines/WebGPU/webgpuPerfCounter.d.ts +1 -1
  300. package/Engines/WebGPU/webgpuPipelineContext.d.ts +8 -8
  301. package/Engines/WebGPU/webgpuQuerySet.d.ts +3 -3
  302. package/Engines/WebGPU/webgpuRenderTargetWrapper.d.ts +4 -4
  303. package/Engines/WebGPU/webgpuShaderProcessingContext.d.ts +2 -2
  304. package/Engines/WebGPU/webgpuShaderProcessor.d.ts +4 -4
  305. package/Engines/WebGPU/webgpuShaderProcessorsGLSL.d.ts +5 -5
  306. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.d.ts +22 -18
  307. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js +64 -21
  308. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js.map +1 -1
  309. package/Engines/WebGPU/webgpuSnapshotRendering.d.ts +2 -2
  310. package/Engines/WebGPU/webgpuStencilStateComposer.d.ts +2 -2
  311. package/Engines/WebGPU/webgpuTextureHelper.d.ts +2 -2
  312. package/Engines/WebGPU/webgpuTextureManager.d.ts +6 -6
  313. package/Engines/WebGPU/webgpuTimestampQuery.d.ts +4 -4
  314. package/Engines/abstractEngine.d.ts +41 -41
  315. package/Engines/abstractEngine.js +2 -2
  316. package/Engines/abstractEngine.js.map +1 -1
  317. package/Engines/engine.common.d.ts +3 -3
  318. package/Engines/engine.d.ts +30 -30
  319. package/Engines/engineFactory.d.ts +1 -1
  320. package/Engines/engineStore.d.ts +4 -4
  321. package/Engines/index.d.ts +39 -39
  322. package/Engines/nativeEngine.d.ts +27 -27
  323. package/Engines/nullEngine.d.ts +13 -13
  324. package/Engines/renderTargetWrapper.d.ts +4 -4
  325. package/Engines/shaderStore.d.ts +1 -1
  326. package/Engines/thinEngine.d.ts +28 -28
  327. package/Engines/thinEngine.functions.d.ts +6 -6
  328. package/Engines/thinEngine.functions.js.map +1 -1
  329. package/Engines/thinEngine.js +3 -0
  330. package/Engines/thinEngine.js.map +1 -1
  331. package/Engines/thinWebGPUEngine.d.ts +8 -8
  332. package/Engines/webgpuEngine.d.ts +48 -48
  333. package/Events/deviceInputEvents.d.ts +1 -1
  334. package/Events/index.d.ts +4 -4
  335. package/Events/keyboardEvents.d.ts +1 -1
  336. package/Events/pointerEvents.d.ts +6 -6
  337. package/FlowGraph/Blocks/Data/Math/flowGraphMathBlocks.d.ts +12 -7
  338. package/FlowGraph/Blocks/Data/Math/flowGraphMathBlocks.js +26 -7
  339. package/FlowGraph/Blocks/Data/Math/flowGraphMathBlocks.js.map +1 -1
  340. package/FlowGraph/Blocks/Data/Math/flowGraphMathCombineExtractBlocks.d.ts +1 -1
  341. package/FlowGraph/Blocks/Data/Math/flowGraphMatrixMathBlocks.d.ts +2 -2
  342. package/FlowGraph/Blocks/Data/Math/flowGraphVectorMathBlocks.d.ts +3 -3
  343. package/FlowGraph/Blocks/Data/Math/index.d.ts +4 -4
  344. package/FlowGraph/Blocks/Data/Transformers/flowGraphJsonPointerParserBlock.d.ts +1 -1
  345. package/FlowGraph/Blocks/Data/Transformers/flowGraphTypeToTypeBlocks.d.ts +1 -1
  346. package/FlowGraph/Blocks/Data/Transformers/index.d.ts +2 -2
  347. package/FlowGraph/Blocks/Data/Utils/index.d.ts +5 -5
  348. package/FlowGraph/Blocks/Data/flowGraphBinaryOperationBlock.d.ts +5 -5
  349. package/FlowGraph/Blocks/Data/flowGraphCachedOperationBlock.d.ts +5 -5
  350. package/FlowGraph/Blocks/Data/flowGraphConditionalDataBlock.d.ts +4 -4
  351. package/FlowGraph/Blocks/Data/flowGraphConstantBlock.d.ts +1 -1
  352. package/FlowGraph/Blocks/Data/flowGraphConstantOperationBlock.d.ts +4 -4
  353. package/FlowGraph/Blocks/Data/flowGraphGetPropertyBlock.d.ts +1 -1
  354. package/FlowGraph/Blocks/Data/flowGraphGetVariableBlock.d.ts +4 -4
  355. package/FlowGraph/Blocks/Data/flowGraphTernaryOperationBlock.d.ts +5 -5
  356. package/FlowGraph/Blocks/Data/flowGraphTransformCoordinatesSystemBlock.d.ts +6 -6
  357. package/FlowGraph/Blocks/Data/flowGraphUnaryOperationBlock.d.ts +5 -5
  358. package/FlowGraph/Blocks/Data/index.d.ts +12 -12
  359. package/FlowGraph/Blocks/Event/flowGraphMeshPickEventBlock.d.ts +6 -6
  360. package/FlowGraph/Blocks/Event/flowGraphPointerOutEventBlock.d.ts +1 -1
  361. package/FlowGraph/Blocks/Event/flowGraphPointerOverEventBlock.d.ts +1 -1
  362. package/FlowGraph/Blocks/Event/flowGraphReceiveCustomEventBlock.d.ts +4 -4
  363. package/FlowGraph/Blocks/Event/flowGraphSceneReadyEventBlock.d.ts +2 -2
  364. package/FlowGraph/Blocks/Event/flowGraphSceneTickEventBlock.d.ts +1 -1
  365. package/FlowGraph/Blocks/Event/flowGraphSendCustomEventBlock.d.ts +3 -3
  366. package/FlowGraph/Blocks/Event/index.d.ts +7 -7
  367. package/FlowGraph/Blocks/Execution/Animation/flowGraphInterpolationBlock.d.ts +1 -1
  368. package/FlowGraph/Blocks/Execution/Animation/flowGraphInterpolationBlock.js +1 -1
  369. package/FlowGraph/Blocks/Execution/Animation/flowGraphInterpolationBlock.js.map +1 -1
  370. package/FlowGraph/Blocks/Execution/Animation/flowGraphPauseAnimationBlock.d.ts +4 -4
  371. package/FlowGraph/Blocks/Execution/Animation/flowGraphPlayAnimationBlock.d.ts +4 -4
  372. package/FlowGraph/Blocks/Execution/Animation/flowGraphStopAnimationBlock.d.ts +3 -3
  373. package/FlowGraph/Blocks/Execution/Animation/index.d.ts +6 -6
  374. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphBranchBlock.d.ts +5 -5
  375. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphCancelDelayBlock.d.ts +5 -5
  376. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphCounterBlock.d.ts +5 -5
  377. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphDebounceBlock.d.ts +1 -1
  378. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphDoNBlock.d.ts +6 -6
  379. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphFlipFlopBlock.d.ts +1 -1
  380. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphForLoopBlock.d.ts +4 -4
  381. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphMultiGateBlock.d.ts +5 -5
  382. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSequenceBlock.d.ts +4 -4
  383. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSetDelayBlock.d.ts +5 -5
  384. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSwitchBlock.d.ts +5 -5
  385. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphThrottleBlock.d.ts +5 -5
  386. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWaitAllBlock.d.ts +4 -4
  387. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWhileLoopBlock.d.ts +5 -5
  388. package/FlowGraph/Blocks/Execution/ControlFlow/index.d.ts +14 -14
  389. package/FlowGraph/Blocks/Execution/flowGraphConsoleLogBlock.d.ts +4 -4
  390. package/FlowGraph/Blocks/Execution/flowGraphSetVariableBlock.d.ts +4 -4
  391. package/FlowGraph/Blocks/Execution/index.d.ts +3 -3
  392. package/FlowGraph/Blocks/flowGraphBlockFactory.d.ts +2 -2
  393. package/FlowGraph/Blocks/index.d.ts +5 -5
  394. package/FlowGraph/CustomTypes/index.d.ts +2 -2
  395. package/FlowGraph/flowGraph.d.ts +9 -9
  396. package/FlowGraph/flowGraphAsyncExecutionBlock.d.ts +4 -4
  397. package/FlowGraph/flowGraphBlock.d.ts +7 -7
  398. package/FlowGraph/flowGraphContext.d.ts +10 -10
  399. package/FlowGraph/flowGraphCoordinator.d.ts +4 -4
  400. package/FlowGraph/flowGraphDataConnection.d.ts +4 -4
  401. package/FlowGraph/flowGraphEventBlock.d.ts +3 -3
  402. package/FlowGraph/flowGraphExecutionBlock.d.ts +4 -4
  403. package/FlowGraph/flowGraphExecutionBlockWithOutSignal.d.ts +3 -3
  404. package/FlowGraph/flowGraphParser.d.ts +10 -10
  405. package/FlowGraph/flowGraphPathConverter.d.ts +3 -3
  406. package/FlowGraph/flowGraphPathConverterComponent.d.ts +6 -6
  407. package/FlowGraph/flowGraphPathConverterComponent.js +1 -1
  408. package/FlowGraph/flowGraphPathConverterComponent.js.map +1 -1
  409. package/FlowGraph/flowGraphRichTypes.d.ts +4 -4
  410. package/FlowGraph/flowGraphSceneEventCoordinator.d.ts +1 -1
  411. package/FlowGraph/flowGraphSignalConnection.d.ts +3 -3
  412. package/FlowGraph/index.d.ts +18 -18
  413. package/FlowGraph/serialization.d.ts +2 -2
  414. package/FlowGraph/typeDefinitions.d.ts +1 -1
  415. package/FlowGraph/utils.d.ts +3 -3
  416. package/FrameGraph/Node/Blocks/Layers/glowLayerBlock.d.ts +1 -1
  417. package/FrameGraph/Node/Blocks/Layers/highlightLayerBlock.d.ts +1 -1
  418. package/FrameGraph/Node/Blocks/PostProcesses/anaglyphPostProcessBlock.d.ts +1 -1
  419. package/FrameGraph/Node/Blocks/PostProcesses/basePostProcessBlock.d.ts +1 -1
  420. package/FrameGraph/Node/Blocks/PostProcesses/blackAndWhitePostProcessBlock.d.ts +1 -1
  421. package/FrameGraph/Node/Blocks/PostProcesses/bloomPostProcessBlock.d.ts +2 -2
  422. package/FrameGraph/Node/Blocks/PostProcesses/blurPostProcessBlock.d.ts +1 -1
  423. package/FrameGraph/Node/Blocks/PostProcesses/chromaticAberrationPostProcessBlock.d.ts +1 -1
  424. package/FrameGraph/Node/Blocks/PostProcesses/circleOfConfusionPostProcessBlock.d.ts +1 -1
  425. package/FrameGraph/Node/Blocks/PostProcesses/depthOfFieldPostProcessBlock.d.ts +2 -2
  426. package/FrameGraph/Node/Blocks/PostProcesses/extractHighlightsPostProcessBlock.d.ts +1 -1
  427. package/FrameGraph/Node/Blocks/PostProcesses/imageProcessingPostProcessBlock.d.ts +2 -2
  428. package/FrameGraph/Node/Blocks/PostProcesses/passPostProcessBlock.d.ts +1 -1
  429. package/FrameGraph/Node/Blocks/PostProcesses/ssrPostProcessBlock.d.ts +2 -2
  430. package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.d.ts +2 -2
  431. package/FrameGraph/Node/Blocks/Rendering/baseShadowGeneratorBlock.d.ts +1 -1
  432. package/FrameGraph/Node/Blocks/Rendering/csmShadowGeneratorBlock.d.ts +2 -2
  433. package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.d.ts +2 -2
  434. package/FrameGraph/Node/Blocks/Rendering/objectRendererBlock.d.ts +1 -1
  435. package/FrameGraph/Node/Blocks/Rendering/shadowGeneratorBlock.d.ts +1 -1
  436. package/FrameGraph/Node/Blocks/Rendering/taaObjectRendererBlock.d.ts +1 -1
  437. package/FrameGraph/Node/Blocks/Rendering/utilityLayerRendererBlock.d.ts +2 -2
  438. package/FrameGraph/Node/Blocks/Teleport/teleportInBlock.d.ts +1 -1
  439. package/FrameGraph/Node/Blocks/Teleport/teleportOutBlock.d.ts +1 -1
  440. package/FrameGraph/Node/Blocks/Textures/clearBlock.d.ts +3 -3
  441. package/FrameGraph/Node/Blocks/Textures/copyTextureBlock.d.ts +2 -2
  442. package/FrameGraph/Node/Blocks/Textures/generateMipmapsBlock.d.ts +2 -2
  443. package/FrameGraph/Node/Blocks/cullObjectsBlock.d.ts +2 -2
  444. package/FrameGraph/Node/Blocks/elbowBlock.d.ts +1 -1
  445. package/FrameGraph/Node/Blocks/executeBlock.d.ts +2 -2
  446. package/FrameGraph/Node/Blocks/index.d.ts +30 -30
  447. package/FrameGraph/Node/Blocks/inputBlock.d.ts +3 -3
  448. package/FrameGraph/Node/Blocks/outputBlock.d.ts +2 -2
  449. package/FrameGraph/Node/Blocks/resourceContainerBlock.d.ts +1 -1
  450. package/FrameGraph/Node/nodeRenderGraph.d.ts +4 -4
  451. package/FrameGraph/Node/nodeRenderGraphBlock.d.ts +3 -3
  452. package/FrameGraph/Node/nodeRenderGraphBlockConnectionPoint.d.ts +2 -2
  453. package/FrameGraph/Node/nodeRenderGraphConnectionPointCustomObject.d.ts +2 -2
  454. package/FrameGraph/Passes/cullPass.d.ts +1 -1
  455. package/FrameGraph/Passes/renderPass.d.ts +1 -1
  456. package/FrameGraph/Tasks/Layers/baseLayerTask.d.ts +6 -6
  457. package/FrameGraph/Tasks/Layers/glowLayerTask.d.ts +1 -1
  458. package/FrameGraph/Tasks/Layers/highlightLayerTask.d.ts +1 -1
  459. package/FrameGraph/Tasks/Misc/cullObjectsTask.d.ts +1 -1
  460. package/FrameGraph/Tasks/Misc/executeTask.d.ts +1 -1
  461. package/FrameGraph/Tasks/PostProcesses/anaglyphTask.d.ts +1 -1
  462. package/FrameGraph/Tasks/PostProcesses/blackAndWhiteTask.d.ts +1 -1
  463. package/FrameGraph/Tasks/PostProcesses/bloomMergeTask.d.ts +1 -1
  464. package/FrameGraph/Tasks/PostProcesses/bloomTask.d.ts +1 -1
  465. package/FrameGraph/Tasks/PostProcesses/blurTask.d.ts +1 -1
  466. package/FrameGraph/Tasks/PostProcesses/chromaticAberrationTask.d.ts +1 -1
  467. package/FrameGraph/Tasks/PostProcesses/circleOfConfusionTask.d.ts +1 -1
  468. package/FrameGraph/Tasks/PostProcesses/depthOfFieldBlurTask.d.ts +1 -1
  469. package/FrameGraph/Tasks/PostProcesses/depthOfFieldMergeTask.d.ts +1 -1
  470. package/FrameGraph/Tasks/PostProcesses/depthOfFieldTask.d.ts +1 -1
  471. package/FrameGraph/Tasks/PostProcesses/extractHighlightsTask.d.ts +1 -1
  472. package/FrameGraph/Tasks/PostProcesses/imageProcessingTask.d.ts +1 -1
  473. package/FrameGraph/Tasks/PostProcesses/passTask.d.ts +1 -1
  474. package/FrameGraph/Tasks/PostProcesses/postProcessTask.d.ts +1 -1
  475. package/FrameGraph/Tasks/PostProcesses/ssrBlurTask.d.ts +1 -1
  476. package/FrameGraph/Tasks/PostProcesses/ssrRenderingPipelineTask.d.ts +1 -1
  477. package/FrameGraph/Tasks/PostProcesses/ssrTask.d.ts +1 -1
  478. package/FrameGraph/Tasks/Rendering/csmShadowGeneratorTask.d.ts +2 -2
  479. package/FrameGraph/Tasks/Rendering/geometryRendererTask.d.ts +2 -2
  480. package/FrameGraph/Tasks/Rendering/objectRendererTask.d.ts +2 -2
  481. package/FrameGraph/Tasks/Rendering/shadowGeneratorTask.d.ts +2 -2
  482. package/FrameGraph/Tasks/Rendering/taaObjectRendererTask.d.ts +1 -1
  483. package/FrameGraph/Tasks/Rendering/utilityLayerRendererTask.d.ts +1 -1
  484. package/FrameGraph/Tasks/Texture/clearTextureTask.d.ts +2 -2
  485. package/FrameGraph/Tasks/Texture/copyToBackbufferColorTask.d.ts +1 -1
  486. package/FrameGraph/Tasks/Texture/copyToTextureTask.d.ts +1 -1
  487. package/FrameGraph/Tasks/Texture/generateMipMapsTask.d.ts +1 -1
  488. package/FrameGraph/frameGraph.d.ts +5 -5
  489. package/FrameGraph/frameGraphRenderContext.d.ts +1 -1
  490. package/FrameGraph/frameGraphTextureManager.d.ts +2 -2
  491. package/FrameGraph/index.d.ts +43 -43
  492. package/Gamepads/dualShockGamepad.d.ts +2 -2
  493. package/Gamepads/gamepad.d.ts +1 -1
  494. package/Gamepads/gamepadManager.d.ts +4 -4
  495. package/Gamepads/gamepadSceneComponent.d.ts +7 -7
  496. package/Gamepads/index.d.ts +5 -5
  497. package/Gamepads/xboxGamepad.d.ts +2 -2
  498. package/Gizmos/axisDragGizmo.d.ts +16 -16
  499. package/Gizmos/axisScaleGizmo.d.ts +15 -15
  500. package/Gizmos/boundingBoxGizmo.d.ts +15 -15
  501. package/Gizmos/cameraGizmo.d.ts +11 -11
  502. package/Gizmos/gizmo.d.ts +12 -12
  503. package/Gizmos/gizmoManager.d.ts +18 -18
  504. package/Gizmos/index.d.ts +12 -12
  505. package/Gizmos/lightGizmo.d.ts +13 -13
  506. package/Gizmos/planeDragGizmo.d.ts +15 -15
  507. package/Gizmos/planeRotationGizmo.d.ts +17 -17
  508. package/Gizmos/positionGizmo.d.ts +15 -15
  509. package/Gizmos/rotationGizmo.d.ts +15 -15
  510. package/Gizmos/scaleGizmo.d.ts +16 -16
  511. package/Helpers/environmentHelper.d.ts +10 -10
  512. package/Helpers/index.d.ts +5 -5
  513. package/Helpers/photoDome.d.ts +3 -3
  514. package/Helpers/sceneHelpers.d.ts +13 -13
  515. package/Helpers/textureDome.d.ts +7 -7
  516. package/Helpers/videoDome.d.ts +3 -3
  517. package/IAssetContainer.d.ts +23 -23
  518. package/Inputs/pointerPickingConfiguration.d.ts +1 -1
  519. package/Inputs/scene.inputManager.d.ts +8 -8
  520. package/Instrumentation/engineInstrumentation.d.ts +4 -4
  521. package/Instrumentation/index.d.ts +3 -3
  522. package/Instrumentation/sceneInstrumentation.d.ts +2 -2
  523. package/Instrumentation/timeToken.d.ts +1 -1
  524. package/Layers/effectLayer.d.ts +16 -16
  525. package/Layers/effectLayerSceneComponent.d.ts +4 -4
  526. package/Layers/glowLayer.d.ts +13 -13
  527. package/Layers/highlightLayer.d.ts +14 -14
  528. package/Layers/index.d.ts +23 -23
  529. package/Layers/layer.d.ts +7 -7
  530. package/Layers/layerSceneComponent.d.ts +2 -2
  531. package/Layers/thinEffectLayer.d.ts +13 -13
  532. package/Layers/thinGlowLayer.d.ts +10 -10
  533. package/Layers/thinHighlightLayer.d.ts +3 -3
  534. package/LensFlares/index.d.ts +7 -7
  535. package/LensFlares/lensFlare.d.ts +5 -5
  536. package/LensFlares/lensFlareSystem.d.ts +5 -5
  537. package/LensFlares/lensFlareSystemSceneComponent.d.ts +5 -5
  538. package/Lights/Shadows/cascadedShadowGenerator.d.ts +10 -10
  539. package/Lights/Shadows/index.d.ts +11 -11
  540. package/Lights/Shadows/shadowGenerator.d.ts +16 -16
  541. package/Lights/Shadows/shadowGeneratorSceneComponent.d.ts +2 -2
  542. package/Lights/areaLight.d.ts +1 -1
  543. package/Lights/directionalLight.d.ts +8 -8
  544. package/Lights/hemisphericLight.d.ts +7 -7
  545. package/Lights/index.d.ts +10 -10
  546. package/Lights/light.d.ts +12 -12
  547. package/Lights/pointLight.d.ts +5 -5
  548. package/Lights/rectAreaLight.d.ts +2 -2
  549. package/Lights/shadowLight.d.ts +5 -5
  550. package/Lights/spotLight.d.ts +9 -9
  551. package/Loading/Plugins/index.d.ts +2 -2
  552. package/Loading/index.d.ts +4 -4
  553. package/Loading/sceneLoader.d.ts +16 -16
  554. package/Materials/Background/backgroundMaterial.d.ts +13 -13
  555. package/Materials/Background/index.d.ts +5 -5
  556. package/Materials/GaussianSplatting/gaussianSplattingMaterial.d.ts +19 -11
  557. package/Materials/GaussianSplatting/gaussianSplattingMaterial.js +28 -1
  558. package/Materials/GaussianSplatting/gaussianSplattingMaterial.js.map +1 -1
  559. package/Materials/GreasedLine/greasedLineMaterialDefaults.d.ts +3 -3
  560. package/Materials/GreasedLine/greasedLineMaterialInterfaces.d.ts +4 -4
  561. package/Materials/GreasedLine/greasedLinePluginMaterial.d.ts +14 -14
  562. package/Materials/GreasedLine/greasedLinePluginMaterialShadersGLSL.d.ts +1 -1
  563. package/Materials/GreasedLine/greasedLinePluginMaterialShadersWGSL.d.ts +1 -1
  564. package/Materials/GreasedLine/greasedLineSimpleMaterial.d.ts +8 -8
  565. package/Materials/Node/Blocks/Dual/clipPlanesBlock.d.ts +8 -8
  566. package/Materials/Node/Blocks/Dual/currentScreenBlock.d.ts +9 -9
  567. package/Materials/Node/Blocks/Dual/fogBlock.d.ts +7 -7
  568. package/Materials/Node/Blocks/Dual/imageSourceBlock.d.ts +7 -7
  569. package/Materials/Node/Blocks/Dual/index.d.ts +37 -37
  570. package/Materials/Node/Blocks/Dual/lightBlock.d.ts +10 -10
  571. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.d.ts +12 -12
  572. package/Materials/Node/Blocks/Dual/reflectionTextureBlock.d.ts +5 -5
  573. package/Materials/Node/Blocks/Dual/sceneDepthBlock.d.ts +7 -7
  574. package/Materials/Node/Blocks/Dual/textureBlock.d.ts +12 -12
  575. package/Materials/Node/Blocks/Fragment/TBNBlock.d.ts +6 -6
  576. package/Materials/Node/Blocks/Fragment/derivativeBlock.d.ts +3 -3
  577. package/Materials/Node/Blocks/Fragment/discardBlock.d.ts +3 -3
  578. package/Materials/Node/Blocks/Fragment/fragCoordBlock.d.ts +3 -3
  579. package/Materials/Node/Blocks/Fragment/fragDepthBlock.d.ts +3 -3
  580. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.d.ts +8 -8
  581. package/Materials/Node/Blocks/Fragment/frontFacingBlock.d.ts +3 -3
  582. package/Materials/Node/Blocks/Fragment/heightToNormalBlock.d.ts +4 -4
  583. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.d.ts +8 -8
  584. package/Materials/Node/Blocks/Fragment/index.d.ts +33 -33
  585. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.d.ts +8 -8
  586. package/Materials/Node/Blocks/Fragment/prePassOutputBlock.d.ts +3 -3
  587. package/Materials/Node/Blocks/Fragment/screenSizeBlock.d.ts +4 -4
  588. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.d.ts +4 -4
  589. package/Materials/Node/Blocks/Fragment/shadowMapBlock.d.ts +3 -3
  590. package/Materials/Node/Blocks/Fragment/twirlBlock.d.ts +3 -3
  591. package/Materials/Node/Blocks/GaussianSplatting/gaussianBlock.d.ts +3 -3
  592. package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.d.ts +3 -3
  593. package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.js +3 -1
  594. package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.js.map +1 -1
  595. package/Materials/Node/Blocks/GaussianSplatting/index.d.ts +5 -5
  596. package/Materials/Node/Blocks/GaussianSplatting/splatReaderBlock.d.ts +4 -4
  597. package/Materials/Node/Blocks/Input/index.d.ts +3 -3
  598. package/Materials/Node/Blocks/Input/inputBlock.d.ts +13 -13
  599. package/Materials/Node/Blocks/Input/prePassTextureBlock.d.ts +6 -6
  600. package/Materials/Node/Blocks/PBR/anisotropyBlock.d.ts +7 -7
  601. package/Materials/Node/Blocks/PBR/clearCoatBlock.d.ts +10 -10
  602. package/Materials/Node/Blocks/PBR/index.d.ts +8 -8
  603. package/Materials/Node/Blocks/PBR/iridescenceBlock.d.ts +7 -7
  604. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.d.ts +10 -10
  605. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +5 -3
  606. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js.map +1 -1
  607. package/Materials/Node/Blocks/PBR/reflectionBlock.d.ts +11 -11
  608. package/Materials/Node/Blocks/PBR/refractionBlock.d.ts +10 -10
  609. package/Materials/Node/Blocks/PBR/sheenBlock.d.ts +8 -8
  610. package/Materials/Node/Blocks/PBR/subSurfaceBlock.d.ts +7 -7
  611. package/Materials/Node/Blocks/Particle/index.d.ts +3 -3
  612. package/Materials/Node/Blocks/Particle/particleBlendMultiplyBlock.d.ts +3 -3
  613. package/Materials/Node/Blocks/Particle/particleRampGradientBlock.d.ts +3 -3
  614. package/Materials/Node/Blocks/Particle/particleTextureBlock.d.ts +8 -8
  615. package/Materials/Node/Blocks/Teleport/index.d.ts +2 -2
  616. package/Materials/Node/Blocks/Teleport/teleportInBlock.d.ts +4 -4
  617. package/Materials/Node/Blocks/Teleport/teleportOutBlock.d.ts +7 -7
  618. package/Materials/Node/Blocks/Vertex/bonesBlock.d.ts +8 -8
  619. package/Materials/Node/Blocks/Vertex/index.d.ts +17 -17
  620. package/Materials/Node/Blocks/Vertex/instancesBlock.d.ts +6 -6
  621. package/Materials/Node/Blocks/Vertex/lightInformationBlock.d.ts +10 -10
  622. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.d.ts +7 -7
  623. package/Materials/Node/Blocks/Vertex/vertexOutputBlock.d.ts +3 -3
  624. package/Materials/Node/Blocks/addBlock.d.ts +2 -2
  625. package/Materials/Node/Blocks/arcTan2Block.d.ts +3 -3
  626. package/Materials/Node/Blocks/baseMathBlock.d.ts +2 -2
  627. package/Materials/Node/Blocks/biPlanarBlock.d.ts +2 -2
  628. package/Materials/Node/Blocks/clampBlock.d.ts +4 -4
  629. package/Materials/Node/Blocks/cloudBlock.d.ts +4 -4
  630. package/Materials/Node/Blocks/colorConverterBlock.d.ts +3 -3
  631. package/Materials/Node/Blocks/colorMergerBlock.d.ts +4 -4
  632. package/Materials/Node/Blocks/colorSplitterBlock.d.ts +3 -3
  633. package/Materials/Node/Blocks/conditionalBlock.d.ts +5 -5
  634. package/Materials/Node/Blocks/crossBlock.d.ts +3 -3
  635. package/Materials/Node/Blocks/curveBlock.d.ts +4 -4
  636. package/Materials/Node/Blocks/customBlock.d.ts +3 -3
  637. package/Materials/Node/Blocks/debugBlock.d.ts +3 -3
  638. package/Materials/Node/Blocks/desaturateBlock.d.ts +3 -3
  639. package/Materials/Node/Blocks/distanceBlock.d.ts +3 -3
  640. package/Materials/Node/Blocks/divideBlock.d.ts +2 -2
  641. package/Materials/Node/Blocks/dotBlock.d.ts +3 -3
  642. package/Materials/Node/Blocks/elbowBlock.d.ts +4 -4
  643. package/Materials/Node/Blocks/fresnelBlock.d.ts +5 -5
  644. package/Materials/Node/Blocks/gradientBlock.d.ts +6 -6
  645. package/Materials/Node/Blocks/index.d.ts +70 -70
  646. package/Materials/Node/Blocks/lengthBlock.d.ts +3 -3
  647. package/Materials/Node/Blocks/lerpBlock.d.ts +3 -3
  648. package/Materials/Node/Blocks/loopBlock.d.ts +3 -3
  649. package/Materials/Node/Blocks/matrixBuilderBlock.d.ts +3 -3
  650. package/Materials/Node/Blocks/matrixDeterminantBlock.d.ts +3 -3
  651. package/Materials/Node/Blocks/matrixSplitterBlock.d.ts +3 -3
  652. package/Materials/Node/Blocks/matrixTransposeBlock.d.ts +3 -3
  653. package/Materials/Node/Blocks/maxBlock.d.ts +3 -3
  654. package/Materials/Node/Blocks/meshAttributeExistsBlock.d.ts +3 -3
  655. package/Materials/Node/Blocks/minBlock.d.ts +3 -3
  656. package/Materials/Node/Blocks/modBlock.d.ts +3 -3
  657. package/Materials/Node/Blocks/multiplyBlock.d.ts +2 -2
  658. package/Materials/Node/Blocks/nLerpBlock.d.ts +3 -3
  659. package/Materials/Node/Blocks/negateBlock.d.ts +3 -3
  660. package/Materials/Node/Blocks/normalBlendBlock.d.ts +3 -3
  661. package/Materials/Node/Blocks/normalizeBlock.d.ts +3 -3
  662. package/Materials/Node/Blocks/oneMinusBlock.d.ts +3 -3
  663. package/Materials/Node/Blocks/posterizeBlock.d.ts +3 -3
  664. package/Materials/Node/Blocks/powBlock.d.ts +3 -3
  665. package/Materials/Node/Blocks/randomNumberBlock.d.ts +4 -4
  666. package/Materials/Node/Blocks/reciprocalBlock.d.ts +3 -3
  667. package/Materials/Node/Blocks/reflectBlock.d.ts +3 -3
  668. package/Materials/Node/Blocks/refractBlock.d.ts +3 -3
  669. package/Materials/Node/Blocks/remapBlock.d.ts +5 -5
  670. package/Materials/Node/Blocks/replaceColorBlock.d.ts +3 -3
  671. package/Materials/Node/Blocks/rotate2dBlock.d.ts +3 -3
  672. package/Materials/Node/Blocks/scaleBlock.d.ts +3 -3
  673. package/Materials/Node/Blocks/simplexPerlin3DBlock.d.ts +3 -3
  674. package/Materials/Node/Blocks/smoothStepBlock.d.ts +3 -3
  675. package/Materials/Node/Blocks/stepBlock.d.ts +3 -3
  676. package/Materials/Node/Blocks/storageReadBlock.d.ts +3 -3
  677. package/Materials/Node/Blocks/storageWriteBlock.d.ts +3 -3
  678. package/Materials/Node/Blocks/subtractBlock.d.ts +2 -2
  679. package/Materials/Node/Blocks/transformBlock.d.ts +6 -6
  680. package/Materials/Node/Blocks/triPlanarBlock.d.ts +12 -12
  681. package/Materials/Node/Blocks/trigonometryBlock.d.ts +4 -4
  682. package/Materials/Node/Blocks/vectorMergerBlock.d.ts +4 -4
  683. package/Materials/Node/Blocks/vectorSplitterBlock.d.ts +3 -3
  684. package/Materials/Node/Blocks/viewDirectionBlock.d.ts +4 -4
  685. package/Materials/Node/Blocks/voronoiNoiseBlock.d.ts +3 -3
  686. package/Materials/Node/Blocks/waveBlock.d.ts +4 -4
  687. package/Materials/Node/Blocks/worleyNoise3DBlock.d.ts +4 -4
  688. package/Materials/Node/Enums/index.d.ts +5 -5
  689. package/Materials/Node/Optimizers/index.d.ts +1 -1
  690. package/Materials/Node/Optimizers/nodeMaterialOptimizer.d.ts +1 -1
  691. package/Materials/Node/index.d.ts +9 -9
  692. package/Materials/Node/nodeMaterial.d.ts +36 -36
  693. package/Materials/Node/nodeMaterialBlock.d.ts +12 -12
  694. package/Materials/Node/nodeMaterialBlockConnectionPoint.d.ts +6 -6
  695. package/Materials/Node/nodeMaterialBuildState.d.ts +6 -6
  696. package/Materials/Node/nodeMaterialBuildStateSharedData.d.ts +6 -6
  697. package/Materials/Node/nodeMaterialConnectionPointCustomObject.d.ts +4 -4
  698. package/Materials/Node/nodeMaterialDefault.d.ts +1 -1
  699. package/Materials/Occlusion/index.d.ts +1 -1
  700. package/Materials/Occlusion/occlusionMaterial.d.ts +4 -4
  701. package/Materials/PBR/index.d.ts +15 -15
  702. package/Materials/PBR/pbrAnisotropicConfiguration.d.ts +11 -11
  703. package/Materials/PBR/pbrBRDFConfiguration.d.ts +3 -3
  704. package/Materials/PBR/pbrBaseMaterial.d.ts +24 -24
  705. package/Materials/PBR/pbrBaseSimpleMaterial.d.ts +5 -5
  706. package/Materials/PBR/pbrClearCoatConfiguration.d.ts +12 -12
  707. package/Materials/PBR/pbrIridescenceConfiguration.d.ts +9 -9
  708. package/Materials/PBR/pbrMaterial.d.ts +7 -7
  709. package/Materials/PBR/pbrMaterial.decalMap.d.ts +2 -2
  710. package/Materials/PBR/pbrMetallicRoughnessMaterial.d.ts +5 -5
  711. package/Materials/PBR/pbrSheenConfiguration.d.ts +12 -12
  712. package/Materials/PBR/pbrSpecularGlossinessMaterial.d.ts +5 -5
  713. package/Materials/PBR/pbrSubSurfaceConfiguration.d.ts +14 -14
  714. package/Materials/Textures/Filtering/hdrFiltering.d.ts +2 -2
  715. package/Materials/Textures/Filtering/hdrIrradianceFiltering.d.ts +2 -2
  716. package/Materials/Textures/Loaders/EXR/exrLoader.compression.d.ts +1 -1
  717. package/Materials/Textures/Loaders/EXR/exrLoader.compression.huf.d.ts +1 -1
  718. package/Materials/Textures/Loaders/EXR/exrLoader.decoder.d.ts +3 -3
  719. package/Materials/Textures/Loaders/EXR/exrLoader.header.d.ts +2 -2
  720. package/Materials/Textures/Loaders/EXR/exrLoader.interfaces.d.ts +1 -1
  721. package/Materials/Textures/Loaders/EXR/index.d.ts +7 -7
  722. package/Materials/Textures/Loaders/basisTextureLoader.d.ts +3 -3
  723. package/Materials/Textures/Loaders/ddsTextureLoader.d.ts +3 -3
  724. package/Materials/Textures/Loaders/envTextureLoader.d.ts +3 -3
  725. package/Materials/Textures/Loaders/exrTextureLoader.d.ts +2 -2
  726. package/Materials/Textures/Loaders/hdrTextureLoader.d.ts +2 -2
  727. package/Materials/Textures/Loaders/iesTextureLoader.d.ts +2 -2
  728. package/Materials/Textures/Loaders/index.d.ts +11 -11
  729. package/Materials/Textures/Loaders/internalTextureLoader.d.ts +2 -2
  730. package/Materials/Textures/Loaders/ktxTextureLoader.d.ts +3 -3
  731. package/Materials/Textures/Loaders/textureLoaderManager.d.ts +2 -2
  732. package/Materials/Textures/Loaders/tgaTextureLoader.d.ts +2 -2
  733. package/Materials/Textures/MultiviewRenderTarget.d.ts +2 -2
  734. package/Materials/Textures/Packer/frame.d.ts +1 -1
  735. package/Materials/Textures/Packer/index.d.ts +2 -2
  736. package/Materials/Textures/Packer/packer.d.ts +5 -5
  737. package/Materials/Textures/Procedurals/customProceduralTexture.d.ts +5 -5
  738. package/Materials/Textures/Procedurals/index.d.ts +4 -4
  739. package/Materials/Textures/Procedurals/noiseProceduralTexture.d.ts +5 -5
  740. package/Materials/Textures/Procedurals/proceduralTexture.d.ts +10 -10
  741. package/Materials/Textures/Procedurals/proceduralTextureSceneComponent.d.ts +2 -2
  742. package/Materials/Textures/baseTexture.d.ts +10 -10
  743. package/Materials/Textures/baseTexture.polynomial.d.ts +3 -3
  744. package/Materials/Textures/colorGradingTexture.d.ts +5 -5
  745. package/Materials/Textures/cubeTexture.d.ts +7 -7
  746. package/Materials/Textures/dynamicTexture.d.ts +6 -6
  747. package/Materials/Textures/dynamicTexture.js +4 -0
  748. package/Materials/Textures/dynamicTexture.js.map +1 -1
  749. package/Materials/Textures/equiRectangularCubeTexture.d.ts +3 -3
  750. package/Materials/Textures/externalTexture.d.ts +1 -1
  751. package/Materials/Textures/hdrCubeTexture.d.ts +7 -7
  752. package/Materials/Textures/htmlElementTexture.d.ts +8 -8
  753. package/Materials/Textures/index.d.ts +39 -39
  754. package/Materials/Textures/internalTexture.d.ts +8 -8
  755. package/Materials/Textures/mirrorTexture.d.ts +3 -3
  756. package/Materials/Textures/multiRenderTarget.d.ts +6 -6
  757. package/Materials/Textures/prePassRenderTarget.d.ts +8 -8
  758. package/Materials/Textures/rawCubeTexture.d.ts +4 -4
  759. package/Materials/Textures/rawTexture.d.ts +4 -4
  760. package/Materials/Textures/rawTexture2DArray.d.ts +3 -3
  761. package/Materials/Textures/rawTexture3D.d.ts +3 -3
  762. package/Materials/Textures/refractionTexture.d.ts +3 -3
  763. package/Materials/Textures/renderTargetTexture.d.ts +17 -17
  764. package/Materials/Textures/texture.d.ts +12 -12
  765. package/Materials/Textures/textureCreationOptions.d.ts +1 -1
  766. package/Materials/Textures/textureSampler.d.ts +1 -1
  767. package/Materials/Textures/thinRenderTargetTexture.d.ts +6 -6
  768. package/Materials/Textures/thinTexture.d.ts +4 -4
  769. package/Materials/Textures/videoTexture.d.ts +7 -7
  770. package/Materials/clipPlaneMaterialHelper.d.ts +2 -2
  771. package/Materials/colorCurves.d.ts +1 -1
  772. package/Materials/drawWrapper.d.ts +6 -6
  773. package/Materials/drawWrapper.functions.d.ts +2 -2
  774. package/Materials/effect.d.ts +14 -14
  775. package/Materials/effect.functions.d.ts +2 -2
  776. package/Materials/effect.webgl.functions.d.ts +1 -1
  777. package/Materials/effectFallbacks.d.ts +3 -3
  778. package/Materials/effectRenderer.d.ts +10 -10
  779. package/Materials/fresnelParameters.d.ts +2 -2
  780. package/Materials/iEffectFallbacks.d.ts +1 -1
  781. package/Materials/imageProcessingConfiguration.d.ts +7 -7
  782. package/Materials/imageProcessingConfiguration.defines.d.ts +1 -1
  783. package/Materials/imageProcessingConfiguration.functions.d.ts +1 -1
  784. package/Materials/index.d.ts +49 -49
  785. package/Materials/material.d.ts +26 -26
  786. package/Materials/material.decalMap.d.ts +3 -3
  787. package/Materials/material.decalMapConfiguration.d.ts +5 -5
  788. package/Materials/material.detailMapConfiguration.d.ts +9 -9
  789. package/Materials/materialHelper.d.ts +12 -12
  790. package/Materials/materialHelper.functions.d.ts +12 -12
  791. package/Materials/materialPluginBase.d.ts +15 -15
  792. package/Materials/materialPluginEvent.d.ts +10 -10
  793. package/Materials/materialPluginFactoryExport.d.ts +3 -3
  794. package/Materials/materialPluginManager.d.ts +8 -8
  795. package/Materials/materialStencilState.d.ts +2 -2
  796. package/Materials/meshDebugPluginMaterial.d.ts +8 -8
  797. package/Materials/multiMaterial.d.ts +6 -6
  798. package/Materials/prePassConfiguration.d.ts +4 -4
  799. package/Materials/pushMaterial.d.ts +8 -8
  800. package/Materials/shaderMaterial.d.ts +15 -15
  801. package/Materials/shadowDepthWrapper.d.ts +6 -6
  802. package/Materials/standardMaterial.d.ts +19 -19
  803. package/Materials/standardMaterial.decalMap.d.ts +2 -2
  804. package/Materials/uniformBuffer.d.ts +6 -6
  805. package/Materials/uniformBufferEffectCommonAccessor.d.ts +3 -3
  806. package/Maths/index.d.ts +8 -8
  807. package/Maths/math.axis.d.ts +1 -1
  808. package/Maths/math.color.d.ts +3 -3
  809. package/Maths/math.d.ts +10 -10
  810. package/Maths/math.frustum.d.ts +3 -3
  811. package/Maths/math.functions.d.ts +3 -3
  812. package/Maths/math.isovector.d.ts +1 -1
  813. package/Maths/math.like.d.ts +1 -1
  814. package/Maths/math.path.d.ts +3 -3
  815. package/Maths/math.plane.d.ts +3 -3
  816. package/Maths/math.polar.d.ts +2 -2
  817. package/Maths/math.vector.d.ts +6 -6
  818. package/Maths/math.vector.functions.d.ts +1 -1
  819. package/Maths/math.vertexFormat.d.ts +1 -1
  820. package/Maths/math.viewport.d.ts +1 -1
  821. package/Maths/sphericalPolynomial.d.ts +2 -2
  822. package/Maths/tensor.d.ts +1 -1
  823. package/Meshes/Builders/boxBuilder.d.ts +6 -6
  824. package/Meshes/Builders/capsuleBuilder.d.ts +5 -5
  825. package/Meshes/Builders/cylinderBuilder.d.ts +6 -6
  826. package/Meshes/Builders/decalBuilder.d.ts +3 -3
  827. package/Meshes/Builders/discBuilder.d.ts +5 -5
  828. package/Meshes/Builders/geodesicBuilder.d.ts +5 -5
  829. package/Meshes/Builders/goldbergBuilder.d.ts +5 -5
  830. package/Meshes/Builders/greasedLineBuilder.d.ts +11 -11
  831. package/Meshes/Builders/groundBuilder.d.ts +6 -6
  832. package/Meshes/Builders/hemisphereBuilder.d.ts +2 -2
  833. package/Meshes/Builders/icoSphereBuilder.d.ts +5 -5
  834. package/Meshes/Builders/index.d.ts +25 -25
  835. package/Meshes/Builders/latheBuilder.d.ts +5 -5
  836. package/Meshes/Builders/linesBuilder.d.ts +7 -7
  837. package/Meshes/Builders/planeBuilder.d.ts +6 -6
  838. package/Meshes/Builders/polygonBuilder.d.ts +7 -7
  839. package/Meshes/Builders/polyhedronBuilder.d.ts +6 -6
  840. package/Meshes/Builders/ribbonBuilder.d.ts +6 -6
  841. package/Meshes/Builders/shapeBuilder.d.ts +5 -5
  842. package/Meshes/Builders/sphereBuilder.d.ts +5 -5
  843. package/Meshes/Builders/textBuilder.d.ts +6 -6
  844. package/Meshes/Builders/tiledBoxBuilder.d.ts +6 -6
  845. package/Meshes/Builders/tiledPlaneBuilder.d.ts +5 -5
  846. package/Meshes/Builders/torusBuilder.d.ts +4 -4
  847. package/Meshes/Builders/torusKnotBuilder.d.ts +4 -4
  848. package/Meshes/Builders/tubeBuilder.d.ts +5 -5
  849. package/Meshes/Compression/dracoCodec.d.ts +2 -2
  850. package/Meshes/Compression/dracoCompression.d.ts +6 -6
  851. package/Meshes/Compression/dracoCompressionWorker.d.ts +1 -1
  852. package/Meshes/Compression/dracoDecoder.d.ts +6 -6
  853. package/Meshes/Compression/dracoEncoder.d.ts +5 -5
  854. package/Meshes/Compression/index.d.ts +4 -4
  855. package/Meshes/Compression/meshoptCompression.d.ts +1 -1
  856. package/Meshes/GaussianSplatting/gaussianSplattingMesh.d.ts +3 -3
  857. package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +8 -8
  858. package/Meshes/GreasedLine/greasedLineMesh.d.ts +11 -11
  859. package/Meshes/GreasedLine/greasedLineRibbonMesh.d.ts +11 -11
  860. package/Meshes/Node/Blocks/Instances/instantiateBaseBlock.d.ts +5 -5
  861. package/Meshes/Node/Blocks/Instances/instantiateBlock.d.ts +4 -4
  862. package/Meshes/Node/Blocks/Instances/instantiateLinearBlock.d.ts +3 -3
  863. package/Meshes/Node/Blocks/Instances/instantiateOnFacesBlock.d.ts +6 -6
  864. package/Meshes/Node/Blocks/Instances/instantiateOnVerticesBlock.d.ts +5 -5
  865. package/Meshes/Node/Blocks/Instances/instantiateOnVolumeBlock.d.ts +6 -6
  866. package/Meshes/Node/Blocks/Instances/instantiateRadialBlock.d.ts +3 -3
  867. package/Meshes/Node/Blocks/Matrices/alignBlock.d.ts +3 -3
  868. package/Meshes/Node/Blocks/Matrices/rotationXBlock.d.ts +3 -3
  869. package/Meshes/Node/Blocks/Matrices/rotationYBlock.d.ts +3 -3
  870. package/Meshes/Node/Blocks/Matrices/rotationZBlock.d.ts +3 -3
  871. package/Meshes/Node/Blocks/Matrices/scalingBlock.d.ts +3 -3
  872. package/Meshes/Node/Blocks/Matrices/translationBlock.d.ts +3 -3
  873. package/Meshes/Node/Blocks/Set/aggregatorBlock.d.ts +4 -4
  874. package/Meshes/Node/Blocks/Set/latticeBlock.d.ts +5 -5
  875. package/Meshes/Node/Blocks/Set/setColorsBlock.d.ts +4 -4
  876. package/Meshes/Node/Blocks/Set/setMaterialIDBlock.d.ts +3 -3
  877. package/Meshes/Node/Blocks/Set/setNormalsBlock.d.ts +4 -4
  878. package/Meshes/Node/Blocks/Set/setPositionsBlock.d.ts +4 -4
  879. package/Meshes/Node/Blocks/Set/setTangentsBlock.d.ts +4 -4
  880. package/Meshes/Node/Blocks/Set/setUVsBlock.d.ts +4 -4
  881. package/Meshes/Node/Blocks/Sources/boxBlock.d.ts +3 -3
  882. package/Meshes/Node/Blocks/Sources/capsuleBlock.d.ts +3 -3
  883. package/Meshes/Node/Blocks/Sources/cylinderBlock.d.ts +3 -3
  884. package/Meshes/Node/Blocks/Sources/discBlock.d.ts +3 -3
  885. package/Meshes/Node/Blocks/Sources/gridBlock.d.ts +3 -3
  886. package/Meshes/Node/Blocks/Sources/icoSphereBlock.d.ts +3 -3
  887. package/Meshes/Node/Blocks/Sources/meshBlock.d.ts +4 -4
  888. package/Meshes/Node/Blocks/Sources/nullBlock.d.ts +2 -2
  889. package/Meshes/Node/Blocks/Sources/planeBlock.d.ts +3 -3
  890. package/Meshes/Node/Blocks/Sources/pointListBlock.d.ts +3 -3
  891. package/Meshes/Node/Blocks/Sources/sphereBlock.d.ts +3 -3
  892. package/Meshes/Node/Blocks/Sources/torusBlock.d.ts +3 -3
  893. package/Meshes/Node/Blocks/Teleport/teleportInBlock.d.ts +3 -3
  894. package/Meshes/Node/Blocks/Teleport/teleportOutBlock.d.ts +5 -5
  895. package/Meshes/Node/Blocks/Textures/geometryTextureBlock.d.ts +2 -2
  896. package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.d.ts +2 -2
  897. package/Meshes/Node/Blocks/booleanGeometryBlock.d.ts +3 -3
  898. package/Meshes/Node/Blocks/boundingBlock.d.ts +2 -2
  899. package/Meshes/Node/Blocks/cleanGeometryBlock.d.ts +3 -3
  900. package/Meshes/Node/Blocks/computeNormalsBlock.d.ts +2 -2
  901. package/Meshes/Node/Blocks/conditionBlock.d.ts +3 -3
  902. package/Meshes/Node/Blocks/debugBlock.d.ts +3 -3
  903. package/Meshes/Node/Blocks/geometryArcTan2Block.d.ts +2 -2
  904. package/Meshes/Node/Blocks/geometryClampBlock.d.ts +2 -2
  905. package/Meshes/Node/Blocks/geometryCollectionBlock.d.ts +3 -3
  906. package/Meshes/Node/Blocks/geometryCrossBlock.d.ts +2 -2
  907. package/Meshes/Node/Blocks/geometryCurveBlock.d.ts +2 -2
  908. package/Meshes/Node/Blocks/geometryDesaturateBlock.d.ts +2 -2
  909. package/Meshes/Node/Blocks/geometryDistanceBlock.d.ts +2 -2
  910. package/Meshes/Node/Blocks/geometryDotBlock.d.ts +2 -2
  911. package/Meshes/Node/Blocks/geometryEaseBlock.d.ts +3 -3
  912. package/Meshes/Node/Blocks/geometryElbowBlock.d.ts +3 -3
  913. package/Meshes/Node/Blocks/geometryInfoBlock.d.ts +2 -2
  914. package/Meshes/Node/Blocks/geometryInputBlock.d.ts +6 -6
  915. package/Meshes/Node/Blocks/geometryInterceptorBlock.d.ts +3 -3
  916. package/Meshes/Node/Blocks/geometryLengthBlock.d.ts +2 -2
  917. package/Meshes/Node/Blocks/geometryLerpBlock.d.ts +2 -2
  918. package/Meshes/Node/Blocks/geometryModBlock.d.ts +2 -2
  919. package/Meshes/Node/Blocks/geometryNLerpBlock.d.ts +2 -2
  920. package/Meshes/Node/Blocks/geometryOptimizeBlock.d.ts +4 -4
  921. package/Meshes/Node/Blocks/geometryOutputBlock.d.ts +4 -4
  922. package/Meshes/Node/Blocks/geometryPosterizeBlock.d.ts +2 -2
  923. package/Meshes/Node/Blocks/geometryPowBlock.d.ts +2 -2
  924. package/Meshes/Node/Blocks/geometryReplaceColorBlock.d.ts +2 -2
  925. package/Meshes/Node/Blocks/geometryRotate2dBlock.d.ts +2 -2
  926. package/Meshes/Node/Blocks/geometrySmoothStepBlock.d.ts +2 -2
  927. package/Meshes/Node/Blocks/geometryStepBlock.d.ts +2 -2
  928. package/Meshes/Node/Blocks/geometryTransformBlock.d.ts +3 -3
  929. package/Meshes/Node/Blocks/geometryTrigonometryBlock.d.ts +3 -3
  930. package/Meshes/Node/Blocks/intFloatConverterBlock.d.ts +2 -2
  931. package/Meshes/Node/Blocks/mapRangeBlock.d.ts +2 -2
  932. package/Meshes/Node/Blocks/mappingBlock.d.ts +2 -2
  933. package/Meshes/Node/Blocks/mathBlock.d.ts +2 -2
  934. package/Meshes/Node/Blocks/matrixComposeBlock.d.ts +2 -2
  935. package/Meshes/Node/Blocks/mergeGeometryBlock.d.ts +3 -3
  936. package/Meshes/Node/Blocks/noiseBlock.d.ts +3 -3
  937. package/Meshes/Node/Blocks/normalizeVectorBlock.d.ts +3 -3
  938. package/Meshes/Node/Blocks/randomBlock.d.ts +2 -2
  939. package/Meshes/Node/Blocks/subdivideBlock.d.ts +2 -2
  940. package/Meshes/Node/Blocks/vectorConverterBlock.d.ts +3 -3
  941. package/Meshes/Node/index.d.ts +87 -87
  942. package/Meshes/Node/nodeGeometry.d.ts +9 -9
  943. package/Meshes/Node/nodeGeometryBlock.d.ts +6 -6
  944. package/Meshes/Node/nodeGeometryBlockConnectionPoint.d.ts +5 -5
  945. package/Meshes/Node/nodeGeometryBuildState.d.ts +8 -8
  946. package/Meshes/WebGL/webGLDataBuffer.d.ts +1 -1
  947. package/Meshes/WebGPU/webgpuDataBuffer.d.ts +2 -2
  948. package/Meshes/abstractMesh.d.ts +37 -32
  949. package/Meshes/abstractMesh.decalMap.d.ts +3 -3
  950. package/Meshes/abstractMesh.hotSpot.d.ts +1 -1
  951. package/Meshes/abstractMesh.js +1 -1
  952. package/Meshes/abstractMesh.js.map +1 -1
  953. package/Meshes/buffer.d.ts +1 -1
  954. package/Meshes/csg.d.ts +7 -7
  955. package/Meshes/csg2.d.ts +2 -2
  956. package/Meshes/geodesicMesh.d.ts +2 -2
  957. package/Meshes/geometry.d.ts +12 -12
  958. package/Meshes/goldbergMesh.d.ts +5 -5
  959. package/Meshes/groundMesh.d.ts +3 -3
  960. package/Meshes/index.d.ts +55 -55
  961. package/Meshes/instancedMesh.d.ts +16 -16
  962. package/Meshes/instancedMesh.js.map +1 -1
  963. package/Meshes/lattice.d.ts +1 -1
  964. package/Meshes/lattice.material.d.ts +1 -1
  965. package/Meshes/linesMesh.d.ts +9 -9
  966. package/Meshes/mesh.d.ts +30 -30
  967. package/Meshes/mesh.js +1 -1
  968. package/Meshes/mesh.js.map +1 -1
  969. package/Meshes/mesh.vertexData.d.ts +9 -9
  970. package/Meshes/mesh.vertexData.subdivide.d.ts +1 -1
  971. package/Meshes/meshBuilder.d.ts +23 -23
  972. package/Meshes/meshLODLevel.d.ts +2 -2
  973. package/Meshes/meshSimplification.d.ts +1 -1
  974. package/Meshes/meshSimplificationSceneComponent.d.ts +6 -6
  975. package/Meshes/meshUVSpaceRenderer.d.ts +2 -2
  976. package/Meshes/meshUtils.d.ts +4 -4
  977. package/Meshes/polygonMesh.d.ts +5 -5
  978. package/Meshes/subMesh.d.ts +17 -17
  979. package/Meshes/subMesh.project.d.ts +3 -3
  980. package/Meshes/thinInstanceMesh.d.ts +4 -4
  981. package/Meshes/trailMesh.d.ts +3 -3
  982. package/Meshes/transformNode.d.ts +9 -9
  983. package/Misc/HighDynamicRange/cubemapToSphericalPolynomial.d.ts +4 -4
  984. package/Misc/HighDynamicRange/hdr.d.ts +1 -1
  985. package/Misc/HighDynamicRange/index.d.ts +3 -3
  986. package/Misc/HighDynamicRange/panoramaToCubemap.d.ts +1 -1
  987. package/Misc/PerformanceViewer/index.d.ts +4 -4
  988. package/Misc/PerformanceViewer/performanceViewerCollectionStrategies.d.ts +1 -1
  989. package/Misc/PerformanceViewer/performanceViewerCollector.d.ts +4 -4
  990. package/Misc/arrayTools.d.ts +1 -1
  991. package/Misc/assetsManager.d.ts +15 -15
  992. package/Misc/basis.d.ts +1 -1
  993. package/Misc/brdfTextureTools.d.ts +2 -2
  994. package/Misc/copyTextureToTexture.d.ts +3 -3
  995. package/Misc/copyTools.d.ts +3 -3
  996. package/Misc/dds.d.ts +4 -4
  997. package/Misc/decorators.d.ts +1 -1
  998. package/Misc/decorators.serialization.d.ts +7 -7
  999. package/Misc/depthReducer.d.ts +5 -5
  1000. package/Misc/dumpTools.d.ts +1 -1
  1001. package/Misc/environmentTextureTools.d.ts +5 -5
  1002. package/Misc/equirectangularCapture.d.ts +5 -5
  1003. package/Misc/fileRequest.d.ts +1 -1
  1004. package/Misc/fileTools.d.ts +6 -6
  1005. package/Misc/filesInput.d.ts +4 -4
  1006. package/Misc/gradients.d.ts +2 -2
  1007. package/Misc/greasedLineTools.d.ts +8 -8
  1008. package/Misc/index.d.ts +82 -82
  1009. package/Misc/interfaces/iClipPlanesHolder.d.ts +2 -2
  1010. package/Misc/interfaces/iPerfViewer.d.ts +1 -1
  1011. package/Misc/khronosTextureContainer.d.ts +1 -1
  1012. package/Misc/khronosTextureContainer2.d.ts +5 -5
  1013. package/Misc/meshExploder.d.ts +1 -1
  1014. package/Misc/minMaxReducer.d.ts +9 -9
  1015. package/Misc/observable.d.ts +1 -1
  1016. package/Misc/observable.extensions.d.ts +3 -3
  1017. package/Misc/observableCoroutine.d.ts +2 -2
  1018. package/Misc/pivotTools.d.ts +1 -1
  1019. package/Misc/pressureObserverWrapper.d.ts +1 -1
  1020. package/Misc/reflector.d.ts +1 -1
  1021. package/Misc/retryStrategy.d.ts +1 -1
  1022. package/Misc/rgbdTextureTools.d.ts +3 -3
  1023. package/Misc/sceneOptimizer.d.ts +2 -2
  1024. package/Misc/sceneRecorder.d.ts +1 -1
  1025. package/Misc/sceneSerializer.d.ts +1 -1
  1026. package/Misc/screenshotTools.d.ts +4 -4
  1027. package/Misc/stringDictionary.d.ts +1 -1
  1028. package/Misc/textureTools.d.ts +3 -3
  1029. package/Misc/tga.d.ts +1 -1
  1030. package/Misc/timer.d.ts +4 -4
  1031. package/Misc/tools.d.ts +10 -10
  1032. package/Misc/trajectoryClassifier.d.ts +2 -2
  1033. package/Misc/videoRecorder.d.ts +2 -2
  1034. package/Misc/virtualJoystick.d.ts +2 -2
  1035. package/Misc/webRequest.d.ts +2 -2
  1036. package/Misc/workerPool.d.ts +1 -1
  1037. package/Morph/index.d.ts +2 -2
  1038. package/Morph/morphTarget.d.ts +7 -7
  1039. package/Morph/morphTargetManager.d.ts +5 -5
  1040. package/Navigation/INavigationEngine.d.ts +4 -4
  1041. package/Navigation/Plugins/index.d.ts +1 -1
  1042. package/Navigation/Plugins/recastJSPlugin.d.ts +6 -6
  1043. package/Navigation/index.d.ts +2 -2
  1044. package/ObjectModel/index.d.ts +1 -1
  1045. package/Offline/database.d.ts +1 -1
  1046. package/Offline/index.d.ts +2 -2
  1047. package/Particles/EmitterTypes/IParticleEmitterType.d.ts +6 -6
  1048. package/Particles/EmitterTypes/boxParticleEmitter.d.ts +6 -6
  1049. package/Particles/EmitterTypes/coneParticleEmitter.d.ts +6 -6
  1050. package/Particles/EmitterTypes/customParticleEmitter.d.ts +7 -7
  1051. package/Particles/EmitterTypes/cylinderParticleEmitter.d.ts +6 -6
  1052. package/Particles/EmitterTypes/hemisphericParticleEmitter.d.ts +6 -6
  1053. package/Particles/EmitterTypes/index.d.ts +9 -9
  1054. package/Particles/EmitterTypes/meshParticleEmitter.d.ts +9 -9
  1055. package/Particles/EmitterTypes/pointParticleEmitter.d.ts +6 -6
  1056. package/Particles/EmitterTypes/sphereParticleEmitter.d.ts +6 -6
  1057. package/Particles/IGPUParticleSystemPlatform.d.ts +5 -5
  1058. package/Particles/IParticleSystem.d.ts +13 -13
  1059. package/Particles/baseParticleSystem.d.ts +23 -23
  1060. package/Particles/cloudPoint.d.ts +6 -6
  1061. package/Particles/computeShaderParticleSystem.d.ts +9 -9
  1062. package/Particles/gpuParticleSystem.d.ts +25 -25
  1063. package/Particles/index.d.ts +21 -21
  1064. package/Particles/particle.d.ts +6 -6
  1065. package/Particles/particleHelper.d.ts +6 -6
  1066. package/Particles/particleSystem.d.ts +13 -13
  1067. package/Particles/particleSystem.functions.d.ts +5 -5
  1068. package/Particles/particleSystemComponent.d.ts +5 -5
  1069. package/Particles/particleSystemSet.d.ts +6 -6
  1070. package/Particles/pointsCloudSystem.d.ts +5 -5
  1071. package/Particles/solidParticle.d.ts +9 -9
  1072. package/Particles/solidParticleSystem.d.ts +11 -11
  1073. package/Particles/subEmitter.d.ts +3 -3
  1074. package/Particles/thinParticleSystem.d.ts +16 -16
  1075. package/Particles/webgl2ParticleSystem.d.ts +10 -10
  1076. package/Physics/IPhysicsEngine.d.ts +4 -4
  1077. package/Physics/Plugins/ammoJSPlugin.d.ts +1 -1
  1078. package/Physics/Plugins/cannonJSPlugin.d.ts +1 -1
  1079. package/Physics/Plugins/oimoJSPlugin.d.ts +1 -1
  1080. package/Physics/castingResult.d.ts +3 -3
  1081. package/Physics/index.d.ts +10 -10
  1082. package/Physics/joinedPhysicsEngineComponent.d.ts +9 -9
  1083. package/Physics/physicsEngine.d.ts +1 -1
  1084. package/Physics/physicsEngineComponent.d.ts +3 -3
  1085. package/Physics/physicsHelper.d.ts +6 -6
  1086. package/Physics/physicsImpostor.d.ts +1 -1
  1087. package/Physics/physicsJoint.d.ts +1 -1
  1088. package/Physics/physicsPointProximityQuery.d.ts +3 -3
  1089. package/Physics/physicsRaycastResult.d.ts +2 -2
  1090. package/Physics/physicsShapeCastQuery.d.ts +3 -3
  1091. package/Physics/physicsShapeProximityCastQuery.d.ts +3 -3
  1092. package/Physics/proximityCastResult.d.ts +1 -1
  1093. package/Physics/shapeCastResult.d.ts +1 -1
  1094. package/Physics/v1/IPhysicsEnginePlugin.d.ts +6 -6
  1095. package/Physics/v1/Plugins/ammoJSPlugin.d.ts +7 -7
  1096. package/Physics/v1/Plugins/cannonJSPlugin.d.ts +8 -8
  1097. package/Physics/v1/Plugins/index.d.ts +3 -3
  1098. package/Physics/v1/Plugins/oimoJSPlugin.d.ts +8 -8
  1099. package/Physics/v1/index.d.ts +6 -6
  1100. package/Physics/v1/physicsEngine.d.ts +7 -7
  1101. package/Physics/v1/physicsEngineComponent.d.ts +7 -7
  1102. package/Physics/v1/physicsImpostor.d.ts +11 -11
  1103. package/Physics/v1/physicsJoint.d.ts +2 -2
  1104. package/Physics/v2/IPhysicsEnginePlugin.d.ts +12 -12
  1105. package/Physics/v2/Plugins/havokPlugin.d.ts +18 -18
  1106. package/Physics/v2/Plugins/index.d.ts +1 -1
  1107. package/Physics/v2/characterController.d.ts +5 -5
  1108. package/Physics/v2/index.d.ts +10 -10
  1109. package/Physics/v2/physicsAggregate.d.ts +8 -8
  1110. package/Physics/v2/physicsBody.d.ts +9 -9
  1111. package/Physics/v2/physicsConstraint.d.ts +5 -5
  1112. package/Physics/v2/physicsEngine.d.ts +7 -7
  1113. package/Physics/v2/physicsEngineComponent.d.ts +7 -7
  1114. package/Physics/v2/physicsShape.d.ts +10 -10
  1115. package/Physics/v2/ragdoll.d.ts +7 -7
  1116. package/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.d.ts +15 -15
  1117. package/PostProcesses/RenderPipeline/Pipelines/index.d.ts +19 -19
  1118. package/PostProcesses/RenderPipeline/Pipelines/lensRenderingPipeline.d.ts +7 -7
  1119. package/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline.d.ts +4 -4
  1120. package/PostProcesses/RenderPipeline/Pipelines/ssaoRenderingPipeline.d.ts +6 -6
  1121. package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.d.ts +8 -8
  1122. package/PostProcesses/RenderPipeline/Pipelines/standardRenderingPipeline.d.ts +15 -15
  1123. package/PostProcesses/RenderPipeline/Pipelines/taaRenderingPipeline.d.ts +4 -4
  1124. package/PostProcesses/RenderPipeline/index.d.ts +5 -5
  1125. package/PostProcesses/RenderPipeline/postProcessRenderEffect.d.ts +4 -4
  1126. package/PostProcesses/RenderPipeline/postProcessRenderPipeline.d.ts +6 -6
  1127. package/PostProcesses/RenderPipeline/postProcessRenderPipelineManager.d.ts +2 -2
  1128. package/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.d.ts +4 -4
  1129. package/PostProcesses/anaglyphPostProcess.d.ts +3 -3
  1130. package/PostProcesses/blackAndWhitePostProcess.d.ts +7 -7
  1131. package/PostProcesses/bloomEffect.d.ts +6 -6
  1132. package/PostProcesses/bloomMergePostProcess.d.ts +6 -6
  1133. package/PostProcesses/blurPostProcess.d.ts +8 -8
  1134. package/PostProcesses/chromaticAberrationPostProcess.d.ts +8 -8
  1135. package/PostProcesses/circleOfConfusionPostProcess.d.ts +7 -7
  1136. package/PostProcesses/colorCorrectionPostProcess.d.ts +6 -6
  1137. package/PostProcesses/convolutionPostProcess.d.ts +6 -6
  1138. package/PostProcesses/depthOfFieldBlurPostProcess.d.ts +6 -6
  1139. package/PostProcesses/depthOfFieldBlurPostProcess.js +9 -3
  1140. package/PostProcesses/depthOfFieldBlurPostProcess.js.map +1 -1
  1141. package/PostProcesses/depthOfFieldEffect.d.ts +7 -7
  1142. package/PostProcesses/depthOfFieldMergePostProcess.d.ts +5 -5
  1143. package/PostProcesses/displayPassPostProcess.d.ts +6 -6
  1144. package/PostProcesses/extractHighlightsPostProcess.d.ts +6 -6
  1145. package/PostProcesses/filterPostProcess.d.ts +7 -7
  1146. package/PostProcesses/fxaaPostProcess.d.ts +6 -6
  1147. package/PostProcesses/grainPostProcess.d.ts +6 -6
  1148. package/PostProcesses/highlightsPostProcess.d.ts +4 -4
  1149. package/PostProcesses/imageProcessingPostProcess.d.ts +10 -10
  1150. package/PostProcesses/index.d.ts +93 -93
  1151. package/PostProcesses/motionBlurPostProcess.d.ts +9 -9
  1152. package/PostProcesses/passPostProcess.d.ts +7 -7
  1153. package/PostProcesses/postProcess.d.ts +21 -21
  1154. package/PostProcesses/postProcessManager.d.ts +6 -6
  1155. package/PostProcesses/refractionPostProcess.d.ts +9 -9
  1156. package/PostProcesses/screenSpaceCurvaturePostProcess.d.ts +8 -8
  1157. package/PostProcesses/screenSpaceReflectionPostProcess.d.ts +7 -7
  1158. package/PostProcesses/sharpenPostProcess.d.ts +7 -7
  1159. package/PostProcesses/stereoscopicInterlacePostProcess.d.ts +3 -3
  1160. package/PostProcesses/subSurfaceScatteringPostProcess.d.ts +12 -12
  1161. package/PostProcesses/thinAnaglyphPostProcess.d.ts +1 -1
  1162. package/PostProcesses/thinBlackAndWhitePostProcess.d.ts +1 -1
  1163. package/PostProcesses/thinBloomEffect.d.ts +3 -3
  1164. package/PostProcesses/thinBloomMergePostProcess.d.ts +1 -1
  1165. package/PostProcesses/thinBlurPostProcess.d.ts +1 -1
  1166. package/PostProcesses/thinBlurPostProcess.js +1 -0
  1167. package/PostProcesses/thinBlurPostProcess.js.map +1 -1
  1168. package/PostProcesses/thinChromaticAberrationPostProcess.d.ts +2 -2
  1169. package/PostProcesses/thinCircleOfConfusionPostProcess.d.ts +1 -1
  1170. package/PostProcesses/thinDepthOfFieldBlurPostProcess.d.ts +1 -1
  1171. package/PostProcesses/thinDepthOfFieldEffect.d.ts +5 -5
  1172. package/PostProcesses/thinDepthOfFieldEffect.js +3 -3
  1173. package/PostProcesses/thinDepthOfFieldEffect.js.map +1 -1
  1174. package/PostProcesses/thinDepthOfFieldMergePostProcess.d.ts +1 -1
  1175. package/PostProcesses/thinExtractHighlightsPostProcess.d.ts +1 -1
  1176. package/PostProcesses/thinImageProcessingPostProcess.d.ts +2 -2
  1177. package/PostProcesses/thinSSRBlurCombinerPostProcess.d.ts +1 -1
  1178. package/PostProcesses/thinSSRBlurPostProcess.d.ts +2 -2
  1179. package/PostProcesses/thinTAAPostProcess.d.ts +1 -1
  1180. package/PostProcesses/tonemapPostProcess.d.ts +3 -3
  1181. package/PostProcesses/volumetricLightScatteringPostProcess.d.ts +13 -13
  1182. package/PostProcesses/vrDistortionCorrectionPostProcess.d.ts +4 -4
  1183. package/PostProcesses/vrMultiviewToSingleviewPostProcess.d.ts +5 -5
  1184. package/Probes/index.d.ts +1 -1
  1185. package/Probes/reflectionProbe.d.ts +6 -6
  1186. package/Rendering/GlobalIllumination/giRSM.d.ts +1 -1
  1187. package/Rendering/GlobalIllumination/giRSMManager.d.ts +1 -1
  1188. package/Rendering/GlobalIllumination/index.d.ts +10 -10
  1189. package/Rendering/IBLShadows/iblShadowsAccumulationPass.d.ts +4 -4
  1190. package/Rendering/IBLShadows/iblShadowsRenderPipeline.d.ts +6 -6
  1191. package/Rendering/IBLShadows/iblShadowsSpatialBlurPass.d.ts +3 -3
  1192. package/Rendering/IBLShadows/iblShadowsVoxelRenderer.d.ts +8 -8
  1193. package/Rendering/IBLShadows/iblShadowsVoxelTracingPass.d.ts +4 -4
  1194. package/Rendering/boundingBoxRenderer.d.ts +11 -11
  1195. package/Rendering/depthPeelingRenderer.d.ts +7 -7
  1196. package/Rendering/depthPeelingSceneComponent.d.ts +5 -5
  1197. package/Rendering/depthRenderer.d.ts +10 -10
  1198. package/Rendering/depthRendererSceneComponent.d.ts +6 -6
  1199. package/Rendering/edgesRenderer.d.ts +14 -14
  1200. package/Rendering/fluidRenderer/fluidRenderer.d.ts +3 -3
  1201. package/Rendering/fluidRenderer/fluidRenderingObjectCustomParticles.d.ts +1 -1
  1202. package/Rendering/fluidRenderer/fluidRenderingObjectParticleSystem.d.ts +1 -1
  1203. package/Rendering/fluidRenderer/fluidRenderingTargetRenderer.d.ts +2 -2
  1204. package/Rendering/fluidRenderer/index.d.ts +23 -23
  1205. package/Rendering/geometryBufferRenderer.d.ts +11 -11
  1206. package/Rendering/geometryBufferRendererSceneComponent.d.ts +5 -5
  1207. package/Rendering/iblCdfGenerator.d.ts +7 -7
  1208. package/Rendering/iblCdfGeneratorSceneComponent.d.ts +5 -5
  1209. package/Rendering/index.d.ts +86 -86
  1210. package/Rendering/motionBlurConfiguration.d.ts +1 -1
  1211. package/Rendering/objectRenderer.d.ts +2 -2
  1212. package/Rendering/outlineRenderer.d.ts +6 -6
  1213. package/Rendering/prePassEffectConfiguration.d.ts +1 -1
  1214. package/Rendering/prePassRenderer.d.ts +11 -11
  1215. package/Rendering/prePassRendererSceneComponent.d.ts +7 -7
  1216. package/Rendering/renderingGroup.d.ts +9 -9
  1217. package/Rendering/renderingManager.d.ts +10 -10
  1218. package/Rendering/screenSpaceReflections2Configuration.d.ts +1 -1
  1219. package/Rendering/screenSpaceReflectionsConfiguration.d.ts +1 -1
  1220. package/Rendering/ssao2Configuration.d.ts +1 -1
  1221. package/Rendering/subSurfaceConfiguration.d.ts +4 -4
  1222. package/Rendering/subSurfaceSceneComponent.d.ts +5 -5
  1223. package/Rendering/utilityLayerRenderer.d.ts +7 -7
  1224. package/Shaders/ShadersInclude/backgroundUboDeclaration.d.ts +1 -1
  1225. package/Shaders/ShadersInclude/bumpFragmentFunctions.d.ts +1 -1
  1226. package/Shaders/ShadersInclude/defaultFragmentDeclaration.d.ts +1 -1
  1227. package/Shaders/ShadersInclude/defaultUboDeclaration.d.ts +2 -2
  1228. package/Shaders/ShadersInclude/defaultVertexDeclaration.d.ts +1 -1
  1229. package/Shaders/ShadersInclude/gaussianSplatting.js +9 -1
  1230. package/Shaders/ShadersInclude/gaussianSplatting.js.map +1 -1
  1231. package/Shaders/ShadersInclude/gaussianSplattingFragmentDeclaration.d.ts +2 -2
  1232. package/Shaders/ShadersInclude/gaussianSplattingUboDeclaration.d.ts +2 -2
  1233. package/Shaders/ShadersInclude/geometryUboDeclaration.d.ts +1 -1
  1234. package/Shaders/ShadersInclude/lightsFragmentFunctions.d.ts +1 -1
  1235. package/Shaders/ShadersInclude/lineUboDeclaration.d.ts +2 -2
  1236. package/Shaders/ShadersInclude/pbrBlockAlbedoOpacity.d.ts +1 -1
  1237. package/Shaders/ShadersInclude/pbrDirectLightingSetupFunctions.d.ts +1 -1
  1238. package/Shaders/ShadersInclude/pbrFragmentDeclaration.d.ts +1 -1
  1239. package/Shaders/ShadersInclude/pbrFragmentExtraDeclaration.d.ts +1 -1
  1240. package/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.d.ts +2 -2
  1241. package/Shaders/ShadersInclude/pbrUboDeclaration.d.ts +2 -2
  1242. package/Shaders/ShadersInclude/pbrVertexDeclaration.d.ts +1 -1
  1243. package/Shaders/ShadersInclude/shadowMapFragmentExtraDeclaration.d.ts +2 -2
  1244. package/Shaders/ShadersInclude/shadowMapUboDeclaration.d.ts +2 -2
  1245. package/Shaders/ShadersInclude/shadowMapVertexDeclaration.d.ts +2 -2
  1246. package/Shaders/background.fragment.d.ts +18 -18
  1247. package/Shaders/background.vertex.d.ts +18 -18
  1248. package/Shaders/boundingBoxRenderer.fragment.d.ts +2 -2
  1249. package/Shaders/boundingBoxRenderer.vertex.d.ts +2 -2
  1250. package/Shaders/color.fragment.d.ts +4 -4
  1251. package/Shaders/color.vertex.d.ts +11 -11
  1252. package/Shaders/copyTextureToTexture.fragment.d.ts +1 -1
  1253. package/Shaders/default.fragment.d.ts +28 -28
  1254. package/Shaders/default.vertex.d.ts +33 -33
  1255. package/Shaders/depth.fragment.d.ts +3 -3
  1256. package/Shaders/depth.vertex.d.ts +14 -14
  1257. package/Shaders/extractHighlights.fragment.d.ts +1 -1
  1258. package/Shaders/gaussianSplatting.fragment.d.ts +5 -5
  1259. package/Shaders/gaussianSplatting.vertex.d.ts +10 -10
  1260. package/Shaders/gaussianSplatting.vertex.js +1 -1
  1261. package/Shaders/gaussianSplatting.vertex.js.map +1 -1
  1262. package/Shaders/geometry.fragment.d.ts +7 -7
  1263. package/Shaders/geometry.vertex.d.ts +15 -15
  1264. package/Shaders/glowMapGeneration.fragment.d.ts +3 -3
  1265. package/Shaders/glowMapGeneration.vertex.d.ts +12 -12
  1266. package/Shaders/gpuRenderParticles.fragment.d.ts +9 -9
  1267. package/Shaders/gpuRenderParticles.vertex.d.ts +6 -6
  1268. package/Shaders/gpuTransform.vertex.d.ts +8 -8
  1269. package/Shaders/grain.fragment.d.ts +1 -1
  1270. package/Shaders/greasedLine.vertex.d.ts +2 -2
  1271. package/Shaders/hdrFiltering.fragment.d.ts +4 -4
  1272. package/Shaders/hdrIrradianceFiltering.fragment.d.ts +4 -4
  1273. package/Shaders/iblCdfy.fragment.d.ts +1 -1
  1274. package/Shaders/iblIcdf.fragment.d.ts +1 -1
  1275. package/Shaders/iblScaledLuminance.fragment.d.ts +1 -1
  1276. package/Shaders/iblVoxelGrid.vertex.d.ts +10 -10
  1277. package/Shaders/imageProcessing.fragment.d.ts +3 -3
  1278. package/Shaders/kernelBlur.fragment.d.ts +4 -4
  1279. package/Shaders/kernelBlur.vertex.d.ts +2 -2
  1280. package/Shaders/layer.fragment.d.ts +1 -1
  1281. package/Shaders/line.fragment.d.ts +4 -4
  1282. package/Shaders/line.vertex.d.ts +8 -8
  1283. package/Shaders/meshUVSpaceRenderer.vertex.d.ts +10 -10
  1284. package/Shaders/outline.fragment.d.ts +4 -4
  1285. package/Shaders/outline.vertex.d.ts +14 -14
  1286. package/Shaders/particles.fragment.d.ts +9 -9
  1287. package/Shaders/particles.vertex.d.ts +6 -6
  1288. package/Shaders/pbr.fragment.d.ts +58 -58
  1289. package/Shaders/pbr.vertex.d.ts +33 -33
  1290. package/Shaders/picking.vertex.d.ts +10 -10
  1291. package/Shaders/rgbdDecode.fragment.d.ts +1 -1
  1292. package/Shaders/rgbdEncode.fragment.d.ts +1 -1
  1293. package/Shaders/screenSpaceReflection2.fragment.d.ts +3 -3
  1294. package/Shaders/screenSpaceReflection2BlurCombiner.fragment.d.ts +3 -3
  1295. package/Shaders/shadowMap.fragment.d.ts +4 -4
  1296. package/Shaders/shadowMap.vertex.d.ts +17 -17
  1297. package/Shaders/spriteMap.fragment.d.ts +4 -4
  1298. package/Shaders/spriteMap.vertex.d.ts +3 -3
  1299. package/Shaders/sprites.fragment.d.ts +5 -5
  1300. package/Shaders/sprites.vertex.d.ts +3 -3
  1301. package/Shaders/standard.fragment.d.ts +1 -1
  1302. package/Shaders/subSurfaceScattering.fragment.d.ts +4 -4
  1303. package/Shaders/velocity.vertex.d.ts +2 -2
  1304. package/Shaders/volumetricLightScatteringPass.vertex.d.ts +10 -10
  1305. package/ShadersWGSL/ShadersInclude/backgroundUboDeclaration.d.ts +1 -1
  1306. package/ShadersWGSL/ShadersInclude/bumpFragmentFunctions.d.ts +1 -1
  1307. package/ShadersWGSL/ShadersInclude/defaultUboDeclaration.d.ts +2 -2
  1308. package/ShadersWGSL/ShadersInclude/gaussianSplatting.js +11 -2
  1309. package/ShadersWGSL/ShadersInclude/gaussianSplatting.js.map +1 -1
  1310. package/ShadersWGSL/ShadersInclude/gaussianSplattingFragmentDeclaration.d.ts +2 -2
  1311. package/ShadersWGSL/ShadersInclude/gaussianSplattingUboDeclaration.d.ts +2 -2
  1312. package/ShadersWGSL/ShadersInclude/lightsFragmentFunctions.d.ts +1 -1
  1313. package/ShadersWGSL/ShadersInclude/pbrBlockAlbedoOpacity.d.ts +1 -1
  1314. package/ShadersWGSL/ShadersInclude/pbrDirectLightingSetupFunctions.d.ts +1 -1
  1315. package/ShadersWGSL/ShadersInclude/pbrFragmentExtraDeclaration.d.ts +1 -1
  1316. package/ShadersWGSL/ShadersInclude/pbrFragmentSamplersDeclaration.d.ts +2 -2
  1317. package/ShadersWGSL/ShadersInclude/pbrUboDeclaration.d.ts +2 -2
  1318. package/ShadersWGSL/ShadersInclude/shadowMapFragmentExtraDeclaration.d.ts +2 -2
  1319. package/ShadersWGSL/background.fragment.d.ts +16 -16
  1320. package/ShadersWGSL/background.vertex.d.ts +16 -16
  1321. package/ShadersWGSL/color.fragment.d.ts +4 -4
  1322. package/ShadersWGSL/color.vertex.d.ts +11 -11
  1323. package/ShadersWGSL/copyTextureToTexture.fragment.d.ts +1 -1
  1324. package/ShadersWGSL/default.fragment.d.ts +26 -26
  1325. package/ShadersWGSL/default.vertex.d.ts +31 -31
  1326. package/ShadersWGSL/depth.fragment.d.ts +3 -3
  1327. package/ShadersWGSL/depth.vertex.d.ts +12 -12
  1328. package/ShadersWGSL/extractHighlights.fragment.d.ts +1 -1
  1329. package/ShadersWGSL/gaussianSplatting.fragment.d.ts +5 -5
  1330. package/ShadersWGSL/gaussianSplatting.vertex.d.ts +10 -10
  1331. package/ShadersWGSL/gaussianSplatting.vertex.js +2 -2
  1332. package/ShadersWGSL/gaussianSplatting.vertex.js.map +1 -1
  1333. package/ShadersWGSL/geometry.fragment.d.ts +6 -6
  1334. package/ShadersWGSL/geometry.vertex.d.ts +14 -14
  1335. package/ShadersWGSL/glowMapGeneration.fragment.d.ts +3 -3
  1336. package/ShadersWGSL/glowMapGeneration.vertex.d.ts +12 -12
  1337. package/ShadersWGSL/grain.fragment.d.ts +1 -1
  1338. package/ShadersWGSL/greasedLine.vertex.d.ts +4 -4
  1339. package/ShadersWGSL/hdrFiltering.fragment.d.ts +4 -4
  1340. package/ShadersWGSL/hdrIrradianceFiltering.fragment.d.ts +4 -4
  1341. package/ShadersWGSL/iblIcdf.fragment.d.ts +1 -1
  1342. package/ShadersWGSL/iblScaledLuminance.fragment.d.ts +1 -1
  1343. package/ShadersWGSL/iblVoxelGrid.vertex.d.ts +10 -10
  1344. package/ShadersWGSL/imageProcessing.fragment.d.ts +3 -3
  1345. package/ShadersWGSL/kernelBlur.fragment.d.ts +4 -4
  1346. package/ShadersWGSL/kernelBlur.vertex.d.ts +2 -2
  1347. package/ShadersWGSL/layer.fragment.d.ts +1 -1
  1348. package/ShadersWGSL/line.fragment.d.ts +4 -4
  1349. package/ShadersWGSL/line.vertex.d.ts +8 -8
  1350. package/ShadersWGSL/meshUVSpaceRenderer.vertex.d.ts +10 -10
  1351. package/ShadersWGSL/outline.fragment.d.ts +4 -4
  1352. package/ShadersWGSL/outline.vertex.d.ts +14 -14
  1353. package/ShadersWGSL/particles.fragment.d.ts +9 -9
  1354. package/ShadersWGSL/particles.vertex.d.ts +6 -6
  1355. package/ShadersWGSL/pbr.fragment.d.ts +56 -56
  1356. package/ShadersWGSL/pbr.vertex.d.ts +31 -31
  1357. package/ShadersWGSL/picking.vertex.d.ts +10 -10
  1358. package/ShadersWGSL/rgbdDecode.fragment.d.ts +1 -1
  1359. package/ShadersWGSL/rgbdEncode.fragment.d.ts +1 -1
  1360. package/ShadersWGSL/screenSpaceReflection2.fragment.d.ts +3 -3
  1361. package/ShadersWGSL/screenSpaceReflection2BlurCombiner.fragment.d.ts +3 -3
  1362. package/ShadersWGSL/shadowMap.fragment.d.ts +4 -4
  1363. package/ShadersWGSL/shadowMap.vertex.d.ts +17 -17
  1364. package/ShadersWGSL/sprites.fragment.d.ts +5 -5
  1365. package/ShadersWGSL/sprites.vertex.d.ts +3 -3
  1366. package/ShadersWGSL/subSurfaceScattering.fragment.d.ts +4 -4
  1367. package/Sprites/index.d.ts +10 -10
  1368. package/Sprites/sprite.d.ts +9 -9
  1369. package/Sprites/spriteManager.d.ts +9 -9
  1370. package/Sprites/spriteMap.d.ts +7 -7
  1371. package/Sprites/spritePackedManager.d.ts +3 -3
  1372. package/Sprites/spriteRenderer.d.ts +8 -8
  1373. package/Sprites/spriteSceneComponent.d.ts +10 -10
  1374. package/Sprites/thinSprite.d.ts +2 -2
  1375. package/States/alphaCullingState.d.ts +1 -1
  1376. package/States/depthCullingState.d.ts +1 -1
  1377. package/States/index.d.ts +4 -4
  1378. package/States/stencilState.d.ts +1 -1
  1379. package/States/stencilStateComposer.d.ts +1 -1
  1380. package/XR/features/Layers/WebXRProjectionLayer.d.ts +1 -1
  1381. package/XR/features/WebXRAbstractFeature.d.ts +4 -4
  1382. package/XR/features/WebXRAnchorSystem.d.ts +6 -6
  1383. package/XR/features/WebXRBackgroundRemover.d.ts +4 -4
  1384. package/XR/features/WebXRControllerMovement.d.ts +9 -9
  1385. package/XR/features/WebXRControllerPhysics.d.ts +6 -6
  1386. package/XR/features/WebXRControllerPointerSelection.d.ts +10 -10
  1387. package/XR/features/WebXRControllerTeleportation.d.ts +12 -12
  1388. package/XR/features/WebXRDOMOverlay.d.ts +3 -3
  1389. package/XR/features/WebXRDepthSensing.d.ts +6 -6
  1390. package/XR/features/WebXREyeTracking.d.ts +5 -5
  1391. package/XR/features/WebXRFeaturePointSystem.d.ts +4 -4
  1392. package/XR/features/WebXRHandTracking.d.ts +11 -11
  1393. package/XR/features/WebXRHitTest.d.ts +5 -5
  1394. package/XR/features/WebXRHitTestLegacy.d.ts +6 -6
  1395. package/XR/features/WebXRImageTracking.d.ts +5 -5
  1396. package/XR/features/WebXRLayers.d.ts +8 -8
  1397. package/XR/features/WebXRLightEstimation.d.ts +9 -9
  1398. package/XR/features/WebXRMeshDetector.d.ts +6 -6
  1399. package/XR/features/WebXRNearInteraction.d.ts +13 -13
  1400. package/XR/features/WebXRPlaneDetector.d.ts +5 -5
  1401. package/XR/features/WebXRRawCameraAccess.d.ts +4 -4
  1402. package/XR/features/WebXRSpaceWarp.d.ts +10 -10
  1403. package/XR/features/WebXRWalkingLocomotion.d.ts +4 -4
  1404. package/XR/features/index.d.ts +23 -23
  1405. package/XR/index.d.ts +14 -14
  1406. package/XR/motionController/index.d.ts +9 -9
  1407. package/XR/motionController/webXRAbstractMotionController.d.ts +5 -5
  1408. package/XR/motionController/webXRControllerComponent.d.ts +3 -3
  1409. package/XR/motionController/webXRGenericHandController.d.ts +4 -4
  1410. package/XR/motionController/webXRGenericMotionController.d.ts +4 -4
  1411. package/XR/motionController/webXRHTCViveMotionController.d.ts +4 -4
  1412. package/XR/motionController/webXRMicrosoftMixedRealityController.d.ts +4 -4
  1413. package/XR/motionController/webXRMotionControllerManager.d.ts +2 -2
  1414. package/XR/motionController/webXROculusTouchMotionController.d.ts +4 -4
  1415. package/XR/motionController/webXRProfiledMotionController.d.ts +4 -4
  1416. package/XR/native/index.d.ts +2 -2
  1417. package/XR/native/nativeXRRenderTarget.d.ts +7 -7
  1418. package/XR/webXRCamera.d.ts +7 -7
  1419. package/XR/webXRDefaultExperience.d.ts +16 -16
  1420. package/XR/webXREnterExitUI.d.ts +5 -5
  1421. package/XR/webXRExperienceHelper.d.ts +7 -7
  1422. package/XR/webXRFeaturesManager.d.ts +2 -2
  1423. package/XR/webXRInput.d.ts +6 -6
  1424. package/XR/webXRInputSource.d.ts +7 -7
  1425. package/XR/webXRLayerWrapper.d.ts +3 -3
  1426. package/XR/webXRManagedOutputCanvas.d.ts +5 -5
  1427. package/XR/webXRRenderTargetTextureProvider.d.ts +5 -5
  1428. package/XR/webXRSessionManager.d.ts +9 -9
  1429. package/XR/webXRTypes.d.ts +2 -2
  1430. package/XR/webXRWebGLLayer.d.ts +6 -6
  1431. package/assetContainer.d.ts +27 -27
  1432. package/index.d.ts +49 -49
  1433. package/node.d.ts +15 -15
  1434. package/package.json +1 -1
  1435. package/scene.d.ts +62 -62
  1436. package/sceneComponent.d.ts +12 -12
@@ -1,17 +1,17 @@
1
- import type { Nullable } from "../../types";
2
- import type { IAnimatable } from "../../Animations/animatable.interface";
3
- import { Color3 } from "../../Maths/math.color";
4
- import type { SmartArray } from "../../Misc/smartArray";
5
- import type { BaseTexture } from "../../Materials/Textures/baseTexture";
6
- import type { RenderTargetTexture } from "../../Materials/Textures/renderTargetTexture";
7
- import type { UniformBuffer } from "../../Materials/uniformBuffer";
8
- import type { EffectFallbacks } from "../effectFallbacks";
9
- import type { SubMesh } from "../../Meshes/subMesh";
10
- import { MaterialPluginBase } from "../materialPluginBase";
11
- import { MaterialDefines } from "../materialDefines";
12
- import type { Engine } from "../../Engines/engine";
13
- import type { Scene } from "../../scene";
14
- import type { PBRBaseMaterial } from "./pbrBaseMaterial";
1
+ import type { Nullable } from "../../types.js";
2
+ import type { IAnimatable } from "../../Animations/animatable.interface.js";
3
+ import { Color3 } from "../../Maths/math.color.js";
4
+ import type { SmartArray } from "../../Misc/smartArray.js";
5
+ import type { BaseTexture } from "../../Materials/Textures/baseTexture.js";
6
+ import type { RenderTargetTexture } from "../../Materials/Textures/renderTargetTexture.js";
7
+ import type { UniformBuffer } from "../../Materials/uniformBuffer.js";
8
+ import type { EffectFallbacks } from "../effectFallbacks.js";
9
+ import type { SubMesh } from "../../Meshes/subMesh.js";
10
+ import { MaterialPluginBase } from "../materialPluginBase.js";
11
+ import { MaterialDefines } from "../materialDefines.js";
12
+ import type { Engine } from "../../Engines/engine.js";
13
+ import type { Scene } from "../../scene.js";
14
+ import type { PBRBaseMaterial } from "./pbrBaseMaterial.js";
15
15
  /**
16
16
  * @internal
17
17
  */
@@ -1,5 +1,5 @@
1
- import type { BaseTexture } from "../baseTexture";
2
- import type { AbstractEngine } from "../../../Engines/abstractEngine";
1
+ import type { BaseTexture } from "../baseTexture.js";
2
+ import type { AbstractEngine } from "../../../Engines/abstractEngine.js";
3
3
  /**
4
4
  * Options for texture filtering
5
5
  */
@@ -1,5 +1,5 @@
1
- import { BaseTexture } from "../baseTexture";
2
- import type { AbstractEngine } from "../../../Engines/abstractEngine";
1
+ import { BaseTexture } from "../baseTexture.js";
2
+ import type { AbstractEngine } from "../../../Engines/abstractEngine.js";
3
3
  /**
4
4
  * Options for texture filtering
5
5
  */
@@ -1,4 +1,4 @@
1
- import { type IEXRDecoder } from "./exrLoader.interfaces";
1
+ import { type IEXRDecoder } from "./exrLoader.interfaces.js";
2
2
  /**
3
3
  * No compression
4
4
  * @param decoder defines the decoder to use
@@ -1,4 +1,4 @@
1
- import type { DataCursor } from "./exrLoader.core";
1
+ import type { DataCursor } from "./exrLoader.core.js";
2
2
  /** @internal */
3
3
  export declare function ReverseLutFromBitmap(bitmap: Uint8Array, lut: Uint16Array): number;
4
4
  /** @internal */
@@ -1,6 +1,6 @@
1
- import type { DataCursor } from "./exrLoader.core";
2
- import { type IEXRDecoder, type IEXRHeader } from "./exrLoader.interfaces";
3
- import { EXROutputType } from "./exrLoader.configuration";
1
+ import type { DataCursor } from "./exrLoader.core.js";
2
+ import { type IEXRDecoder, type IEXRHeader } from "./exrLoader.interfaces.js";
3
+ import { EXROutputType } from "./exrLoader.configuration.js";
4
4
  /**
5
5
  * Inspired by https://github.com/sciecode/three.js/blob/dev/examples/jsm/loaders/EXRLoader.js
6
6
  * Referred to the original Industrial Light & Magic OpenEXR implementation and the TinyEXR / Syoyo Fujita
@@ -1,5 +1,5 @@
1
- import type { DataCursor } from "./exrLoader.core";
2
- import type { IEXRHeader } from "./exrLoader.interfaces";
1
+ import type { DataCursor } from "./exrLoader.core.js";
2
+ import type { IEXRHeader } from "./exrLoader.interfaces.js";
3
3
  /**
4
4
  * Gets the EXR header
5
5
  * @param dataView defines the data view to read from
@@ -1,5 +1,5 @@
1
1
  import type { Nullable } from "../../../../types.js";
2
- import type { DataCursor } from "./exrLoader.core";
2
+ import type { DataCursor } from "./exrLoader.core.js";
3
3
  export declare const INT32_SIZE = 4;
4
4
  export declare const FLOAT32_SIZE = 4;
5
5
  export declare const INT8_SIZE = 1;
@@ -1,7 +1,7 @@
1
- export * from "./exrLoader.compression";
2
- export * from "./exrLoader.compression.huf";
3
- export * from "./exrLoader.compression.rle";
4
- export * from "./exrLoader.configuration";
5
- export * from "./exrLoader.core";
6
- export * from "./exrLoader.decoder";
7
- export * from "./exrLoader.header";
1
+ export * from "./exrLoader.compression.js";
2
+ export * from "./exrLoader.compression.huf.js";
3
+ export * from "./exrLoader.compression.rle.js";
4
+ export * from "./exrLoader.configuration.js";
5
+ export * from "./exrLoader.core.js";
6
+ export * from "./exrLoader.decoder.js";
7
+ export * from "./exrLoader.header.js";
@@ -1,6 +1,6 @@
1
- import type { Nullable } from "../../../types";
2
- import type { InternalTexture } from "../../../Materials/Textures/internalTexture";
3
- import type { IInternalTextureLoader } from "./internalTextureLoader";
1
+ import type { Nullable } from "../../../types.js";
2
+ import type { InternalTexture } from "../../../Materials/Textures/internalTexture.js";
3
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
4
4
  /**
5
5
  * Loader for .basis file format
6
6
  * @internal
@@ -1,6 +1,6 @@
1
- import type { Nullable } from "../../../types";
2
- import type { InternalTexture } from "../../../Materials/Textures/internalTexture";
3
- import type { IInternalTextureLoader } from "./internalTextureLoader";
1
+ import type { Nullable } from "../../../types.js";
2
+ import type { InternalTexture } from "../../../Materials/Textures/internalTexture.js";
3
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
4
4
  /**
5
5
  * Implementation of the DDS Texture Loader.
6
6
  * @internal
@@ -1,6 +1,6 @@
1
- import type { Nullable } from "../../../types";
2
- import type { InternalTexture } from "../../../Materials/Textures/internalTexture";
3
- import type { IInternalTextureLoader } from "./internalTextureLoader";
1
+ import type { Nullable } from "../../../types.js";
2
+ import type { InternalTexture } from "../../../Materials/Textures/internalTexture.js";
3
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
4
4
  /**
5
5
  * Implementation of the ENV Texture Loader.
6
6
  * @internal
@@ -1,6 +1,6 @@
1
1
  import type { Nullable } from "../../../types.js";
2
- import type { InternalTexture } from "../internalTexture";
3
- import type { IInternalTextureLoader } from "./internalTextureLoader";
2
+ import type { InternalTexture } from "../internalTexture.js";
3
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
4
4
  /**
5
5
  * Inspired by https://github.com/sciecode/three.js/blob/dev/examples/jsm/loaders/EXRLoader.js
6
6
  * Referred to the original Industrial Light & Magic OpenEXR implementation and the TinyEXR / Syoyo Fujita
@@ -1,5 +1,5 @@
1
- import type { InternalTexture } from "../../../Materials/Textures/internalTexture";
2
- import type { IInternalTextureLoader } from "./internalTextureLoader";
1
+ import type { InternalTexture } from "../../../Materials/Textures/internalTexture.js";
2
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
3
3
  /**
4
4
  * Implementation of the HDR Texture Loader.
5
5
  * @internal
@@ -1,5 +1,5 @@
1
- import type { InternalTexture } from "../internalTexture";
2
- import type { IInternalTextureLoader } from "./internalTextureLoader";
1
+ import type { InternalTexture } from "../internalTexture.js";
2
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
3
3
  /**
4
4
  * Implementation of the IES Texture Loader.
5
5
  * @internal
@@ -1,11 +1,11 @@
1
- export * from "./internalTextureLoader";
2
- export * from "./ddsTextureLoader";
3
- export * from "./envTextureLoader";
4
- export * from "./ktxTextureLoader";
5
- export * from "./tgaTextureLoader";
6
- export * from "./hdrTextureLoader";
7
- export * from "./basisTextureLoader";
8
- export * from "./exrTextureLoader";
9
- export * from "./iesTextureLoader";
10
- export * from "./textureLoaderManager";
11
- export * from "./EXR/index";
1
+ export * from "./internalTextureLoader.js";
2
+ export * from "./ddsTextureLoader.js";
3
+ export * from "./envTextureLoader.js";
4
+ export * from "./ktxTextureLoader.js";
5
+ export * from "./tgaTextureLoader.js";
6
+ export * from "./hdrTextureLoader.js";
7
+ export * from "./basisTextureLoader.js";
8
+ export * from "./exrTextureLoader.js";
9
+ export * from "./iesTextureLoader.js";
10
+ export * from "./textureLoaderManager.js";
11
+ export * from "./EXR/index.js";
@@ -1,5 +1,5 @@
1
- import type { Nullable } from "../../../types";
2
- import type { InternalTexture } from "../internalTexture";
1
+ import type { Nullable } from "../../../types.js";
2
+ import type { InternalTexture } from "../internalTexture.js";
3
3
  /**
4
4
  * This represents the required contract to create a new type of texture loader.
5
5
  */
@@ -1,6 +1,6 @@
1
- import type { Nullable } from "../../../types";
2
- import type { InternalTexture } from "../../../Materials/Textures/internalTexture";
3
- import type { IInternalTextureLoader } from "./internalTextureLoader";
1
+ import type { Nullable } from "../../../types.js";
2
+ import type { InternalTexture } from "../../../Materials/Textures/internalTexture.js";
3
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
4
4
  /**
5
5
  * Implementation of the KTX Texture Loader.
6
6
  * @internal
@@ -1,5 +1,5 @@
1
- import type { IInternalTextureLoader } from "./internalTextureLoader";
2
- import type { Nullable } from "../../../types";
1
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
2
+ import type { Nullable } from "../../../types.js";
3
3
  /**
4
4
  * Registers a texture loader.
5
5
  * If a loader for the extension exists in the registry, it will be replaced.
@@ -1,5 +1,5 @@
1
- import type { InternalTexture } from "../../../Materials/Textures/internalTexture";
2
- import type { IInternalTextureLoader } from "./internalTextureLoader";
1
+ import type { InternalTexture } from "../../../Materials/Textures/internalTexture.js";
2
+ import type { IInternalTextureLoader } from "./internalTextureLoader.js";
3
3
  /**
4
4
  * Implementation of the TGA Texture Loader.
5
5
  * @internal
@@ -1,5 +1,5 @@
1
- import { RenderTargetTexture } from "../Textures/renderTargetTexture";
2
- import type { Scene } from "../../scene";
1
+ import { RenderTargetTexture } from "../Textures/renderTargetTexture.js";
2
+ import type { Scene } from "../../scene.js";
3
3
  /**
4
4
  * Renders to multiple views with a single draw call
5
5
  * Only for WebGL backends
@@ -1,4 +1,4 @@
1
- import type { Vector2 } from "../../../Maths/math.vector";
1
+ import type { Vector2 } from "../../../Maths/math.vector.js";
2
2
  /**
3
3
  * Defines the basic options interface of a TexturePacker Frame
4
4
  */
@@ -1,2 +1,2 @@
1
- export * from "./packer";
2
- export * from "./frame";
1
+ export * from "./packer.js";
2
+ export * from "./frame.js";
@@ -1,8 +1,8 @@
1
- import type { AbstractMesh } from "../../../Meshes/abstractMesh";
2
- import type { Scene } from "../../../scene";
3
- import type { Nullable } from "../../../types";
4
- import { Color3, Color4 } from "../../../Maths/math.color";
5
- import { TexturePackerFrame } from "./frame";
1
+ import type { AbstractMesh } from "../../../Meshes/abstractMesh.js";
2
+ import type { Scene } from "../../../scene.js";
3
+ import type { Nullable } from "../../../types.js";
4
+ import { Color3, Color4 } from "../../../Maths/math.color.js";
5
+ import { TexturePackerFrame } from "./frame.js";
6
6
  /**
7
7
  * Defines the basic options interface of a TexturePacker
8
8
  */
@@ -1,8 +1,8 @@
1
- import type { Scene } from "../../../scene";
2
- import { Texture } from "../../../Materials/Textures/texture";
3
- import type { IProceduralTextureCreationOptions } from "./proceduralTexture";
4
- import { ProceduralTexture } from "./proceduralTexture";
5
- import type { TextureSize } from "../../../Materials/Textures/textureCreationOptions";
1
+ import type { Scene } from "../../../scene.js";
2
+ import { Texture } from "../../../Materials/Textures/texture.js";
3
+ import type { IProceduralTextureCreationOptions } from "./proceduralTexture.js";
4
+ import { ProceduralTexture } from "./proceduralTexture.js";
5
+ import type { TextureSize } from "../../../Materials/Textures/textureCreationOptions.js";
6
6
  /**
7
7
  * Options to create a Custom Procedural Texture.
8
8
  */
@@ -1,4 +1,4 @@
1
- export * from "./customProceduralTexture";
2
- export * from "./noiseProceduralTexture";
3
- export * from "./proceduralTexture";
4
- export * from "./proceduralTextureSceneComponent";
1
+ export * from "./customProceduralTexture.js";
2
+ export * from "./noiseProceduralTexture.js";
3
+ export * from "./proceduralTexture.js";
4
+ export * from "./proceduralTextureSceneComponent.js";
@@ -1,8 +1,8 @@
1
- import type { Nullable } from "../../../types";
2
- import type { Scene } from "../../../scene";
3
- import type { Texture } from "../../../Materials/Textures/texture";
4
- import { ProceduralTexture } from "./proceduralTexture";
5
- import "../../../Shaders/noise.fragment";
1
+ import type { Nullable } from "../../../types.js";
2
+ import type { Scene } from "../../../scene.js";
3
+ import type { Texture } from "../../../Materials/Textures/texture.js";
4
+ import { ProceduralTexture } from "./proceduralTexture.js";
5
+ import "../../../Shaders/noise.fragment.js";
6
6
  /**
7
7
  * Class used to generate noise procedural textures
8
8
  */
@@ -1,13 +1,13 @@
1
- import { Observable } from "../../../Misc/observable";
2
- import type { Nullable } from "../../../types";
3
- import type { Scene } from "../../../scene";
4
- import type { Matrix, Vector4, Vector3, Vector2 } from "../../../Maths/math.vector";
5
- import type { Color4, Color3 } from "../../../Maths/math.color";
6
- import type { Effect } from "../../../Materials/effect";
7
- import { Texture } from "../../../Materials/Textures/texture";
8
- import type { RenderTargetTextureOptions } from "../../../Materials/Textures/renderTargetTexture";
9
- import type { NodeMaterial } from "../../Node/nodeMaterial";
10
- import type { TextureSize } from "../../../Materials/Textures/textureCreationOptions";
1
+ import { Observable } from "../../../Misc/observable.js";
2
+ import type { Nullable } from "../../../types.js";
3
+ import type { Scene } from "../../../scene.js";
4
+ import type { Matrix, Vector4, Vector3, Vector2 } from "../../../Maths/math.vector.js";
5
+ import type { Color4, Color3 } from "../../../Maths/math.color.js";
6
+ import type { Effect } from "../../../Materials/effect.js";
7
+ import { Texture } from "../../../Materials/Textures/texture.js";
8
+ import type { RenderTargetTextureOptions } from "../../../Materials/Textures/renderTargetTexture.js";
9
+ import type { NodeMaterial } from "../../Node/nodeMaterial.js";
10
+ import type { TextureSize } from "../../../Materials/Textures/textureCreationOptions.js";
11
11
  import { ShaderLanguage } from "../../shaderLanguage.js";
12
12
  import type { ThinTexture } from "../thinTexture.js";
13
13
  /**
@@ -1,5 +1,5 @@
1
- import type { Scene } from "../../../scene";
2
- import type { ISceneComponent } from "../../../sceneComponent";
1
+ import type { Scene } from "../../../scene.js";
2
+ import type { ISceneComponent } from "../../../sceneComponent.js";
3
3
  /**
4
4
  * Defines the Procedural Texture scene component responsible to manage any Procedural Texture
5
5
  * in a given scene.
@@ -1,13 +1,13 @@
1
- import { Observable } from "../../Misc/observable";
2
- import type { Nullable } from "../../types";
3
- import type { Scene } from "../../scene";
4
- import { Matrix } from "../../Maths/math.vector";
5
- import type { InternalTexture } from "../../Materials/Textures/internalTexture";
6
- import type { IAnimatable } from "../../Animations/animatable.interface";
7
- import "../../Misc/fileTools";
8
- import type { AbstractEngine } from "../../Engines/abstractEngine";
9
- import { ThinTexture } from "./thinTexture";
10
- import type { Animation } from "../../Animations/animation";
1
+ import { Observable } from "../../Misc/observable.js";
2
+ import type { Nullable } from "../../types.js";
3
+ import type { Scene } from "../../scene.js";
4
+ import { Matrix } from "../../Maths/math.vector.js";
5
+ import type { InternalTexture } from "../../Materials/Textures/internalTexture.js";
6
+ import type { IAnimatable } from "../../Animations/animatable.interface.js";
7
+ import "../../Misc/fileTools.js";
8
+ import type { AbstractEngine } from "../../Engines/abstractEngine.js";
9
+ import { ThinTexture } from "./thinTexture.js";
10
+ import type { Animation } from "../../Animations/animation.js";
11
11
  import type { IAssetContainer } from "../../IAssetContainer.js";
12
12
  /**
13
13
  * Base class of all the textures in babylon.
@@ -1,6 +1,6 @@
1
- import type { Nullable } from "../../types";
2
- import type { SphericalPolynomial } from "../../Maths/sphericalPolynomial";
3
- declare module "./baseTexture" {
1
+ import type { Nullable } from "../../types.js";
2
+ import type { SphericalPolynomial } from "../../Maths/sphericalPolynomial.js";
3
+ declare module "./baseTexture.js" {
4
4
  interface BaseTexture {
5
5
  /**
6
6
  * Get the polynomial representation of the texture data.
@@ -1,8 +1,8 @@
1
- import type { Nullable } from "../../types";
2
- import type { Scene } from "../../scene";
3
- import { Matrix } from "../../Maths/math.vector";
4
- import { BaseTexture } from "../../Materials/Textures/baseTexture";
5
- import type { AbstractEngine } from "../../Engines/abstractEngine";
1
+ import type { Nullable } from "../../types.js";
2
+ import type { Scene } from "../../scene.js";
3
+ import { Matrix } from "../../Maths/math.vector.js";
4
+ import { BaseTexture } from "../../Materials/Textures/baseTexture.js";
5
+ import type { AbstractEngine } from "../../Engines/abstractEngine.js";
6
6
  /**
7
7
  * This represents a color grading texture. This acts as a lookup table LUT, useful during post process
8
8
  * It can help converting any input color in a desired output one. This can then be used to create effects
@@ -1,10 +1,10 @@
1
- import type { Nullable } from "../../types";
2
- import type { Scene } from "../../scene";
3
- import { Matrix, Vector3 } from "../../Maths/math.vector";
4
- import { BaseTexture } from "../../Materials/Textures/baseTexture";
5
- import type { AbstractEngine } from "../../Engines/abstractEngine";
6
- import { Observable } from "../../Misc/observable";
7
- import "../../Engines/AbstractEngine/abstractEngine.cubeTexture";
1
+ import type { Nullable } from "../../types.js";
2
+ import type { Scene } from "../../scene.js";
3
+ import { Matrix, Vector3 } from "../../Maths/math.vector.js";
4
+ import { BaseTexture } from "../../Materials/Textures/baseTexture.js";
5
+ import type { AbstractEngine } from "../../Engines/abstractEngine.js";
6
+ import { Observable } from "../../Misc/observable.js";
7
+ import "../../Engines/AbstractEngine/abstractEngine.cubeTexture.js";
8
8
  /**
9
9
  * Defines the available options when creating a cube texture
10
10
  */
@@ -1,9 +1,9 @@
1
- import type { Nullable } from "../../types";
2
- import type { Scene } from "../../scene";
3
- import type { ITextureCreationOptions } from "../../Materials/Textures/texture";
4
- import { Texture } from "../../Materials/Textures/texture";
5
- import type { ICanvas, ICanvasRenderingContext } from "../../Engines/ICanvas";
6
- import "../../Engines/Extensions/engine.dynamicTexture";
1
+ import type { Nullable } from "../../types.js";
2
+ import type { Scene } from "../../scene.js";
3
+ import type { ITextureCreationOptions } from "../../Materials/Textures/texture.js";
4
+ import { Texture } from "../../Materials/Textures/texture.js";
5
+ import type { ICanvas, ICanvasRenderingContext } from "../../Engines/ICanvas.js";
6
+ import "../../Engines/Extensions/engine.dynamicTexture.js";
7
7
  /**
8
8
  * Interface defining options used to create a dynamic texture
9
9
  */
@@ -111,6 +111,10 @@ export class DynamicTexture extends Texture {
111
111
  * @param allowGPUOptimization true to allow some specific GPU optimizations (subject to engine feature "allowGPUOptimizationsForGUI" being true)
112
112
  */
113
113
  update(invertY, premulAlpha = false, allowGPUOptimization = false) {
114
+ // When disposed, this._texture will be null.
115
+ if (!this._texture) {
116
+ return;
117
+ }
114
118
  this._getEngine().updateDynamicTexture(this._texture, this._canvas, invertY === undefined ? true : invertY, premulAlpha, this._format || undefined, undefined, allowGPUOptimization);
115
119
  }
116
120
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"dynamicTexture.js","sourceRoot":"","sources":["../../../../../dev/core/src/Materials/Textures/dynamicTexture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAK3C,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,OAAO,gDAAgD,CAAC;AAcxD;;;GAGG;AACH,MAAM,OAAO,cAAe,SAAQ,OAAO;IA6CvC,gBAAgB;IAChB,YACI,IAAY,EACZ,YAAkE,EAClE,cAAyD,EACzD,kBAA2B,KAAK,EAChC,eAAuB,SAAS,CAAC,8BAA8B,EAC/D,SAAiB,SAAS,CAAC,kBAAkB,EAC7C,OAAiB;QAEjB,MAAM,OAAO,GAAG,CAAC,cAAc,IAAK,cAAwB,CAAC,QAAQ,CAAC;QACtE,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAE,cAAwB,CAAC,CAAC,CAAE,cAAyC,EAAE,KAAK,CAAC;QACtG,MAAM,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAE,cAAyC,CAAC;QAEzF,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS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gBAAgB,CAAC,MAAqD;QACjF,OAAQ,MAA4B,CAAC,SAAS,KAAK,SAAS,CAAC;IACjE,CAAC;IAED,gBAAgB;IACA,QAAQ;QACpB,IAAI,CAAC,MAAM,EAAE,CAAC;IAClB,CAAC;CACJ","sourcesContent":["import { Logger } from \"../../Misc/logger\";\r\nimport type { Nullable } from \"../../types\";\r\nimport type { Scene } from \"../../scene\";\r\nimport type { ISize } from \"../../Maths/math.size\";\r\nimport type { ITextureCreationOptions } from \"../../Materials/Textures/texture\";\r\nimport { Texture } from \"../../Materials/Textures/texture\";\r\nimport { Constants } from \"../../Engines/constants\";\r\nimport type { ICanvas, ICanvasRenderingContext } from \"../../Engines/ICanvas\";\r\n\r\nimport \"../../Engines/Extensions/engine.dynamicTexture\";\r\n\r\n/**\r\n * Interface defining options used to create a dynamic texture\r\n */\r\nexport interface IDynamicTextureOptions extends ITextureCreationOptions {\r\n /** defines the width of the texture (default: 0) */\r\n width?: number;\r\n /** defines the height of the texture (default: 0) */\r\n height?: number;\r\n /** defines the hosting scene (default: null) */\r\n scene?: Nullable<Scene>;\r\n}\r\n\r\n/**\r\n * A class extending Texture allowing drawing on a texture\r\n * @see https://doc.babylonjs.com/features/featuresDeepDive/materials/using/dynamicTexture\r\n */\r\nexport class DynamicTexture extends Texture {\r\n private _generateMipMaps: boolean;\r\n private _canvas: ICanvas;\r\n private _ownCanvas: boolean;\r\n private _context: ICanvasRenderingContext;\r\n\r\n /**\r\n * Creates a DynamicTexture\r\n * @param name defines the name of the texture\r\n * @param canvasOrSize provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height\r\n * @param options The options to be used when constructing the dynamic texture\r\n */\r\n constructor(name: string, canvasOrSize: ICanvas | { width: number; height: number } | number, options?: IDynamicTextureOptions);\r\n\r\n /**\r\n * Creates a DynamicTexture\r\n * @param name defines the name of the texture\r\n * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height\r\n * @param scene defines the scene where you want the texture\r\n * @param generateMipMaps defines the use of MinMaps or not (default is false)\r\n * @param samplingMode defines the sampling mode to use (default is Texture.TRILINEAR_SAMPLINGMODE)\r\n * @param format defines the texture format to use (default is Engine.TEXTUREFORMAT_RGBA)\r\n * @param invertY defines if the texture needs to be inverted on the y axis during loading\r\n */\r\n constructor(\r\n name: string,\r\n options: ICanvas | { width: number; height: number } | number,\r\n scene?: Nullable<Scene>,\r\n generateMipMaps?: boolean,\r\n samplingMode?: number,\r\n format?: number,\r\n invertY?: boolean\r\n );\r\n\r\n /** @internal */\r\n constructor(\r\n name: string,\r\n canvasOrSize: ICanvas | { width: number; height: number } | number,\r\n sceneOrOptions?: Nullable<Scene> | IDynamicTextureOptions,\r\n generateMipMaps?: boolean,\r\n samplingMode?: number,\r\n format?: number,\r\n invertY?: boolean\r\n );\r\n\r\n /** @internal */\r\n constructor(\r\n name: string,\r\n canvasOrSize: ICanvas | { width: number; height: number } | number,\r\n sceneOrOptions?: Nullable<Scene> | IDynamicTextureOptions,\r\n generateMipMaps: boolean = false,\r\n samplingMode: number = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE,\r\n format: number = Constants.TEXTUREFORMAT_RGBA,\r\n invertY?: boolean\r\n ) {\r\n const isScene = !sceneOrOptions || (sceneOrOptions as Scene)._isScene;\r\n const scene = isScene ? (sceneOrOptions as Scene) : (sceneOrOptions as IDynamicTextureOptions)?.scene;\r\n const noMipmap = isScene ? !generateMipMaps : (sceneOrOptions as IDynamicTextureOptions);\r\n\r\n super(null, scene, noMipmap, invertY, samplingMode, undefined, undefined, undefined, undefined, format);\r\n\r\n this.name = name;\r\n this.wrapU = Texture.CLAMP_ADDRESSMODE;\r\n this.wrapV = Texture.CLAMP_ADDRESSMODE;\r\n\r\n this._generateMipMaps = generateMipMaps;\r\n\r\n const engine = this._getEngine();\r\n if (!engine) {\r\n return;\r\n }\r\n\r\n if ((canvasOrSize as ICanvas).getContext) {\r\n this._canvas = canvasOrSize as ICanvas;\r\n this._ownCanvas = false;\r\n this._texture = engine.createDynamicTexture(this._canvas.width, this._canvas.height, generateMipMaps, samplingMode);\r\n } else {\r\n this._canvas = engine.createCanvas(1, 1);\r\n this._ownCanvas = true;\r\n\r\n const optionsAsSize = canvasOrSize as ISize;\r\n if (optionsAsSize.width || optionsAsSize.width === 0) {\r\n this._texture = engine.createDynamicTexture(optionsAsSize.width, optionsAsSize.height, generateMipMaps, samplingMode);\r\n } else {\r\n this._texture = engine.createDynamicTexture(canvasOrSize as number, canvasOrSize as number, generateMipMaps, samplingMode);\r\n }\r\n }\r\n\r\n const textureSize = this.getSize();\r\n\r\n if (this._canvas.width !== textureSize.width) {\r\n this._canvas.width = textureSize.width;\r\n }\r\n if (this._canvas.height !== textureSize.height) {\r\n this._canvas.height = textureSize.height;\r\n }\r\n this._context = this._canvas.getContext(\"2d\");\r\n }\r\n\r\n /**\r\n * Get the current class name of the texture useful for serialization or dynamic coding.\r\n * @returns \"DynamicTexture\"\r\n */\r\n public override getClassName(): string {\r\n return \"DynamicTexture\";\r\n }\r\n\r\n /**\r\n * Gets the current state of canRescale\r\n */\r\n public override get canRescale(): boolean {\r\n return true;\r\n }\r\n\r\n private _recreate(textureSize: ISize): void {\r\n this._canvas.width = textureSize.width;\r\n this._canvas.height = textureSize.height;\r\n\r\n this.releaseInternalTexture();\r\n\r\n this._texture = this._getEngine()!.createDynamicTexture(textureSize.width, textureSize.height, this._generateMipMaps, this.samplingMode);\r\n }\r\n\r\n /**\r\n * Scales the texture\r\n * @param ratio the scale factor to apply to both width and height\r\n */\r\n public override scale(ratio: number): void {\r\n const textureSize = this.getSize();\r\n\r\n textureSize.width *= ratio;\r\n textureSize.height *= ratio;\r\n\r\n this._recreate(textureSize);\r\n }\r\n\r\n /**\r\n * Resizes the texture\r\n * @param width the new width\r\n * @param height the new height\r\n */\r\n public scaleTo(width: number, height: number): void {\r\n const textureSize = this.getSize();\r\n\r\n textureSize.width = width;\r\n textureSize.height = height;\r\n\r\n this._recreate(textureSize);\r\n }\r\n\r\n /**\r\n * Gets the context of the canvas used by the texture\r\n * @returns the canvas context of the dynamic texture\r\n */\r\n public getContext(): ICanvasRenderingContext {\r\n return this._context;\r\n }\r\n\r\n /**\r\n * Clears the texture\r\n * @param clearColor Defines the clear color to use\r\n */\r\n public clear(clearColor?: string): void {\r\n const size = this.getSize();\r\n if (clearColor) {\r\n this._context.fillStyle = clearColor;\r\n }\r\n this._context.clearRect(0, 0, size.width, size.height);\r\n }\r\n\r\n /**\r\n * Updates the texture\r\n * @param invertY defines the direction for the Y axis (default is true - y increases downwards)\r\n * @param premulAlpha defines if alpha is stored as premultiplied (default is false)\r\n * @param allowGPUOptimization true to allow some specific GPU optimizations (subject to engine feature \"allowGPUOptimizationsForGUI\" being true)\r\n */\r\n public update(invertY?: boolean, premulAlpha = false, allowGPUOptimization = false): void {\r\n this._getEngine()!.updateDynamicTexture(\r\n this._texture,\r\n this._canvas,\r\n invertY === undefined ? true : invertY,\r\n premulAlpha,\r\n this._format || undefined,\r\n undefined,\r\n allowGPUOptimization\r\n );\r\n }\r\n\r\n /**\r\n * Draws text onto the texture\r\n * @param text defines the text to be drawn\r\n * @param x defines the placement of the text from the left\r\n * @param y defines the placement of the text from the top when invertY is true and from the bottom when false\r\n * @param font defines the font to be used with font-style, font-size, font-name\r\n * @param color defines the color used for the text\r\n * @param fillColor defines the color for the canvas, use null to not overwrite canvas (this bleands with the background to replace, use the clear function)\r\n * @param invertY defines the direction for the Y axis (default is true - y increases downwards)\r\n * @param update defines whether texture is immediately update (default is true)\r\n */\r\n public drawText(\r\n text: string,\r\n x: number | null | undefined,\r\n y: number | null | undefined,\r\n font: string,\r\n color: string | null,\r\n fillColor: string | null,\r\n invertY?: boolean,\r\n update = true\r\n ) {\r\n const size = this.getSize();\r\n if (fillColor) {\r\n this._context.fillStyle = fillColor;\r\n this._context.fillRect(0, 0, size.width, size.height);\r\n }\r\n\r\n this._context.font = font;\r\n if (x === null || x === undefined) {\r\n const textSize = this._context.measureText(text);\r\n x = (size.width - textSize.width) / 2;\r\n }\r\n if (y === null || y === undefined) {\r\n const fontSize = parseInt(font.replace(/\\D/g, \"\"));\r\n y = size.height / 2 + fontSize / 3.65;\r\n }\r\n\r\n this._context.fillStyle = color || \"\";\r\n this._context.fillText(text, x, y);\r\n\r\n if (update) {\r\n this.update(invertY);\r\n }\r\n }\r\n\r\n /**\r\n * Disposes the dynamic texture.\r\n */\r\n public override dispose(): void {\r\n super.dispose();\r\n\r\n if (this._ownCanvas) {\r\n this._canvas?.remove?.();\r\n }\r\n (this._canvas as any) = null;\r\n (this._context as any) = null;\r\n }\r\n\r\n /**\r\n * Clones the texture\r\n * @returns the clone of the texture.\r\n */\r\n public override clone(): DynamicTexture {\r\n const scene = this.getScene();\r\n\r\n if (!scene) {\r\n return this;\r\n }\r\n\r\n const textureSize = this.getSize();\r\n const newTexture = new DynamicTexture(this.name, textureSize, scene, this._generateMipMaps);\r\n\r\n // Base texture\r\n newTexture.hasAlpha = this.hasAlpha;\r\n newTexture.level = this.level;\r\n\r\n // Dynamic Texture\r\n newTexture.wrapU = this.wrapU;\r\n newTexture.wrapV = this.wrapV;\r\n\r\n return newTexture;\r\n }\r\n\r\n /**\r\n * Serializes the dynamic texture. The scene should be ready before the dynamic texture is serialized\r\n * @returns a serialized dynamic texture object\r\n */\r\n public override serialize(): any {\r\n const scene = this.getScene();\r\n if (scene && !scene.isReady()) {\r\n Logger.Warn(\"The scene must be ready before serializing the dynamic texture\");\r\n }\r\n\r\n const serializationObject = super.serialize();\r\n if (DynamicTexture._IsCanvasElement(this._canvas)) {\r\n serializationObject.base64String = this._canvas.toDataURL();\r\n }\r\n\r\n serializationObject.invertY = this._invertY;\r\n serializationObject.samplingMode = this.samplingMode;\r\n\r\n return serializationObject;\r\n }\r\n\r\n private static _IsCanvasElement(canvas: HTMLCanvasElement | OffscreenCanvas | ICanvas): canvas is HTMLCanvasElement {\r\n return (canvas as HTMLCanvasElement).toDataURL !== undefined;\r\n }\r\n\r\n /** @internal */\r\n public override _rebuild(): void {\r\n this.update();\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"dynamicTexture.js","sourceRoot":"","sources":["../../../../../dev/core/src/Materials/Textures/dynamicTexture.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAK3C,OAAO,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGpD,OAAO,gDAAgD,CAAC;AAcxD;;;GAGG;AACH,MAAM,OAAO,cAAe,SAAQ,OAAO;IA6CvC,gBAAgB;IAChB,YACI,IAAY,EACZ,YAAkE,EAClE,cAAyD,EACzD,kBAA2B,KAAK,EAChC,eAAuB,SAAS,CAAC,8BAA8B,EAC/D,SAAiB,SAAS,CAAC,kBAAkB,EAC7C,OAAiB;QAEjB,MAAM,OAAO,GAAG,CAAC,cAAc,IAAK,cAAwB,CAAC,QAAQ,CAAC;QACtE,MAAM,KAAK,GAAG,OAAO,CAAC,CAAC,CAAE,cAAwB,CAAC,CAAC,CAAE,cAAyC,EAAE,KAAK,CAAC;QACtG,MAAM,QAAQ,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAE,cAAyC,CAAC;QAEzF,KAAK,CAAC,IAAI,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC;QAExG,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,OAAO,CAAC,iBAAiB,CAAC;QAEvC,IAAI,CAAC,gBAAgB,GAAG,eAAe,CAAC;QAExC,MAAM,MAAM,GAAG,IAAI,CAAC,UAAU,EAAE,CAAC;QACjC,IAAI,CAAC,MAAM,EAAE,CAAC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../scene\";\r\nimport type { ISize } from \"../../Maths/math.size\";\r\nimport type { ITextureCreationOptions } from \"../../Materials/Textures/texture\";\r\nimport { Texture } from \"../../Materials/Textures/texture\";\r\nimport { Constants } from \"../../Engines/constants\";\r\nimport type { ICanvas, ICanvasRenderingContext } from \"../../Engines/ICanvas\";\r\n\r\nimport \"../../Engines/Extensions/engine.dynamicTexture\";\r\n\r\n/**\r\n * Interface defining options used to create a dynamic texture\r\n */\r\nexport interface IDynamicTextureOptions extends ITextureCreationOptions {\r\n /** defines the width of the texture (default: 0) */\r\n width?: number;\r\n /** defines the height of the texture (default: 0) */\r\n height?: number;\r\n /** defines the hosting scene (default: null) */\r\n scene?: Nullable<Scene>;\r\n}\r\n\r\n/**\r\n * A class extending Texture allowing drawing on a texture\r\n * @see https://doc.babylonjs.com/features/featuresDeepDive/materials/using/dynamicTexture\r\n */\r\nexport class DynamicTexture extends Texture {\r\n private _generateMipMaps: boolean;\r\n private _canvas: ICanvas;\r\n private _ownCanvas: boolean;\r\n private _context: ICanvasRenderingContext;\r\n\r\n /**\r\n * Creates a DynamicTexture\r\n * @param name defines the name of the texture\r\n * @param canvasOrSize provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height\r\n * @param options The options to be used when constructing the dynamic texture\r\n */\r\n constructor(name: string, canvasOrSize: ICanvas | { width: number; height: number } | number, options?: IDynamicTextureOptions);\r\n\r\n /**\r\n * Creates a DynamicTexture\r\n * @param name defines the name of the texture\r\n * @param options provides 3 alternatives for width and height of texture, a canvas, object with width and height properties, number for both width and height\r\n * @param scene defines the scene where you want the texture\r\n * @param generateMipMaps defines the use of MinMaps or not (default is false)\r\n * @param samplingMode defines the sampling mode to use (default is Texture.TRILINEAR_SAMPLINGMODE)\r\n * @param format defines the texture format to use (default is Engine.TEXTUREFORMAT_RGBA)\r\n * @param invertY defines if the texture needs to be inverted on the y axis during loading\r\n */\r\n constructor(\r\n name: string,\r\n options: ICanvas | { width: number; height: number } | number,\r\n scene?: Nullable<Scene>,\r\n generateMipMaps?: boolean,\r\n samplingMode?: number,\r\n format?: number,\r\n invertY?: boolean\r\n );\r\n\r\n /** @internal */\r\n constructor(\r\n name: string,\r\n canvasOrSize: ICanvas | { width: number; height: number } | number,\r\n sceneOrOptions?: Nullable<Scene> | IDynamicTextureOptions,\r\n generateMipMaps?: boolean,\r\n samplingMode?: number,\r\n format?: number,\r\n invertY?: boolean\r\n );\r\n\r\n /** @internal */\r\n constructor(\r\n name: string,\r\n canvasOrSize: ICanvas | { width: number; height: number } | number,\r\n sceneOrOptions?: Nullable<Scene> | IDynamicTextureOptions,\r\n generateMipMaps: boolean = false,\r\n samplingMode: number = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE,\r\n format: number = Constants.TEXTUREFORMAT_RGBA,\r\n invertY?: boolean\r\n ) {\r\n const isScene = !sceneOrOptions || (sceneOrOptions as Scene)._isScene;\r\n const scene = isScene ? (sceneOrOptions as Scene) : (sceneOrOptions as IDynamicTextureOptions)?.scene;\r\n const noMipmap = isScene ? !generateMipMaps : (sceneOrOptions as IDynamicTextureOptions);\r\n\r\n super(null, scene, noMipmap, invertY, samplingMode, undefined, undefined, undefined, undefined, format);\r\n\r\n this.name = name;\r\n this.wrapU = Texture.CLAMP_ADDRESSMODE;\r\n this.wrapV = Texture.CLAMP_ADDRESSMODE;\r\n\r\n this._generateMipMaps = generateMipMaps;\r\n\r\n const engine = this._getEngine();\r\n if (!engine) {\r\n return;\r\n }\r\n\r\n if ((canvasOrSize as ICanvas).getContext) {\r\n this._canvas = canvasOrSize as ICanvas;\r\n this._ownCanvas = false;\r\n this._texture = engine.createDynamicTexture(this._canvas.width, this._canvas.height, generateMipMaps, samplingMode);\r\n } else {\r\n this._canvas = engine.createCanvas(1, 1);\r\n this._ownCanvas = true;\r\n\r\n const optionsAsSize = canvasOrSize as ISize;\r\n if (optionsAsSize.width || optionsAsSize.width === 0) {\r\n this._texture = engine.createDynamicTexture(optionsAsSize.width, optionsAsSize.height, generateMipMaps, samplingMode);\r\n } else {\r\n this._texture = engine.createDynamicTexture(canvasOrSize as number, canvasOrSize as number, generateMipMaps, samplingMode);\r\n }\r\n }\r\n\r\n const textureSize = this.getSize();\r\n\r\n if (this._canvas.width !== textureSize.width) {\r\n this._canvas.width = textureSize.width;\r\n }\r\n if (this._canvas.height !== textureSize.height) {\r\n this._canvas.height = textureSize.height;\r\n }\r\n this._context = this._canvas.getContext(\"2d\");\r\n }\r\n\r\n /**\r\n * Get the current class name of the texture useful for serialization or dynamic coding.\r\n * @returns \"DynamicTexture\"\r\n */\r\n public override getClassName(): string {\r\n return \"DynamicTexture\";\r\n }\r\n\r\n /**\r\n * Gets the current state of canRescale\r\n */\r\n public override get canRescale(): boolean {\r\n return true;\r\n }\r\n\r\n private _recreate(textureSize: ISize): void {\r\n this._canvas.width = textureSize.width;\r\n this._canvas.height = textureSize.height;\r\n\r\n this.releaseInternalTexture();\r\n\r\n this._texture = this._getEngine()!.createDynamicTexture(textureSize.width, textureSize.height, this._generateMipMaps, this.samplingMode);\r\n }\r\n\r\n /**\r\n * Scales the texture\r\n * @param ratio the scale factor to apply to both width and height\r\n */\r\n public override scale(ratio: number): void {\r\n const textureSize = this.getSize();\r\n\r\n textureSize.width *= ratio;\r\n textureSize.height *= ratio;\r\n\r\n this._recreate(textureSize);\r\n }\r\n\r\n /**\r\n * Resizes the texture\r\n * @param width the new width\r\n * @param height the new height\r\n */\r\n public scaleTo(width: number, height: number): void {\r\n const textureSize = this.getSize();\r\n\r\n textureSize.width = width;\r\n textureSize.height = height;\r\n\r\n this._recreate(textureSize);\r\n }\r\n\r\n /**\r\n * Gets the context of the canvas used by the texture\r\n * @returns the canvas context of the dynamic texture\r\n */\r\n public getContext(): ICanvasRenderingContext {\r\n return this._context;\r\n }\r\n\r\n /**\r\n * Clears the texture\r\n * @param clearColor Defines the clear color to use\r\n */\r\n public clear(clearColor?: string): void {\r\n const size = this.getSize();\r\n if (clearColor) {\r\n this._context.fillStyle = clearColor;\r\n }\r\n this._context.clearRect(0, 0, size.width, size.height);\r\n }\r\n\r\n /**\r\n * Updates the texture\r\n * @param invertY defines the direction for the Y axis (default is true - y increases downwards)\r\n * @param premulAlpha defines if alpha is stored as premultiplied (default is false)\r\n * @param allowGPUOptimization true to allow some specific GPU optimizations (subject to engine feature \"allowGPUOptimizationsForGUI\" being true)\r\n */\r\n public update(invertY?: boolean, premulAlpha = false, allowGPUOptimization = false): void {\r\n // When disposed, this._texture will be null.\r\n if (!this._texture) {\r\n return;\r\n }\r\n\r\n this._getEngine()!.updateDynamicTexture(\r\n this._texture,\r\n this._canvas,\r\n invertY === undefined ? true : invertY,\r\n premulAlpha,\r\n this._format || undefined,\r\n undefined,\r\n allowGPUOptimization\r\n );\r\n }\r\n\r\n /**\r\n * Draws text onto the texture\r\n * @param text defines the text to be drawn\r\n * @param x defines the placement of the text from the left\r\n * @param y defines the placement of the text from the top when invertY is true and from the bottom when false\r\n * @param font defines the font to be used with font-style, font-size, font-name\r\n * @param color defines the color used for the text\r\n * @param fillColor defines the color for the canvas, use null to not overwrite canvas (this bleands with the background to replace, use the clear function)\r\n * @param invertY defines the direction for the Y axis (default is true - y increases downwards)\r\n * @param update defines whether texture is immediately update (default is true)\r\n */\r\n public drawText(\r\n text: string,\r\n x: number | null | undefined,\r\n y: number | null | undefined,\r\n font: string,\r\n color: string | null,\r\n fillColor: string | null,\r\n invertY?: boolean,\r\n update = true\r\n ) {\r\n const size = this.getSize();\r\n if (fillColor) {\r\n this._context.fillStyle = fillColor;\r\n this._context.fillRect(0, 0, size.width, size.height);\r\n }\r\n\r\n this._context.font = font;\r\n if (x === null || x === undefined) {\r\n const textSize = this._context.measureText(text);\r\n x = (size.width - textSize.width) / 2;\r\n }\r\n if (y === null || y === undefined) {\r\n const fontSize = parseInt(font.replace(/\\D/g, \"\"));\r\n y = size.height / 2 + fontSize / 3.65;\r\n }\r\n\r\n this._context.fillStyle = color || \"\";\r\n this._context.fillText(text, x, y);\r\n\r\n if (update) {\r\n this.update(invertY);\r\n }\r\n }\r\n\r\n /**\r\n * Disposes the dynamic texture.\r\n */\r\n public override dispose(): void {\r\n super.dispose();\r\n\r\n if (this._ownCanvas) {\r\n this._canvas?.remove?.();\r\n }\r\n (this._canvas as any) = null;\r\n (this._context as any) = null;\r\n }\r\n\r\n /**\r\n * Clones the texture\r\n * @returns the clone of the texture.\r\n */\r\n public override clone(): DynamicTexture {\r\n const scene = this.getScene();\r\n\r\n if (!scene) {\r\n return this;\r\n }\r\n\r\n const textureSize = this.getSize();\r\n const newTexture = new DynamicTexture(this.name, textureSize, scene, this._generateMipMaps);\r\n\r\n // Base texture\r\n newTexture.hasAlpha = this.hasAlpha;\r\n newTexture.level = this.level;\r\n\r\n // Dynamic Texture\r\n newTexture.wrapU = this.wrapU;\r\n newTexture.wrapV = this.wrapV;\r\n\r\n return newTexture;\r\n }\r\n\r\n /**\r\n * Serializes the dynamic texture. The scene should be ready before the dynamic texture is serialized\r\n * @returns a serialized dynamic texture object\r\n */\r\n public override serialize(): any {\r\n const scene = this.getScene();\r\n if (scene && !scene.isReady()) {\r\n Logger.Warn(\"The scene must be ready before serializing the dynamic texture\");\r\n }\r\n\r\n const serializationObject = super.serialize();\r\n if (DynamicTexture._IsCanvasElement(this._canvas)) {\r\n serializationObject.base64String = this._canvas.toDataURL();\r\n }\r\n\r\n serializationObject.invertY = this._invertY;\r\n serializationObject.samplingMode = this.samplingMode;\r\n\r\n return serializationObject;\r\n }\r\n\r\n private static _IsCanvasElement(canvas: HTMLCanvasElement | OffscreenCanvas | ICanvas): canvas is HTMLCanvasElement {\r\n return (canvas as HTMLCanvasElement).toDataURL !== undefined;\r\n }\r\n\r\n /** @internal */\r\n public override _rebuild(): void {\r\n this.update();\r\n }\r\n}\r\n"]}
@@ -1,6 +1,6 @@
1
- import { BaseTexture } from "./baseTexture";
2
- import type { Scene } from "../../scene";
3
- import type { Nullable } from "../../types";
1
+ import { BaseTexture } from "./baseTexture.js";
2
+ import type { Scene } from "../../scene.js";
3
+ import type { Nullable } from "../../types.js";
4
4
  /**
5
5
  * This represents a texture coming from an equirectangular image supported by the web browser canvas.
6
6
  */
@@ -1,4 +1,4 @@
1
- import { InternalTexture } from "./internalTexture";
1
+ import { InternalTexture } from "./internalTexture.js";
2
2
  /**
3
3
  * Class used to store an external texture (like GPUExternalTexture in WebGPU)
4
4
  */
@@ -1,10 +1,10 @@
1
- import type { Nullable } from "../../types";
2
- import type { Scene } from "../../scene";
3
- import { Matrix, Vector3 } from "../../Maths/math.vector";
4
- import { BaseTexture } from "../../Materials/Textures/baseTexture";
5
- import { Observable } from "../../Misc/observable";
6
- import type { AbstractEngine } from "../../Engines/abstractEngine";
7
- import "../../Materials/Textures/baseTexture.polynomial";
1
+ import type { Nullable } from "../../types.js";
2
+ import type { Scene } from "../../scene.js";
3
+ import { Matrix, Vector3 } from "../../Maths/math.vector.js";
4
+ import { BaseTexture } from "../../Materials/Textures/baseTexture.js";
5
+ import { Observable } from "../../Misc/observable.js";
6
+ import type { AbstractEngine } from "../../Engines/abstractEngine.js";
7
+ import "../../Materials/Textures/baseTexture.polynomial.js";
8
8
  /**
9
9
  * This represents a texture coming from an HDR input.
10
10
  *