@babylonjs/core 8.1.1 → 8.2.1

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 (1506) 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/abstractSound.js +1 -1
  31. package/AudioV2/abstractAudio/abstractSound.js.map +1 -1
  32. package/AudioV2/abstractAudio/abstractSoundInstance.d.ts +4 -4
  33. package/AudioV2/abstractAudio/audioBus.d.ts +7 -7
  34. package/AudioV2/abstractAudio/audioEngineV2.d.ts +8 -8
  35. package/AudioV2/abstractAudio/components/spatialAudioAttacherComponent.d.ts +5 -5
  36. package/AudioV2/abstractAudio/index.d.ts +10 -10
  37. package/AudioV2/abstractAudio/mainAudioBus.d.ts +3 -3
  38. package/AudioV2/abstractAudio/mainAudioOut.d.ts +2 -2
  39. package/AudioV2/abstractAudio/staticSound.d.ts +5 -5
  40. package/AudioV2/abstractAudio/staticSoundBuffer.d.ts +1 -1
  41. package/AudioV2/abstractAudio/staticSoundInstance.d.ts +3 -3
  42. package/AudioV2/abstractAudio/streamingSound.d.ts +4 -4
  43. package/AudioV2/abstractAudio/streamingSoundInstance.d.ts +4 -4
  44. package/AudioV2/abstractAudio/subNodes/abstractAudioSubGraph.d.ts +3 -3
  45. package/AudioV2/abstractAudio/subNodes/abstractAudioSubNode.d.ts +2 -2
  46. package/AudioV2/abstractAudio/subNodes/audioAnalyzerSubNode.d.ts +6 -6
  47. package/AudioV2/abstractAudio/subNodes/spatialAudioSubNode.d.ts +9 -9
  48. package/AudioV2/abstractAudio/subNodes/stereoAudioSubNode.d.ts +6 -6
  49. package/AudioV2/abstractAudio/subNodes/volumeAudioSubNode.d.ts +4 -4
  50. package/AudioV2/abstractAudio/subProperties/abstractSpatialAudio.d.ts +4 -4
  51. package/AudioV2/abstractAudio/subProperties/abstractSpatialAudioListener.d.ts +4 -4
  52. package/AudioV2/abstractAudio/subProperties/audioAnalyzer.d.ts +3 -3
  53. package/AudioV2/abstractAudio/subProperties/index.d.ts +4 -4
  54. package/AudioV2/abstractAudio/subProperties/spatialAudio.d.ts +6 -6
  55. package/AudioV2/abstractAudio/subProperties/spatialAudioListener.d.ts +6 -6
  56. package/AudioV2/abstractAudio/subProperties/stereoAudio.d.ts +2 -2
  57. package/AudioV2/index.d.ts +4 -4
  58. package/AudioV2/webAudio/index.d.ts +5 -5
  59. package/AudioV2/webAudio/subNodes/spatialWebAudioSubNode.d.ts +4 -4
  60. package/AudioV2/webAudio/subNodes/stereoWebAudioSubNode.d.ts +3 -3
  61. package/AudioV2/webAudio/subNodes/volumeWebAudioSubNode.d.ts +3 -3
  62. package/AudioV2/webAudio/subNodes/webAudioAnalyzerSubNode.d.ts +4 -4
  63. package/AudioV2/webAudio/subNodes/webAudioBaseSubGraph.d.ts +7 -7
  64. package/AudioV2/webAudio/subNodes/webAudioBusAndSoundSubGraph.d.ts +7 -7
  65. package/AudioV2/webAudio/subProperties/spatialWebAudio.d.ts +2 -2
  66. package/AudioV2/webAudio/subProperties/spatialWebAudioListener.d.ts +2 -2
  67. package/AudioV2/webAudio/webAudioBus.d.ts +7 -7
  68. package/AudioV2/webAudio/webAudioEngine.d.ts +11 -11
  69. package/AudioV2/webAudio/webAudioMainBus.d.ts +6 -6
  70. package/AudioV2/webAudio/webAudioMainOut.d.ts +3 -3
  71. package/AudioV2/webAudio/webAudioNode.d.ts +4 -4
  72. package/AudioV2/webAudio/webAudioStaticSound.d.ts +13 -13
  73. package/AudioV2/webAudio/webAudioStreamingSound.d.ts +10 -10
  74. package/AudioV2/webAudio/webAudioUnmuteUI.d.ts +1 -1
  75. package/BakedVertexAnimation/bakedVertexAnimationManager.d.ts +5 -5
  76. package/BakedVertexAnimation/index.d.ts +2 -2
  77. package/BakedVertexAnimation/vertexAnimationBaker.d.ts +4 -4
  78. package/Behaviors/Cameras/autoRotationBehavior.d.ts +3 -3
  79. package/Behaviors/Cameras/bouncingBehavior.d.ts +3 -3
  80. package/Behaviors/Cameras/framingBehavior.d.ts +7 -7
  81. package/Behaviors/Cameras/index.d.ts +3 -3
  82. package/Behaviors/Meshes/attachToBoxBehavior.d.ts +3 -3
  83. package/Behaviors/Meshes/baseSixDofDragBehavior.d.ts +9 -9
  84. package/Behaviors/Meshes/fadeInOutBehavior.d.ts +2 -2
  85. package/Behaviors/Meshes/followBehavior.d.ts +4 -4
  86. package/Behaviors/Meshes/handConstraintBehavior.d.ts +4 -4
  87. package/Behaviors/Meshes/index.d.ts +9 -9
  88. package/Behaviors/Meshes/multiPointerScaleBehavior.d.ts +2 -2
  89. package/Behaviors/Meshes/pointerDragBehavior.d.ts +8 -8
  90. package/Behaviors/Meshes/sixDofDragBehavior.d.ts +4 -4
  91. package/Behaviors/Meshes/surfaceMagnetismBehavior.d.ts +5 -5
  92. package/Behaviors/behavior.d.ts +1 -1
  93. package/Behaviors/index.d.ts +3 -3
  94. package/Bones/bone.d.ts +8 -8
  95. package/Bones/boneIKController.d.ts +4 -4
  96. package/Bones/boneLookController.d.ts +4 -4
  97. package/Bones/index.d.ts +4 -4
  98. package/Bones/skeleton.d.ts +13 -13
  99. package/Buffers/buffer.align.d.ts +2 -2
  100. package/Buffers/buffer.d.ts +3 -3
  101. package/Buffers/buffer.nonFloatVertexBuffers.d.ts +3 -3
  102. package/Buffers/bufferUtils.d.ts +1 -1
  103. package/Buffers/index.d.ts +5 -5
  104. package/Buffers/storageBuffer.d.ts +2 -2
  105. package/Cameras/Inputs/BaseCameraMouseWheelInput.d.ts +3 -3
  106. package/Cameras/Inputs/BaseCameraPointersInput.d.ts +5 -5
  107. package/Cameras/Inputs/arcRotateCameraGamepadInput.d.ts +4 -4
  108. package/Cameras/Inputs/arcRotateCameraKeyboardMoveInput.d.ts +2 -2
  109. package/Cameras/Inputs/arcRotateCameraMouseWheelInput.d.ts +4 -4
  110. package/Cameras/Inputs/arcRotateCameraPointersInput.d.ts +5 -5
  111. package/Cameras/Inputs/arcRotateCameraVRDeviceOrientationInput.d.ts +3 -3
  112. package/Cameras/Inputs/flyCameraKeyboardInput.d.ts +2 -2
  113. package/Cameras/Inputs/flyCameraMouseInput.d.ts +2 -2
  114. package/Cameras/Inputs/followCameraKeyboardMoveInput.d.ts +2 -2
  115. package/Cameras/Inputs/followCameraMouseWheelInput.d.ts +2 -2
  116. package/Cameras/Inputs/followCameraPointersInput.d.ts +4 -4
  117. package/Cameras/Inputs/freeCameraDeviceOrientationInput.d.ts +5 -5
  118. package/Cameras/Inputs/freeCameraGamepadInput.d.ts +4 -4
  119. package/Cameras/Inputs/freeCameraKeyboardMoveInput.d.ts +2 -2
  120. package/Cameras/Inputs/freeCameraMouseInput.d.ts +3 -3
  121. package/Cameras/Inputs/freeCameraMouseWheelInput.d.ts +4 -4
  122. package/Cameras/Inputs/freeCameraTouchInput.d.ts +2 -2
  123. package/Cameras/Inputs/freeCameraVirtualJoystickInput.d.ts +4 -4
  124. package/Cameras/Inputs/index.d.ts +19 -19
  125. package/Cameras/RigModes/index.d.ts +3 -3
  126. package/Cameras/RigModes/stereoscopicAnaglyphRigMode.d.ts +1 -1
  127. package/Cameras/RigModes/stereoscopicRigMode.d.ts +1 -1
  128. package/Cameras/RigModes/vrRigMode.d.ts +1 -1
  129. package/Cameras/Stereoscopic/anaglyphArcRotateCamera.d.ts +3 -3
  130. package/Cameras/Stereoscopic/anaglyphFreeCamera.d.ts +3 -3
  131. package/Cameras/Stereoscopic/anaglyphGamepadCamera.d.ts +3 -3
  132. package/Cameras/Stereoscopic/anaglyphUniversalCamera.d.ts +3 -3
  133. package/Cameras/Stereoscopic/index.d.ts +9 -9
  134. package/Cameras/Stereoscopic/stereoscopicArcRotateCamera.d.ts +3 -3
  135. package/Cameras/Stereoscopic/stereoscopicFreeCamera.d.ts +3 -3
  136. package/Cameras/Stereoscopic/stereoscopicGamepadCamera.d.ts +3 -3
  137. package/Cameras/Stereoscopic/stereoscopicScreenUniversalCamera.d.ts +5 -5
  138. package/Cameras/Stereoscopic/stereoscopicUniversalCamera.d.ts +3 -3
  139. package/Cameras/VR/index.d.ts +5 -5
  140. package/Cameras/VR/vrCameraMetrics.d.ts +1 -1
  141. package/Cameras/VR/vrDeviceOrientationArcRotateCamera.d.ts +5 -5
  142. package/Cameras/VR/vrDeviceOrientationFreeCamera.d.ts +4 -4
  143. package/Cameras/VR/vrDeviceOrientationGamepadCamera.d.ts +5 -5
  144. package/Cameras/VR/vrExperienceHelper.d.ts +15 -15
  145. package/Cameras/arcRotateCamera.d.ts +12 -12
  146. package/Cameras/arcRotateCameraInputsManager.d.ts +2 -2
  147. package/Cameras/camera.d.ts +16 -16
  148. package/Cameras/cameraInputsManager.d.ts +2 -2
  149. package/Cameras/deviceOrientationCamera.d.ts +5 -5
  150. package/Cameras/flyCamera.d.ts +6 -6
  151. package/Cameras/flyCameraInputsManager.d.ts +2 -2
  152. package/Cameras/followCamera.d.ts +6 -6
  153. package/Cameras/followCameraInputsManager.d.ts +2 -2
  154. package/Cameras/freeCamera.d.ts +5 -5
  155. package/Cameras/freeCameraInputsManager.d.ts +5 -5
  156. package/Cameras/gamepadCamera.d.ts +3 -3
  157. package/Cameras/index.d.ts +20 -20
  158. package/Cameras/targetCamera.d.ts +4 -4
  159. package/Cameras/touchCamera.d.ts +3 -3
  160. package/Cameras/universalCamera.d.ts +4 -4
  161. package/Cameras/virtualJoysticksCamera.d.ts +4 -4
  162. package/Collisions/collider.d.ts +4 -4
  163. package/Collisions/collisionCoordinator.d.ts +5 -5
  164. package/Collisions/index.d.ts +10 -10
  165. package/Collisions/intersectionInfo.d.ts +1 -1
  166. package/Collisions/meshCollisionData.d.ts +5 -5
  167. package/Collisions/pickingInfo.d.ts +6 -6
  168. package/Compat/index.d.ts +1 -1
  169. package/Compute/computeEffect.d.ts +4 -4
  170. package/Compute/computeShader.d.ts +8 -8
  171. package/Compute/index.d.ts +2 -2
  172. package/Culling/Helper/computeShaderBoundingHelper.d.ts +2 -2
  173. package/Culling/Helper/transformFeedbackBoundingHelper.d.ts +3 -3
  174. package/Culling/Octrees/index.d.ts +3 -3
  175. package/Culling/Octrees/octree.d.ts +7 -7
  176. package/Culling/Octrees/octreeBlock.d.ts +4 -4
  177. package/Culling/Octrees/octreeSceneComponent.d.ts +9 -9
  178. package/Culling/boundingBox.d.ts +6 -6
  179. package/Culling/boundingInfo.d.ts +7 -7
  180. package/Culling/boundingSphere.d.ts +3 -3
  181. package/Culling/index.d.ts +8 -8
  182. package/Culling/ray.core.d.ts +4 -4
  183. package/Culling/ray.core.js +1 -1
  184. package/Culling/ray.core.js.map +1 -1
  185. package/Culling/ray.d.ts +1 -1
  186. package/Debug/ISkeletonViewer.d.ts +2 -2
  187. package/Debug/axesViewer.d.ts +4 -4
  188. package/Debug/boneAxesViewer.d.ts +6 -6
  189. package/Debug/debugLayer.d.ts +4 -4
  190. package/Debug/debugLayer.js +8 -1
  191. package/Debug/debugLayer.js.map +1 -1
  192. package/Debug/directionalLightFrustumViewer.d.ts +3 -3
  193. package/Debug/index.d.ts +8 -8
  194. package/Debug/physicsViewer.d.ts +11 -11
  195. package/Debug/rayHelper.d.ts +6 -6
  196. package/Debug/skeletonViewer.d.ts +9 -9
  197. package/Decorators/nodeDecorator.d.ts +2 -2
  198. package/DeviceInput/InputDevices/deviceSource.d.ts +5 -5
  199. package/DeviceInput/InputDevices/deviceSourceManager.d.ts +8 -8
  200. package/DeviceInput/InputDevices/deviceTypes.d.ts +1 -1
  201. package/DeviceInput/eventFactory.d.ts +4 -4
  202. package/DeviceInput/index.d.ts +4 -4
  203. package/DeviceInput/inputInterfaces.d.ts +2 -2
  204. package/DeviceInput/internalDeviceSourceManager.d.ts +8 -8
  205. package/DeviceInput/nativeDeviceInputSystem.d.ts +3 -3
  206. package/DeviceInput/webDeviceInputSystem.d.ts +4 -4
  207. package/Engines/AbstractEngine/abstractEngine.alpha.d.ts +1 -1
  208. package/Engines/AbstractEngine/abstractEngine.cubeTexture.d.ts +4 -4
  209. package/Engines/AbstractEngine/abstractEngine.dom.d.ts +3 -3
  210. package/Engines/AbstractEngine/abstractEngine.loadingScreen.d.ts +2 -2
  211. package/Engines/AbstractEngine/abstractEngine.query.d.ts +3 -3
  212. package/Engines/AbstractEngine/abstractEngine.renderPass.d.ts +1 -1
  213. package/Engines/AbstractEngine/abstractEngine.states.d.ts +3 -3
  214. package/Engines/AbstractEngine/abstractEngine.texture.d.ts +4 -4
  215. package/Engines/AbstractEngine/abstractEngine.timeQuery.d.ts +3 -3
  216. package/Engines/AbstractEngine/abstractEngine.views.d.ts +4 -4
  217. package/Engines/AbstractEngine/index.d.ts +10 -10
  218. package/Engines/Extensions/engine.alpha.d.ts +1 -1
  219. package/Engines/Extensions/engine.computeShader.d.ts +7 -7
  220. package/Engines/Extensions/engine.cubeTexture.d.ts +5 -5
  221. package/Engines/Extensions/engine.debugging.d.ts +1 -1
  222. package/Engines/Extensions/engine.dynamicBuffer.d.ts +3 -3
  223. package/Engines/Extensions/engine.dynamicTexture.d.ts +4 -4
  224. package/Engines/Extensions/engine.multiRender.d.ts +5 -5
  225. package/Engines/Extensions/engine.multiview.d.ts +9 -9
  226. package/Engines/Extensions/engine.prefilteredCubeTexture.d.ts +4 -4
  227. package/Engines/Extensions/engine.query.d.ts +7 -7
  228. package/Engines/Extensions/engine.rawTexture.d.ts +4 -4
  229. package/Engines/Extensions/engine.readTexture.d.ts +4 -4
  230. package/Engines/Extensions/engine.renderTarget.d.ts +6 -6
  231. package/Engines/Extensions/engine.renderTargetCube.d.ts +3 -3
  232. package/Engines/Extensions/engine.renderTargetTexture.d.ts +3 -3
  233. package/Engines/Extensions/engine.textureSelector.d.ts +2 -2
  234. package/Engines/Extensions/engine.transformFeedback.d.ts +3 -3
  235. package/Engines/Extensions/engine.uniformBuffer.d.ts +4 -4
  236. package/Engines/Extensions/engine.videoTexture.d.ts +4 -4
  237. package/Engines/Extensions/engine.views.d.ts +1 -1
  238. package/Engines/Extensions/index.d.ts +20 -20
  239. package/Engines/IPipelineContext.d.ts +4 -4
  240. package/Engines/Native/index.d.ts +2 -2
  241. package/Engines/Native/nativeDataStream.d.ts +1 -1
  242. package/Engines/Native/nativeHardwareTexture.d.ts +3 -3
  243. package/Engines/Native/nativeInterfaces.d.ts +6 -6
  244. package/Engines/Native/nativePipelineContext.d.ts +8 -8
  245. package/Engines/Native/nativeRenderTargetWrapper.d.ts +5 -5
  246. package/Engines/Native/nativeShaderProcessingContext.d.ts +1 -1
  247. package/Engines/Native/nativeShaderProcessors.d.ts +4 -4
  248. package/Engines/Native/validatedNativeDataStream.d.ts +2 -2
  249. package/Engines/Processors/Expressions/Operators/index.d.ts +4 -4
  250. package/Engines/Processors/Expressions/Operators/shaderDefineAndOperator.d.ts +1 -1
  251. package/Engines/Processors/Expressions/Operators/shaderDefineArithmeticOperator.d.ts +1 -1
  252. package/Engines/Processors/Expressions/Operators/shaderDefineArithmeticOperator.js +2 -6
  253. package/Engines/Processors/Expressions/Operators/shaderDefineArithmeticOperator.js.map +1 -1
  254. package/Engines/Processors/Expressions/Operators/shaderDefineIsDefinedOperator.d.ts +1 -1
  255. package/Engines/Processors/Expressions/Operators/shaderDefineOrOperator.d.ts +1 -1
  256. package/Engines/Processors/Expressions/index.d.ts +2 -2
  257. package/Engines/Processors/iShaderProcessor.d.ts +8 -4
  258. package/Engines/Processors/iShaderProcessor.js.map +1 -1
  259. package/Engines/Processors/index.d.ts +9 -9
  260. package/Engines/Processors/shaderCodeConditionNode.d.ts +5 -3
  261. package/Engines/Processors/shaderCodeConditionNode.js +2 -2
  262. package/Engines/Processors/shaderCodeConditionNode.js.map +1 -1
  263. package/Engines/Processors/shaderCodeNode.d.ts +4 -2
  264. package/Engines/Processors/shaderCodeNode.js +3 -2
  265. package/Engines/Processors/shaderCodeNode.js.map +1 -1
  266. package/Engines/Processors/shaderCodeTestNode.d.ts +2 -2
  267. package/Engines/Processors/shaderProcessingOptions.d.ts +2 -2
  268. package/Engines/Processors/shaderProcessor.d.ts +6 -6
  269. package/Engines/Processors/shaderProcessor.js +16 -14
  270. package/Engines/Processors/shaderProcessor.js.map +1 -1
  271. package/Engines/WebGL/webGL2ShaderProcessors.d.ts +2 -2
  272. package/Engines/WebGL/webGLHardwareTexture.d.ts +2 -2
  273. package/Engines/WebGL/webGLPipelineContext.d.ts +6 -6
  274. package/Engines/WebGL/webGLRenderTargetWrapper.d.ts +5 -5
  275. package/Engines/WebGL/webGLShaderProcessors.d.ts +4 -4
  276. package/Engines/WebGPU/Extensions/engine.alpha.d.ts +2 -2
  277. package/Engines/WebGPU/Extensions/engine.computeShader.d.ts +7 -7
  278. package/Engines/WebGPU/Extensions/engine.cubeTexture.d.ts +5 -5
  279. package/Engines/WebGPU/Extensions/engine.dynamicTexture.d.ts +4 -4
  280. package/Engines/WebGPU/Extensions/engine.multiRender.d.ts +5 -5
  281. package/Engines/WebGPU/Extensions/engine.query.d.ts +1 -1
  282. package/Engines/WebGPU/Extensions/engine.rawTexture.d.ts +4 -4
  283. package/Engines/WebGPU/Extensions/engine.readTexture.d.ts +3 -3
  284. package/Engines/WebGPU/Extensions/engine.renderTarget.d.ts +6 -6
  285. package/Engines/WebGPU/Extensions/engine.renderTargetCube.d.ts +3 -3
  286. package/Engines/WebGPU/Extensions/engine.renderTargetTexture.d.ts +3 -3
  287. package/Engines/WebGPU/Extensions/engine.videoTexture.d.ts +4 -4
  288. package/Engines/WebGPU/Extensions/index.d.ts +13 -13
  289. package/Engines/WebGPU/webgpuBufferManager.d.ts +4 -4
  290. package/Engines/WebGPU/webgpuBundleList.d.ts +1 -1
  291. package/Engines/WebGPU/webgpuCacheBindGroups.d.ts +5 -5
  292. package/Engines/WebGPU/webgpuCacheRenderPipeline.d.ts +5 -5
  293. package/Engines/WebGPU/webgpuCacheRenderPipelineString.d.ts +2 -2
  294. package/Engines/WebGPU/webgpuCacheRenderPipelineTree.d.ts +2 -2
  295. package/Engines/WebGPU/webgpuCacheSampler.d.ts +2 -2
  296. package/Engines/WebGPU/webgpuClearQuad.d.ts +7 -7
  297. package/Engines/WebGPU/webgpuComputeContext.d.ts +3 -3
  298. package/Engines/WebGPU/webgpuComputePipelineContext.d.ts +3 -3
  299. package/Engines/WebGPU/webgpuDepthCullingState.d.ts +3 -3
  300. package/Engines/WebGPU/webgpuDrawContext.d.ts +4 -4
  301. package/Engines/WebGPU/webgpuExternalTexture.d.ts +1 -1
  302. package/Engines/WebGPU/webgpuHardwareTexture.d.ts +3 -3
  303. package/Engines/WebGPU/webgpuMaterialContext.d.ts +5 -5
  304. package/Engines/WebGPU/webgpuOcclusionQuery.d.ts +2 -2
  305. package/Engines/WebGPU/webgpuPerfCounter.d.ts +1 -1
  306. package/Engines/WebGPU/webgpuPipelineContext.d.ts +8 -8
  307. package/Engines/WebGPU/webgpuQuerySet.d.ts +3 -3
  308. package/Engines/WebGPU/webgpuRenderTargetWrapper.d.ts +4 -4
  309. package/Engines/WebGPU/webgpuShaderProcessingContext.d.ts +2 -2
  310. package/Engines/WebGPU/webgpuShaderProcessor.d.ts +4 -4
  311. package/Engines/WebGPU/webgpuShaderProcessorsGLSL.d.ts +5 -5
  312. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.d.ts +22 -18
  313. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js +64 -21
  314. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js.map +1 -1
  315. package/Engines/WebGPU/webgpuSnapshotRendering.d.ts +2 -2
  316. package/Engines/WebGPU/webgpuStencilStateComposer.d.ts +2 -2
  317. package/Engines/WebGPU/webgpuTextureHelper.d.ts +2 -2
  318. package/Engines/WebGPU/webgpuTextureManager.d.ts +6 -6
  319. package/Engines/WebGPU/webgpuTimestampQuery.d.ts +4 -4
  320. package/Engines/abstractEngine.d.ts +41 -41
  321. package/Engines/abstractEngine.js +2 -2
  322. package/Engines/abstractEngine.js.map +1 -1
  323. package/Engines/engine.common.d.ts +3 -3
  324. package/Engines/engine.d.ts +30 -30
  325. package/Engines/engineFactory.d.ts +1 -1
  326. package/Engines/engineStore.d.ts +4 -4
  327. package/Engines/index.d.ts +39 -39
  328. package/Engines/nativeEngine.d.ts +27 -27
  329. package/Engines/nullEngine.d.ts +13 -13
  330. package/Engines/renderTargetWrapper.d.ts +4 -4
  331. package/Engines/shaderStore.d.ts +1 -1
  332. package/Engines/thinEngine.d.ts +27 -27
  333. package/Engines/thinEngine.functions.d.ts +5 -5
  334. package/Engines/thinWebGPUEngine.d.ts +8 -8
  335. package/Engines/webgpuEngine.d.ts +48 -48
  336. package/Events/deviceInputEvents.d.ts +1 -1
  337. package/Events/index.d.ts +4 -4
  338. package/Events/keyboardEvents.d.ts +1 -1
  339. package/Events/pointerEvents.d.ts +6 -6
  340. package/FlowGraph/Blocks/Data/Math/flowGraphMathBlocks.d.ts +12 -7
  341. package/FlowGraph/Blocks/Data/Math/flowGraphMathBlocks.js +26 -7
  342. package/FlowGraph/Blocks/Data/Math/flowGraphMathBlocks.js.map +1 -1
  343. package/FlowGraph/Blocks/Data/Math/flowGraphMathCombineExtractBlocks.d.ts +1 -1
  344. package/FlowGraph/Blocks/Data/Math/flowGraphMatrixMathBlocks.d.ts +2 -2
  345. package/FlowGraph/Blocks/Data/Math/flowGraphVectorMathBlocks.d.ts +3 -3
  346. package/FlowGraph/Blocks/Data/Math/index.d.ts +4 -4
  347. package/FlowGraph/Blocks/Data/Transformers/flowGraphJsonPointerParserBlock.d.ts +1 -1
  348. package/FlowGraph/Blocks/Data/Transformers/flowGraphTypeToTypeBlocks.d.ts +1 -1
  349. package/FlowGraph/Blocks/Data/Transformers/index.d.ts +2 -2
  350. package/FlowGraph/Blocks/Data/Utils/index.d.ts +5 -5
  351. package/FlowGraph/Blocks/Data/flowGraphBinaryOperationBlock.d.ts +5 -5
  352. package/FlowGraph/Blocks/Data/flowGraphCachedOperationBlock.d.ts +5 -5
  353. package/FlowGraph/Blocks/Data/flowGraphConditionalDataBlock.d.ts +4 -4
  354. package/FlowGraph/Blocks/Data/flowGraphConstantBlock.d.ts +1 -1
  355. package/FlowGraph/Blocks/Data/flowGraphConstantOperationBlock.d.ts +4 -4
  356. package/FlowGraph/Blocks/Data/flowGraphGetPropertyBlock.d.ts +1 -1
  357. package/FlowGraph/Blocks/Data/flowGraphGetVariableBlock.d.ts +4 -4
  358. package/FlowGraph/Blocks/Data/flowGraphTernaryOperationBlock.d.ts +5 -5
  359. package/FlowGraph/Blocks/Data/flowGraphTransformCoordinatesSystemBlock.d.ts +6 -6
  360. package/FlowGraph/Blocks/Data/flowGraphUnaryOperationBlock.d.ts +5 -5
  361. package/FlowGraph/Blocks/Data/index.d.ts +12 -12
  362. package/FlowGraph/Blocks/Event/flowGraphMeshPickEventBlock.d.ts +6 -6
  363. package/FlowGraph/Blocks/Event/flowGraphPointerOutEventBlock.d.ts +1 -1
  364. package/FlowGraph/Blocks/Event/flowGraphPointerOverEventBlock.d.ts +1 -1
  365. package/FlowGraph/Blocks/Event/flowGraphReceiveCustomEventBlock.d.ts +4 -4
  366. package/FlowGraph/Blocks/Event/flowGraphSceneReadyEventBlock.d.ts +2 -2
  367. package/FlowGraph/Blocks/Event/flowGraphSceneTickEventBlock.d.ts +1 -1
  368. package/FlowGraph/Blocks/Event/flowGraphSendCustomEventBlock.d.ts +3 -3
  369. package/FlowGraph/Blocks/Event/index.d.ts +7 -7
  370. package/FlowGraph/Blocks/Execution/Animation/flowGraphInterpolationBlock.d.ts +1 -1
  371. package/FlowGraph/Blocks/Execution/Animation/flowGraphInterpolationBlock.js +1 -1
  372. package/FlowGraph/Blocks/Execution/Animation/flowGraphInterpolationBlock.js.map +1 -1
  373. package/FlowGraph/Blocks/Execution/Animation/flowGraphPauseAnimationBlock.d.ts +4 -4
  374. package/FlowGraph/Blocks/Execution/Animation/flowGraphPlayAnimationBlock.d.ts +4 -4
  375. package/FlowGraph/Blocks/Execution/Animation/flowGraphStopAnimationBlock.d.ts +3 -3
  376. package/FlowGraph/Blocks/Execution/Animation/index.d.ts +6 -6
  377. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphBranchBlock.d.ts +5 -5
  378. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphCancelDelayBlock.d.ts +5 -5
  379. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphCounterBlock.d.ts +5 -5
  380. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphDebounceBlock.d.ts +1 -1
  381. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphDoNBlock.d.ts +6 -6
  382. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphFlipFlopBlock.d.ts +1 -1
  383. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphForLoopBlock.d.ts +4 -4
  384. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphMultiGateBlock.d.ts +5 -5
  385. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSequenceBlock.d.ts +4 -4
  386. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSetDelayBlock.d.ts +5 -5
  387. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphSwitchBlock.d.ts +5 -5
  388. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphThrottleBlock.d.ts +5 -5
  389. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWaitAllBlock.d.ts +4 -4
  390. package/FlowGraph/Blocks/Execution/ControlFlow/flowGraphWhileLoopBlock.d.ts +5 -5
  391. package/FlowGraph/Blocks/Execution/ControlFlow/index.d.ts +14 -14
  392. package/FlowGraph/Blocks/Execution/flowGraphConsoleLogBlock.d.ts +4 -4
  393. package/FlowGraph/Blocks/Execution/flowGraphSetVariableBlock.d.ts +4 -4
  394. package/FlowGraph/Blocks/Execution/index.d.ts +3 -3
  395. package/FlowGraph/Blocks/flowGraphBlockFactory.d.ts +2 -2
  396. package/FlowGraph/Blocks/index.d.ts +5 -5
  397. package/FlowGraph/CustomTypes/index.d.ts +2 -2
  398. package/FlowGraph/flowGraph.d.ts +9 -9
  399. package/FlowGraph/flowGraphAsyncExecutionBlock.d.ts +4 -4
  400. package/FlowGraph/flowGraphBlock.d.ts +7 -7
  401. package/FlowGraph/flowGraphContext.d.ts +10 -10
  402. package/FlowGraph/flowGraphCoordinator.d.ts +4 -4
  403. package/FlowGraph/flowGraphDataConnection.d.ts +4 -4
  404. package/FlowGraph/flowGraphEventBlock.d.ts +3 -3
  405. package/FlowGraph/flowGraphExecutionBlock.d.ts +4 -4
  406. package/FlowGraph/flowGraphExecutionBlockWithOutSignal.d.ts +3 -3
  407. package/FlowGraph/flowGraphParser.d.ts +10 -10
  408. package/FlowGraph/flowGraphPathConverter.d.ts +3 -3
  409. package/FlowGraph/flowGraphPathConverterComponent.d.ts +6 -6
  410. package/FlowGraph/flowGraphPathConverterComponent.js +1 -1
  411. package/FlowGraph/flowGraphPathConverterComponent.js.map +1 -1
  412. package/FlowGraph/flowGraphRichTypes.d.ts +4 -4
  413. package/FlowGraph/flowGraphSceneEventCoordinator.d.ts +1 -1
  414. package/FlowGraph/flowGraphSignalConnection.d.ts +3 -3
  415. package/FlowGraph/index.d.ts +18 -18
  416. package/FlowGraph/serialization.d.ts +2 -2
  417. package/FlowGraph/typeDefinitions.d.ts +1 -1
  418. package/FlowGraph/utils.d.ts +3 -3
  419. package/FrameGraph/Node/Blocks/Layers/glowLayerBlock.d.ts +1 -1
  420. package/FrameGraph/Node/Blocks/Layers/highlightLayerBlock.d.ts +1 -1
  421. package/FrameGraph/Node/Blocks/PostProcesses/anaglyphPostProcessBlock.d.ts +1 -1
  422. package/FrameGraph/Node/Blocks/PostProcesses/basePostProcessBlock.d.ts +1 -1
  423. package/FrameGraph/Node/Blocks/PostProcesses/blackAndWhitePostProcessBlock.d.ts +1 -1
  424. package/FrameGraph/Node/Blocks/PostProcesses/bloomPostProcessBlock.d.ts +2 -2
  425. package/FrameGraph/Node/Blocks/PostProcesses/blurPostProcessBlock.d.ts +1 -1
  426. package/FrameGraph/Node/Blocks/PostProcesses/chromaticAberrationPostProcessBlock.d.ts +1 -1
  427. package/FrameGraph/Node/Blocks/PostProcesses/circleOfConfusionPostProcessBlock.d.ts +1 -1
  428. package/FrameGraph/Node/Blocks/PostProcesses/depthOfFieldPostProcessBlock.d.ts +2 -2
  429. package/FrameGraph/Node/Blocks/PostProcesses/extractHighlightsPostProcessBlock.d.ts +1 -1
  430. package/FrameGraph/Node/Blocks/PostProcesses/imageProcessingPostProcessBlock.d.ts +71 -0
  431. package/FrameGraph/Node/Blocks/PostProcesses/imageProcessingPostProcessBlock.js +246 -0
  432. package/FrameGraph/Node/Blocks/PostProcesses/imageProcessingPostProcessBlock.js.map +1 -0
  433. package/FrameGraph/Node/Blocks/PostProcesses/passPostProcessBlock.d.ts +1 -1
  434. package/FrameGraph/Node/Blocks/PostProcesses/ssrPostProcessBlock.d.ts +2 -2
  435. package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.d.ts +3 -3
  436. package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.js +4 -4
  437. package/FrameGraph/Node/Blocks/Rendering/baseObjectRendererBlock.js.map +1 -1
  438. package/FrameGraph/Node/Blocks/Rendering/baseShadowGeneratorBlock.d.ts +1 -1
  439. package/FrameGraph/Node/Blocks/Rendering/csmShadowGeneratorBlock.d.ts +2 -2
  440. package/FrameGraph/Node/Blocks/Rendering/geometryRendererBlock.d.ts +2 -2
  441. package/FrameGraph/Node/Blocks/Rendering/objectRendererBlock.d.ts +1 -1
  442. package/FrameGraph/Node/Blocks/Rendering/shadowGeneratorBlock.d.ts +1 -1
  443. package/FrameGraph/Node/Blocks/Rendering/taaObjectRendererBlock.d.ts +1 -1
  444. package/FrameGraph/Node/Blocks/Rendering/utilityLayerRendererBlock.d.ts +2 -2
  445. package/FrameGraph/Node/Blocks/Teleport/teleportInBlock.d.ts +1 -1
  446. package/FrameGraph/Node/Blocks/Teleport/teleportOutBlock.d.ts +1 -1
  447. package/FrameGraph/Node/Blocks/Textures/clearBlock.d.ts +3 -3
  448. package/FrameGraph/Node/Blocks/Textures/copyTextureBlock.d.ts +2 -2
  449. package/FrameGraph/Node/Blocks/Textures/generateMipmapsBlock.d.ts +2 -2
  450. package/FrameGraph/Node/Blocks/cullObjectsBlock.d.ts +2 -2
  451. package/FrameGraph/Node/Blocks/elbowBlock.d.ts +1 -1
  452. package/FrameGraph/Node/Blocks/executeBlock.d.ts +2 -2
  453. package/FrameGraph/Node/Blocks/index.d.ts +30 -29
  454. package/FrameGraph/Node/Blocks/index.js +1 -0
  455. package/FrameGraph/Node/Blocks/index.js.map +1 -1
  456. package/FrameGraph/Node/Blocks/inputBlock.d.ts +3 -3
  457. package/FrameGraph/Node/Blocks/outputBlock.d.ts +2 -2
  458. package/FrameGraph/Node/Blocks/resourceContainerBlock.d.ts +1 -1
  459. package/FrameGraph/Node/nodeRenderGraph.d.ts +4 -4
  460. package/FrameGraph/Node/nodeRenderGraphBlock.d.ts +3 -3
  461. package/FrameGraph/Node/nodeRenderGraphBlockConnectionPoint.d.ts +2 -2
  462. package/FrameGraph/Node/nodeRenderGraphConnectionPointCustomObject.d.ts +2 -2
  463. package/FrameGraph/Passes/cullPass.d.ts +1 -1
  464. package/FrameGraph/Passes/renderPass.d.ts +1 -1
  465. package/FrameGraph/Tasks/Layers/baseLayerTask.d.ts +6 -6
  466. package/FrameGraph/Tasks/Layers/glowLayerTask.d.ts +1 -1
  467. package/FrameGraph/Tasks/Layers/highlightLayerTask.d.ts +1 -1
  468. package/FrameGraph/Tasks/Misc/cullObjectsTask.d.ts +1 -1
  469. package/FrameGraph/Tasks/Misc/executeTask.d.ts +1 -1
  470. package/FrameGraph/Tasks/PostProcesses/anaglyphTask.d.ts +1 -1
  471. package/FrameGraph/Tasks/PostProcesses/blackAndWhiteTask.d.ts +1 -1
  472. package/FrameGraph/Tasks/PostProcesses/bloomMergeTask.d.ts +1 -1
  473. package/FrameGraph/Tasks/PostProcesses/bloomTask.d.ts +1 -1
  474. package/FrameGraph/Tasks/PostProcesses/blurTask.d.ts +1 -1
  475. package/FrameGraph/Tasks/PostProcesses/chromaticAberrationTask.d.ts +1 -1
  476. package/FrameGraph/Tasks/PostProcesses/circleOfConfusionTask.d.ts +1 -1
  477. package/FrameGraph/Tasks/PostProcesses/depthOfFieldBlurTask.d.ts +1 -1
  478. package/FrameGraph/Tasks/PostProcesses/depthOfFieldMergeTask.d.ts +1 -1
  479. package/FrameGraph/Tasks/PostProcesses/depthOfFieldTask.d.ts +1 -1
  480. package/FrameGraph/Tasks/PostProcesses/extractHighlightsTask.d.ts +1 -1
  481. package/FrameGraph/Tasks/PostProcesses/imageProcessingTask.d.ts +17 -0
  482. package/FrameGraph/Tasks/PostProcesses/imageProcessingTask.js +23 -0
  483. package/FrameGraph/Tasks/PostProcesses/imageProcessingTask.js.map +1 -0
  484. package/FrameGraph/Tasks/PostProcesses/passTask.d.ts +1 -1
  485. package/FrameGraph/Tasks/PostProcesses/postProcessTask.d.ts +1 -1
  486. package/FrameGraph/Tasks/PostProcesses/ssrBlurTask.d.ts +1 -1
  487. package/FrameGraph/Tasks/PostProcesses/ssrRenderingPipelineTask.d.ts +1 -1
  488. package/FrameGraph/Tasks/PostProcesses/ssrTask.d.ts +1 -1
  489. package/FrameGraph/Tasks/Rendering/csmShadowGeneratorTask.d.ts +2 -2
  490. package/FrameGraph/Tasks/Rendering/geometryRendererTask.d.ts +2 -2
  491. package/FrameGraph/Tasks/Rendering/objectRendererTask.d.ts +5 -4
  492. package/FrameGraph/Tasks/Rendering/objectRendererTask.js +5 -4
  493. package/FrameGraph/Tasks/Rendering/objectRendererTask.js.map +1 -1
  494. package/FrameGraph/Tasks/Rendering/shadowGeneratorTask.d.ts +2 -2
  495. package/FrameGraph/Tasks/Rendering/taaObjectRendererTask.d.ts +1 -1
  496. package/FrameGraph/Tasks/Rendering/taaObjectRendererTask.js +1 -1
  497. package/FrameGraph/Tasks/Rendering/taaObjectRendererTask.js.map +1 -1
  498. package/FrameGraph/Tasks/Rendering/utilityLayerRendererTask.d.ts +1 -1
  499. package/FrameGraph/Tasks/Texture/clearTextureTask.d.ts +2 -2
  500. package/FrameGraph/Tasks/Texture/copyToBackbufferColorTask.d.ts +1 -1
  501. package/FrameGraph/Tasks/Texture/copyToTextureTask.d.ts +1 -1
  502. package/FrameGraph/Tasks/Texture/generateMipMapsTask.d.ts +1 -1
  503. package/FrameGraph/frameGraph.d.ts +5 -5
  504. package/FrameGraph/frameGraphRenderContext.d.ts +1 -1
  505. package/FrameGraph/frameGraphTextureManager.d.ts +2 -2
  506. package/FrameGraph/index.d.ts +43 -42
  507. package/FrameGraph/index.js +1 -0
  508. package/FrameGraph/index.js.map +1 -1
  509. package/Gamepads/dualShockGamepad.d.ts +2 -2
  510. package/Gamepads/gamepad.d.ts +1 -1
  511. package/Gamepads/gamepadManager.d.ts +4 -4
  512. package/Gamepads/gamepadSceneComponent.d.ts +7 -7
  513. package/Gamepads/index.d.ts +5 -5
  514. package/Gamepads/xboxGamepad.d.ts +2 -2
  515. package/Gizmos/axisDragGizmo.d.ts +16 -16
  516. package/Gizmos/axisScaleGizmo.d.ts +15 -15
  517. package/Gizmos/boundingBoxGizmo.d.ts +15 -15
  518. package/Gizmos/cameraGizmo.d.ts +11 -11
  519. package/Gizmos/gizmo.d.ts +12 -12
  520. package/Gizmos/gizmoManager.d.ts +18 -18
  521. package/Gizmos/index.d.ts +12 -12
  522. package/Gizmos/lightGizmo.d.ts +13 -13
  523. package/Gizmos/planeDragGizmo.d.ts +15 -15
  524. package/Gizmos/planeRotationGizmo.d.ts +17 -17
  525. package/Gizmos/positionGizmo.d.ts +15 -15
  526. package/Gizmos/rotationGizmo.d.ts +15 -15
  527. package/Gizmos/scaleGizmo.d.ts +16 -16
  528. package/Helpers/environmentHelper.d.ts +10 -10
  529. package/Helpers/index.d.ts +5 -5
  530. package/Helpers/photoDome.d.ts +3 -3
  531. package/Helpers/sceneHelpers.d.ts +13 -13
  532. package/Helpers/textureDome.d.ts +7 -7
  533. package/Helpers/videoDome.d.ts +3 -3
  534. package/IAssetContainer.d.ts +23 -23
  535. package/Inputs/pointerPickingConfiguration.d.ts +1 -1
  536. package/Inputs/scene.inputManager.d.ts +8 -8
  537. package/Instrumentation/engineInstrumentation.d.ts +4 -4
  538. package/Instrumentation/index.d.ts +3 -3
  539. package/Instrumentation/sceneInstrumentation.d.ts +2 -2
  540. package/Instrumentation/timeToken.d.ts +1 -1
  541. package/Layers/effectLayer.d.ts +16 -16
  542. package/Layers/effectLayerSceneComponent.d.ts +4 -4
  543. package/Layers/glowLayer.d.ts +13 -13
  544. package/Layers/highlightLayer.d.ts +14 -14
  545. package/Layers/index.d.ts +23 -23
  546. package/Layers/layer.d.ts +7 -7
  547. package/Layers/layerSceneComponent.d.ts +2 -2
  548. package/Layers/thinEffectLayer.d.ts +13 -13
  549. package/Layers/thinGlowLayer.d.ts +10 -10
  550. package/Layers/thinHighlightLayer.d.ts +3 -3
  551. package/LensFlares/index.d.ts +7 -7
  552. package/LensFlares/lensFlare.d.ts +5 -5
  553. package/LensFlares/lensFlareSystem.d.ts +5 -5
  554. package/LensFlares/lensFlareSystemSceneComponent.d.ts +5 -5
  555. package/Lights/Shadows/cascadedShadowGenerator.d.ts +10 -10
  556. package/Lights/Shadows/index.d.ts +11 -11
  557. package/Lights/Shadows/shadowGenerator.d.ts +16 -16
  558. package/Lights/Shadows/shadowGeneratorSceneComponent.d.ts +2 -2
  559. package/Lights/areaLight.d.ts +1 -1
  560. package/Lights/directionalLight.d.ts +8 -8
  561. package/Lights/hemisphericLight.d.ts +7 -7
  562. package/Lights/index.d.ts +10 -10
  563. package/Lights/light.d.ts +12 -12
  564. package/Lights/pointLight.d.ts +5 -5
  565. package/Lights/rectAreaLight.d.ts +2 -2
  566. package/Lights/shadowLight.d.ts +5 -5
  567. package/Lights/spotLight.d.ts +9 -9
  568. package/Loading/Plugins/index.d.ts +2 -2
  569. package/Loading/index.d.ts +4 -4
  570. package/Loading/sceneLoader.d.ts +16 -16
  571. package/Materials/Background/backgroundMaterial.d.ts +13 -13
  572. package/Materials/Background/index.d.ts +5 -5
  573. package/Materials/GaussianSplatting/gaussianSplattingMaterial.d.ts +19 -11
  574. package/Materials/GaussianSplatting/gaussianSplattingMaterial.js +28 -1
  575. package/Materials/GaussianSplatting/gaussianSplattingMaterial.js.map +1 -1
  576. package/Materials/GreasedLine/greasedLineMaterialDefaults.d.ts +3 -3
  577. package/Materials/GreasedLine/greasedLineMaterialInterfaces.d.ts +4 -4
  578. package/Materials/GreasedLine/greasedLinePluginMaterial.d.ts +14 -14
  579. package/Materials/GreasedLine/greasedLinePluginMaterialShadersGLSL.d.ts +1 -1
  580. package/Materials/GreasedLine/greasedLinePluginMaterialShadersWGSL.d.ts +1 -1
  581. package/Materials/GreasedLine/greasedLineSimpleMaterial.d.ts +8 -8
  582. package/Materials/Node/Blocks/Dual/clipPlanesBlock.d.ts +8 -8
  583. package/Materials/Node/Blocks/Dual/currentScreenBlock.d.ts +9 -9
  584. package/Materials/Node/Blocks/Dual/fogBlock.d.ts +7 -7
  585. package/Materials/Node/Blocks/Dual/imageSourceBlock.d.ts +7 -7
  586. package/Materials/Node/Blocks/Dual/index.d.ts +37 -37
  587. package/Materials/Node/Blocks/Dual/lightBlock.d.ts +10 -10
  588. package/Materials/Node/Blocks/Dual/lightBlock.js +6 -3
  589. package/Materials/Node/Blocks/Dual/lightBlock.js.map +1 -1
  590. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.d.ts +12 -12
  591. package/Materials/Node/Blocks/Dual/reflectionTextureBlock.d.ts +5 -5
  592. package/Materials/Node/Blocks/Dual/sceneDepthBlock.d.ts +7 -7
  593. package/Materials/Node/Blocks/Dual/textureBlock.d.ts +12 -12
  594. package/Materials/Node/Blocks/Fragment/TBNBlock.d.ts +6 -6
  595. package/Materials/Node/Blocks/Fragment/derivativeBlock.d.ts +3 -3
  596. package/Materials/Node/Blocks/Fragment/discardBlock.d.ts +3 -3
  597. package/Materials/Node/Blocks/Fragment/fragCoordBlock.d.ts +3 -3
  598. package/Materials/Node/Blocks/Fragment/fragDepthBlock.d.ts +3 -3
  599. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.d.ts +8 -8
  600. package/Materials/Node/Blocks/Fragment/frontFacingBlock.d.ts +3 -3
  601. package/Materials/Node/Blocks/Fragment/heightToNormalBlock.d.ts +4 -4
  602. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.d.ts +8 -8
  603. package/Materials/Node/Blocks/Fragment/index.d.ts +33 -33
  604. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.d.ts +8 -8
  605. package/Materials/Node/Blocks/Fragment/prePassOutputBlock.d.ts +3 -3
  606. package/Materials/Node/Blocks/Fragment/screenSizeBlock.d.ts +4 -4
  607. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.d.ts +4 -4
  608. package/Materials/Node/Blocks/Fragment/shadowMapBlock.d.ts +3 -3
  609. package/Materials/Node/Blocks/Fragment/twirlBlock.d.ts +3 -3
  610. package/Materials/Node/Blocks/GaussianSplatting/gaussianBlock.d.ts +3 -3
  611. package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.d.ts +3 -3
  612. package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.js +3 -1
  613. package/Materials/Node/Blocks/GaussianSplatting/gaussianSplattingBlock.js.map +1 -1
  614. package/Materials/Node/Blocks/GaussianSplatting/index.d.ts +5 -5
  615. package/Materials/Node/Blocks/GaussianSplatting/splatReaderBlock.d.ts +4 -4
  616. package/Materials/Node/Blocks/Input/index.d.ts +3 -3
  617. package/Materials/Node/Blocks/Input/inputBlock.d.ts +13 -13
  618. package/Materials/Node/Blocks/Input/prePassTextureBlock.d.ts +6 -6
  619. package/Materials/Node/Blocks/PBR/anisotropyBlock.d.ts +7 -7
  620. package/Materials/Node/Blocks/PBR/clearCoatBlock.d.ts +10 -10
  621. package/Materials/Node/Blocks/PBR/index.d.ts +8 -8
  622. package/Materials/Node/Blocks/PBR/iridescenceBlock.d.ts +7 -7
  623. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.d.ts +10 -10
  624. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +7 -3
  625. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js.map +1 -1
  626. package/Materials/Node/Blocks/PBR/reflectionBlock.d.ts +11 -11
  627. package/Materials/Node/Blocks/PBR/refractionBlock.d.ts +10 -10
  628. package/Materials/Node/Blocks/PBR/sheenBlock.d.ts +8 -8
  629. package/Materials/Node/Blocks/PBR/subSurfaceBlock.d.ts +7 -7
  630. package/Materials/Node/Blocks/Particle/index.d.ts +3 -3
  631. package/Materials/Node/Blocks/Particle/particleBlendMultiplyBlock.d.ts +3 -3
  632. package/Materials/Node/Blocks/Particle/particleRampGradientBlock.d.ts +3 -3
  633. package/Materials/Node/Blocks/Particle/particleTextureBlock.d.ts +8 -8
  634. package/Materials/Node/Blocks/Teleport/index.d.ts +2 -2
  635. package/Materials/Node/Blocks/Teleport/teleportInBlock.d.ts +4 -4
  636. package/Materials/Node/Blocks/Teleport/teleportOutBlock.d.ts +7 -7
  637. package/Materials/Node/Blocks/Vertex/bonesBlock.d.ts +8 -8
  638. package/Materials/Node/Blocks/Vertex/index.d.ts +17 -17
  639. package/Materials/Node/Blocks/Vertex/instancesBlock.d.ts +6 -6
  640. package/Materials/Node/Blocks/Vertex/lightInformationBlock.d.ts +10 -10
  641. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.d.ts +7 -7
  642. package/Materials/Node/Blocks/Vertex/vertexOutputBlock.d.ts +3 -3
  643. package/Materials/Node/Blocks/addBlock.d.ts +2 -2
  644. package/Materials/Node/Blocks/arcTan2Block.d.ts +3 -3
  645. package/Materials/Node/Blocks/baseMathBlock.d.ts +2 -2
  646. package/Materials/Node/Blocks/biPlanarBlock.d.ts +2 -2
  647. package/Materials/Node/Blocks/clampBlock.d.ts +4 -4
  648. package/Materials/Node/Blocks/cloudBlock.d.ts +4 -4
  649. package/Materials/Node/Blocks/colorConverterBlock.d.ts +3 -3
  650. package/Materials/Node/Blocks/colorMergerBlock.d.ts +4 -4
  651. package/Materials/Node/Blocks/colorSplitterBlock.d.ts +3 -3
  652. package/Materials/Node/Blocks/conditionalBlock.d.ts +5 -5
  653. package/Materials/Node/Blocks/crossBlock.d.ts +3 -3
  654. package/Materials/Node/Blocks/curveBlock.d.ts +4 -4
  655. package/Materials/Node/Blocks/customBlock.d.ts +3 -3
  656. package/Materials/Node/Blocks/debugBlock.d.ts +3 -3
  657. package/Materials/Node/Blocks/desaturateBlock.d.ts +3 -3
  658. package/Materials/Node/Blocks/distanceBlock.d.ts +3 -3
  659. package/Materials/Node/Blocks/divideBlock.d.ts +2 -2
  660. package/Materials/Node/Blocks/dotBlock.d.ts +3 -3
  661. package/Materials/Node/Blocks/elbowBlock.d.ts +4 -4
  662. package/Materials/Node/Blocks/fresnelBlock.d.ts +5 -5
  663. package/Materials/Node/Blocks/gradientBlock.d.ts +6 -6
  664. package/Materials/Node/Blocks/index.d.ts +70 -70
  665. package/Materials/Node/Blocks/lengthBlock.d.ts +3 -3
  666. package/Materials/Node/Blocks/lerpBlock.d.ts +3 -3
  667. package/Materials/Node/Blocks/loopBlock.d.ts +3 -3
  668. package/Materials/Node/Blocks/matrixBuilderBlock.d.ts +3 -3
  669. package/Materials/Node/Blocks/matrixDeterminantBlock.d.ts +3 -3
  670. package/Materials/Node/Blocks/matrixSplitterBlock.d.ts +3 -3
  671. package/Materials/Node/Blocks/matrixTransposeBlock.d.ts +3 -3
  672. package/Materials/Node/Blocks/maxBlock.d.ts +3 -3
  673. package/Materials/Node/Blocks/meshAttributeExistsBlock.d.ts +3 -3
  674. package/Materials/Node/Blocks/minBlock.d.ts +3 -3
  675. package/Materials/Node/Blocks/modBlock.d.ts +3 -3
  676. package/Materials/Node/Blocks/multiplyBlock.d.ts +2 -2
  677. package/Materials/Node/Blocks/nLerpBlock.d.ts +3 -3
  678. package/Materials/Node/Blocks/negateBlock.d.ts +3 -3
  679. package/Materials/Node/Blocks/normalBlendBlock.d.ts +3 -3
  680. package/Materials/Node/Blocks/normalizeBlock.d.ts +3 -3
  681. package/Materials/Node/Blocks/oneMinusBlock.d.ts +3 -3
  682. package/Materials/Node/Blocks/posterizeBlock.d.ts +3 -3
  683. package/Materials/Node/Blocks/powBlock.d.ts +3 -3
  684. package/Materials/Node/Blocks/randomNumberBlock.d.ts +4 -4
  685. package/Materials/Node/Blocks/reciprocalBlock.d.ts +3 -3
  686. package/Materials/Node/Blocks/reflectBlock.d.ts +3 -3
  687. package/Materials/Node/Blocks/refractBlock.d.ts +3 -3
  688. package/Materials/Node/Blocks/remapBlock.d.ts +5 -5
  689. package/Materials/Node/Blocks/replaceColorBlock.d.ts +3 -3
  690. package/Materials/Node/Blocks/rotate2dBlock.d.ts +3 -3
  691. package/Materials/Node/Blocks/scaleBlock.d.ts +3 -3
  692. package/Materials/Node/Blocks/simplexPerlin3DBlock.d.ts +3 -3
  693. package/Materials/Node/Blocks/smoothStepBlock.d.ts +3 -3
  694. package/Materials/Node/Blocks/stepBlock.d.ts +3 -3
  695. package/Materials/Node/Blocks/storageReadBlock.d.ts +3 -3
  696. package/Materials/Node/Blocks/storageWriteBlock.d.ts +3 -3
  697. package/Materials/Node/Blocks/subtractBlock.d.ts +2 -2
  698. package/Materials/Node/Blocks/transformBlock.d.ts +6 -6
  699. package/Materials/Node/Blocks/triPlanarBlock.d.ts +12 -12
  700. package/Materials/Node/Blocks/trigonometryBlock.d.ts +4 -4
  701. package/Materials/Node/Blocks/vectorMergerBlock.d.ts +4 -4
  702. package/Materials/Node/Blocks/vectorSplitterBlock.d.ts +3 -3
  703. package/Materials/Node/Blocks/viewDirectionBlock.d.ts +4 -4
  704. package/Materials/Node/Blocks/voronoiNoiseBlock.d.ts +3 -3
  705. package/Materials/Node/Blocks/waveBlock.d.ts +4 -4
  706. package/Materials/Node/Blocks/worleyNoise3DBlock.d.ts +4 -4
  707. package/Materials/Node/Enums/index.d.ts +5 -5
  708. package/Materials/Node/Optimizers/index.d.ts +1 -1
  709. package/Materials/Node/Optimizers/nodeMaterialOptimizer.d.ts +1 -1
  710. package/Materials/Node/index.d.ts +9 -9
  711. package/Materials/Node/nodeMaterial.d.ts +36 -36
  712. package/Materials/Node/nodeMaterialBlock.d.ts +12 -12
  713. package/Materials/Node/nodeMaterialBlockConnectionPoint.d.ts +6 -6
  714. package/Materials/Node/nodeMaterialBuildState.d.ts +6 -6
  715. package/Materials/Node/nodeMaterialBuildStateSharedData.d.ts +6 -6
  716. package/Materials/Node/nodeMaterialConnectionPointCustomObject.d.ts +4 -4
  717. package/Materials/Node/nodeMaterialDefault.d.ts +1 -1
  718. package/Materials/Occlusion/index.d.ts +1 -1
  719. package/Materials/Occlusion/occlusionMaterial.d.ts +4 -4
  720. package/Materials/PBR/index.d.ts +15 -15
  721. package/Materials/PBR/pbrAnisotropicConfiguration.d.ts +11 -11
  722. package/Materials/PBR/pbrBRDFConfiguration.d.ts +3 -3
  723. package/Materials/PBR/pbrBaseMaterial.d.ts +24 -24
  724. package/Materials/PBR/pbrBaseMaterial.js +2 -1
  725. package/Materials/PBR/pbrBaseMaterial.js.map +1 -1
  726. package/Materials/PBR/pbrBaseSimpleMaterial.d.ts +5 -5
  727. package/Materials/PBR/pbrClearCoatConfiguration.d.ts +12 -12
  728. package/Materials/PBR/pbrIridescenceConfiguration.d.ts +9 -9
  729. package/Materials/PBR/pbrMaterial.d.ts +7 -7
  730. package/Materials/PBR/pbrMaterial.decalMap.d.ts +2 -2
  731. package/Materials/PBR/pbrMetallicRoughnessMaterial.d.ts +5 -5
  732. package/Materials/PBR/pbrSheenConfiguration.d.ts +12 -12
  733. package/Materials/PBR/pbrSpecularGlossinessMaterial.d.ts +5 -5
  734. package/Materials/PBR/pbrSubSurfaceConfiguration.d.ts +27 -14
  735. package/Materials/PBR/pbrSubSurfaceConfiguration.js +17 -0
  736. package/Materials/PBR/pbrSubSurfaceConfiguration.js.map +1 -1
  737. package/Materials/Textures/Filtering/hdrFiltering.d.ts +2 -2
  738. package/Materials/Textures/Filtering/hdrIrradianceFiltering.d.ts +2 -2
  739. package/Materials/Textures/Loaders/EXR/exrLoader.compression.d.ts +1 -1
  740. package/Materials/Textures/Loaders/EXR/exrLoader.compression.huf.d.ts +1 -1
  741. package/Materials/Textures/Loaders/EXR/exrLoader.decoder.d.ts +3 -3
  742. package/Materials/Textures/Loaders/EXR/exrLoader.header.d.ts +2 -2
  743. package/Materials/Textures/Loaders/EXR/exrLoader.interfaces.d.ts +1 -1
  744. package/Materials/Textures/Loaders/EXR/index.d.ts +7 -7
  745. package/Materials/Textures/Loaders/basisTextureLoader.d.ts +3 -3
  746. package/Materials/Textures/Loaders/ddsTextureLoader.d.ts +3 -3
  747. package/Materials/Textures/Loaders/envTextureLoader.d.ts +3 -3
  748. package/Materials/Textures/Loaders/exrTextureLoader.d.ts +2 -2
  749. package/Materials/Textures/Loaders/hdrTextureLoader.d.ts +2 -2
  750. package/Materials/Textures/Loaders/iesTextureLoader.d.ts +2 -2
  751. package/Materials/Textures/Loaders/index.d.ts +11 -11
  752. package/Materials/Textures/Loaders/internalTextureLoader.d.ts +2 -2
  753. package/Materials/Textures/Loaders/ktxTextureLoader.d.ts +3 -3
  754. package/Materials/Textures/Loaders/textureLoaderManager.d.ts +2 -2
  755. package/Materials/Textures/Loaders/tgaTextureLoader.d.ts +2 -2
  756. package/Materials/Textures/MultiviewRenderTarget.d.ts +2 -2
  757. package/Materials/Textures/Packer/frame.d.ts +1 -1
  758. package/Materials/Textures/Packer/index.d.ts +2 -2
  759. package/Materials/Textures/Packer/packer.d.ts +5 -5
  760. package/Materials/Textures/Procedurals/customProceduralTexture.d.ts +5 -5
  761. package/Materials/Textures/Procedurals/index.d.ts +4 -4
  762. package/Materials/Textures/Procedurals/noiseProceduralTexture.d.ts +5 -5
  763. package/Materials/Textures/Procedurals/proceduralTexture.d.ts +10 -10
  764. package/Materials/Textures/Procedurals/proceduralTextureSceneComponent.d.ts +2 -2
  765. package/Materials/Textures/baseTexture.d.ts +10 -10
  766. package/Materials/Textures/baseTexture.polynomial.d.ts +3 -3
  767. package/Materials/Textures/colorGradingTexture.d.ts +5 -5
  768. package/Materials/Textures/cubeTexture.d.ts +7 -7
  769. package/Materials/Textures/dynamicTexture.d.ts +6 -6
  770. package/Materials/Textures/equiRectangularCubeTexture.d.ts +3 -3
  771. package/Materials/Textures/externalTexture.d.ts +1 -1
  772. package/Materials/Textures/hdrCubeTexture.d.ts +7 -7
  773. package/Materials/Textures/htmlElementTexture.d.ts +8 -8
  774. package/Materials/Textures/index.d.ts +39 -39
  775. package/Materials/Textures/internalTexture.d.ts +8 -8
  776. package/Materials/Textures/mirrorTexture.d.ts +3 -3
  777. package/Materials/Textures/multiRenderTarget.d.ts +6 -6
  778. package/Materials/Textures/prePassRenderTarget.d.ts +8 -8
  779. package/Materials/Textures/rawCubeTexture.d.ts +4 -4
  780. package/Materials/Textures/rawTexture.d.ts +4 -4
  781. package/Materials/Textures/rawTexture2DArray.d.ts +3 -3
  782. package/Materials/Textures/rawTexture3D.d.ts +3 -3
  783. package/Materials/Textures/refractionTexture.d.ts +3 -3
  784. package/Materials/Textures/renderTargetTexture.d.ts +21 -20
  785. package/Materials/Textures/renderTargetTexture.js +6 -5
  786. package/Materials/Textures/renderTargetTexture.js.map +1 -1
  787. package/Materials/Textures/texture.d.ts +12 -12
  788. package/Materials/Textures/texture.js +3 -2
  789. package/Materials/Textures/texture.js.map +1 -1
  790. package/Materials/Textures/textureCreationOptions.d.ts +1 -1
  791. package/Materials/Textures/textureSampler.d.ts +1 -1
  792. package/Materials/Textures/thinRenderTargetTexture.d.ts +6 -6
  793. package/Materials/Textures/thinTexture.d.ts +4 -4
  794. package/Materials/Textures/videoTexture.d.ts +7 -7
  795. package/Materials/clipPlaneMaterialHelper.d.ts +2 -2
  796. package/Materials/colorCurves.d.ts +1 -1
  797. package/Materials/drawWrapper.d.ts +6 -6
  798. package/Materials/drawWrapper.functions.d.ts +2 -2
  799. package/Materials/effect.d.ts +14 -14
  800. package/Materials/effect.functions.d.ts +2 -2
  801. package/Materials/effect.webgl.functions.d.ts +1 -1
  802. package/Materials/effectFallbacks.d.ts +3 -3
  803. package/Materials/effectRenderer.d.ts +10 -10
  804. package/Materials/fresnelParameters.d.ts +2 -2
  805. package/Materials/iEffectFallbacks.d.ts +1 -1
  806. package/Materials/imageProcessingConfiguration.d.ts +15 -7
  807. package/Materials/imageProcessingConfiguration.defines.d.ts +1 -1
  808. package/Materials/imageProcessingConfiguration.functions.d.ts +1 -1
  809. package/Materials/imageProcessingConfiguration.js +16 -2
  810. package/Materials/imageProcessingConfiguration.js.map +1 -1
  811. package/Materials/index.d.ts +49 -49
  812. package/Materials/material.d.ts +26 -26
  813. package/Materials/material.decalMap.d.ts +3 -3
  814. package/Materials/material.decalMapConfiguration.d.ts +5 -5
  815. package/Materials/material.detailMapConfiguration.d.ts +9 -9
  816. package/Materials/materialHelper.d.ts +12 -12
  817. package/Materials/materialHelper.functions.d.ts +12 -12
  818. package/Materials/materialPluginBase.d.ts +15 -15
  819. package/Materials/materialPluginEvent.d.ts +10 -10
  820. package/Materials/materialPluginFactoryExport.d.ts +3 -3
  821. package/Materials/materialPluginManager.d.ts +8 -8
  822. package/Materials/materialStencilState.d.ts +2 -2
  823. package/Materials/meshDebugPluginMaterial.d.ts +8 -8
  824. package/Materials/multiMaterial.d.ts +6 -6
  825. package/Materials/prePassConfiguration.d.ts +4 -4
  826. package/Materials/pushMaterial.d.ts +8 -8
  827. package/Materials/shaderMaterial.d.ts +15 -15
  828. package/Materials/shadowDepthWrapper.d.ts +6 -6
  829. package/Materials/standardMaterial.d.ts +19 -19
  830. package/Materials/standardMaterial.decalMap.d.ts +2 -2
  831. package/Materials/uniformBuffer.d.ts +6 -6
  832. package/Materials/uniformBufferEffectCommonAccessor.d.ts +3 -3
  833. package/Maths/index.d.ts +8 -8
  834. package/Maths/math.axis.d.ts +1 -1
  835. package/Maths/math.color.d.ts +3 -3
  836. package/Maths/math.d.ts +10 -10
  837. package/Maths/math.frustum.d.ts +3 -3
  838. package/Maths/math.functions.d.ts +3 -3
  839. package/Maths/math.isovector.d.ts +1 -1
  840. package/Maths/math.like.d.ts +1 -1
  841. package/Maths/math.path.d.ts +3 -3
  842. package/Maths/math.plane.d.ts +3 -3
  843. package/Maths/math.polar.d.ts +2 -2
  844. package/Maths/math.vector.d.ts +6 -6
  845. package/Maths/math.vector.functions.d.ts +1 -1
  846. package/Maths/math.vertexFormat.d.ts +1 -1
  847. package/Maths/math.viewport.d.ts +1 -1
  848. package/Maths/sphericalPolynomial.d.ts +2 -2
  849. package/Maths/tensor.d.ts +1 -1
  850. package/Meshes/Builders/boxBuilder.d.ts +6 -6
  851. package/Meshes/Builders/capsuleBuilder.d.ts +5 -5
  852. package/Meshes/Builders/cylinderBuilder.d.ts +6 -6
  853. package/Meshes/Builders/decalBuilder.d.ts +3 -3
  854. package/Meshes/Builders/discBuilder.d.ts +5 -5
  855. package/Meshes/Builders/geodesicBuilder.d.ts +5 -5
  856. package/Meshes/Builders/goldbergBuilder.d.ts +5 -5
  857. package/Meshes/Builders/greasedLineBuilder.d.ts +11 -11
  858. package/Meshes/Builders/groundBuilder.d.ts +6 -6
  859. package/Meshes/Builders/hemisphereBuilder.d.ts +2 -2
  860. package/Meshes/Builders/icoSphereBuilder.d.ts +5 -5
  861. package/Meshes/Builders/index.d.ts +25 -25
  862. package/Meshes/Builders/latheBuilder.d.ts +5 -5
  863. package/Meshes/Builders/linesBuilder.d.ts +7 -7
  864. package/Meshes/Builders/planeBuilder.d.ts +6 -6
  865. package/Meshes/Builders/polygonBuilder.d.ts +7 -7
  866. package/Meshes/Builders/polyhedronBuilder.d.ts +6 -6
  867. package/Meshes/Builders/ribbonBuilder.d.ts +6 -6
  868. package/Meshes/Builders/shapeBuilder.d.ts +5 -5
  869. package/Meshes/Builders/sphereBuilder.d.ts +5 -5
  870. package/Meshes/Builders/textBuilder.d.ts +6 -6
  871. package/Meshes/Builders/tiledBoxBuilder.d.ts +6 -6
  872. package/Meshes/Builders/tiledPlaneBuilder.d.ts +5 -5
  873. package/Meshes/Builders/torusBuilder.d.ts +4 -4
  874. package/Meshes/Builders/torusKnotBuilder.d.ts +4 -4
  875. package/Meshes/Builders/tubeBuilder.d.ts +5 -5
  876. package/Meshes/Compression/dracoCodec.d.ts +2 -2
  877. package/Meshes/Compression/dracoCompression.d.ts +6 -6
  878. package/Meshes/Compression/dracoCompressionWorker.d.ts +1 -1
  879. package/Meshes/Compression/dracoDecoder.d.ts +6 -6
  880. package/Meshes/Compression/dracoEncoder.d.ts +5 -5
  881. package/Meshes/Compression/index.d.ts +4 -4
  882. package/Meshes/Compression/meshoptCompression.d.ts +1 -1
  883. package/Meshes/GaussianSplatting/gaussianSplattingMesh.d.ts +3 -3
  884. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +15 -6
  885. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
  886. package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +8 -8
  887. package/Meshes/GreasedLine/greasedLineMesh.d.ts +11 -11
  888. package/Meshes/GreasedLine/greasedLineRibbonMesh.d.ts +11 -11
  889. package/Meshes/Node/Blocks/Instances/instantiateBaseBlock.d.ts +5 -5
  890. package/Meshes/Node/Blocks/Instances/instantiateBlock.d.ts +4 -4
  891. package/Meshes/Node/Blocks/Instances/instantiateLinearBlock.d.ts +3 -3
  892. package/Meshes/Node/Blocks/Instances/instantiateOnFacesBlock.d.ts +6 -6
  893. package/Meshes/Node/Blocks/Instances/instantiateOnVerticesBlock.d.ts +5 -5
  894. package/Meshes/Node/Blocks/Instances/instantiateOnVolumeBlock.d.ts +6 -6
  895. package/Meshes/Node/Blocks/Instances/instantiateRadialBlock.d.ts +3 -3
  896. package/Meshes/Node/Blocks/Matrices/alignBlock.d.ts +3 -3
  897. package/Meshes/Node/Blocks/Matrices/rotationXBlock.d.ts +3 -3
  898. package/Meshes/Node/Blocks/Matrices/rotationYBlock.d.ts +3 -3
  899. package/Meshes/Node/Blocks/Matrices/rotationZBlock.d.ts +3 -3
  900. package/Meshes/Node/Blocks/Matrices/scalingBlock.d.ts +3 -3
  901. package/Meshes/Node/Blocks/Matrices/translationBlock.d.ts +3 -3
  902. package/Meshes/Node/Blocks/Set/aggregatorBlock.d.ts +4 -4
  903. package/Meshes/Node/Blocks/Set/latticeBlock.d.ts +5 -5
  904. package/Meshes/Node/Blocks/Set/setColorsBlock.d.ts +4 -4
  905. package/Meshes/Node/Blocks/Set/setMaterialIDBlock.d.ts +3 -3
  906. package/Meshes/Node/Blocks/Set/setNormalsBlock.d.ts +4 -4
  907. package/Meshes/Node/Blocks/Set/setPositionsBlock.d.ts +4 -4
  908. package/Meshes/Node/Blocks/Set/setTangentsBlock.d.ts +4 -4
  909. package/Meshes/Node/Blocks/Set/setUVsBlock.d.ts +4 -4
  910. package/Meshes/Node/Blocks/Sources/boxBlock.d.ts +3 -3
  911. package/Meshes/Node/Blocks/Sources/capsuleBlock.d.ts +3 -3
  912. package/Meshes/Node/Blocks/Sources/cylinderBlock.d.ts +3 -3
  913. package/Meshes/Node/Blocks/Sources/discBlock.d.ts +3 -3
  914. package/Meshes/Node/Blocks/Sources/gridBlock.d.ts +3 -3
  915. package/Meshes/Node/Blocks/Sources/icoSphereBlock.d.ts +3 -3
  916. package/Meshes/Node/Blocks/Sources/meshBlock.d.ts +4 -4
  917. package/Meshes/Node/Blocks/Sources/nullBlock.d.ts +2 -2
  918. package/Meshes/Node/Blocks/Sources/planeBlock.d.ts +3 -3
  919. package/Meshes/Node/Blocks/Sources/pointListBlock.d.ts +3 -3
  920. package/Meshes/Node/Blocks/Sources/sphereBlock.d.ts +3 -3
  921. package/Meshes/Node/Blocks/Sources/torusBlock.d.ts +3 -3
  922. package/Meshes/Node/Blocks/Teleport/teleportInBlock.d.ts +3 -3
  923. package/Meshes/Node/Blocks/Teleport/teleportOutBlock.d.ts +5 -5
  924. package/Meshes/Node/Blocks/Textures/geometryTextureBlock.d.ts +2 -2
  925. package/Meshes/Node/Blocks/Textures/geometryTextureFetchBlock.d.ts +2 -2
  926. package/Meshes/Node/Blocks/booleanGeometryBlock.d.ts +3 -3
  927. package/Meshes/Node/Blocks/boundingBlock.d.ts +2 -2
  928. package/Meshes/Node/Blocks/cleanGeometryBlock.d.ts +3 -3
  929. package/Meshes/Node/Blocks/computeNormalsBlock.d.ts +2 -2
  930. package/Meshes/Node/Blocks/conditionBlock.d.ts +3 -3
  931. package/Meshes/Node/Blocks/debugBlock.d.ts +3 -3
  932. package/Meshes/Node/Blocks/geometryArcTan2Block.d.ts +2 -2
  933. package/Meshes/Node/Blocks/geometryClampBlock.d.ts +2 -2
  934. package/Meshes/Node/Blocks/geometryCollectionBlock.d.ts +3 -3
  935. package/Meshes/Node/Blocks/geometryCrossBlock.d.ts +2 -2
  936. package/Meshes/Node/Blocks/geometryCurveBlock.d.ts +2 -2
  937. package/Meshes/Node/Blocks/geometryDesaturateBlock.d.ts +2 -2
  938. package/Meshes/Node/Blocks/geometryDistanceBlock.d.ts +2 -2
  939. package/Meshes/Node/Blocks/geometryDotBlock.d.ts +2 -2
  940. package/Meshes/Node/Blocks/geometryEaseBlock.d.ts +3 -3
  941. package/Meshes/Node/Blocks/geometryElbowBlock.d.ts +3 -3
  942. package/Meshes/Node/Blocks/geometryInfoBlock.d.ts +2 -2
  943. package/Meshes/Node/Blocks/geometryInputBlock.d.ts +6 -6
  944. package/Meshes/Node/Blocks/geometryInterceptorBlock.d.ts +3 -3
  945. package/Meshes/Node/Blocks/geometryLengthBlock.d.ts +2 -2
  946. package/Meshes/Node/Blocks/geometryLerpBlock.d.ts +2 -2
  947. package/Meshes/Node/Blocks/geometryModBlock.d.ts +2 -2
  948. package/Meshes/Node/Blocks/geometryNLerpBlock.d.ts +2 -2
  949. package/Meshes/Node/Blocks/geometryOptimizeBlock.d.ts +4 -4
  950. package/Meshes/Node/Blocks/geometryOutputBlock.d.ts +4 -4
  951. package/Meshes/Node/Blocks/geometryPosterizeBlock.d.ts +2 -2
  952. package/Meshes/Node/Blocks/geometryPowBlock.d.ts +2 -2
  953. package/Meshes/Node/Blocks/geometryReplaceColorBlock.d.ts +2 -2
  954. package/Meshes/Node/Blocks/geometryRotate2dBlock.d.ts +2 -2
  955. package/Meshes/Node/Blocks/geometrySmoothStepBlock.d.ts +2 -2
  956. package/Meshes/Node/Blocks/geometryStepBlock.d.ts +2 -2
  957. package/Meshes/Node/Blocks/geometryTransformBlock.d.ts +3 -3
  958. package/Meshes/Node/Blocks/geometryTrigonometryBlock.d.ts +3 -3
  959. package/Meshes/Node/Blocks/intFloatConverterBlock.d.ts +2 -2
  960. package/Meshes/Node/Blocks/mapRangeBlock.d.ts +2 -2
  961. package/Meshes/Node/Blocks/mappingBlock.d.ts +2 -2
  962. package/Meshes/Node/Blocks/mathBlock.d.ts +2 -2
  963. package/Meshes/Node/Blocks/matrixComposeBlock.d.ts +2 -2
  964. package/Meshes/Node/Blocks/mergeGeometryBlock.d.ts +3 -3
  965. package/Meshes/Node/Blocks/noiseBlock.d.ts +3 -3
  966. package/Meshes/Node/Blocks/normalizeVectorBlock.d.ts +3 -3
  967. package/Meshes/Node/Blocks/randomBlock.d.ts +2 -2
  968. package/Meshes/Node/Blocks/subdivideBlock.d.ts +2 -2
  969. package/Meshes/Node/Blocks/vectorConverterBlock.d.ts +3 -3
  970. package/Meshes/Node/index.d.ts +87 -87
  971. package/Meshes/Node/nodeGeometry.d.ts +9 -9
  972. package/Meshes/Node/nodeGeometryBlock.d.ts +6 -6
  973. package/Meshes/Node/nodeGeometryBlockConnectionPoint.d.ts +5 -5
  974. package/Meshes/Node/nodeGeometryBuildState.d.ts +8 -8
  975. package/Meshes/WebGL/webGLDataBuffer.d.ts +1 -1
  976. package/Meshes/WebGPU/webgpuDataBuffer.d.ts +2 -2
  977. package/Meshes/abstractMesh.d.ts +37 -32
  978. package/Meshes/abstractMesh.decalMap.d.ts +3 -3
  979. package/Meshes/abstractMesh.hotSpot.d.ts +1 -1
  980. package/Meshes/abstractMesh.js +1 -1
  981. package/Meshes/abstractMesh.js.map +1 -1
  982. package/Meshes/buffer.d.ts +1 -1
  983. package/Meshes/csg.d.ts +7 -7
  984. package/Meshes/csg2.d.ts +2 -2
  985. package/Meshes/geodesicMesh.d.ts +2 -2
  986. package/Meshes/geometry.d.ts +12 -12
  987. package/Meshes/goldbergMesh.d.ts +5 -5
  988. package/Meshes/groundMesh.d.ts +3 -3
  989. package/Meshes/index.d.ts +55 -55
  990. package/Meshes/instancedMesh.d.ts +16 -16
  991. package/Meshes/instancedMesh.js.map +1 -1
  992. package/Meshes/lattice.d.ts +1 -1
  993. package/Meshes/lattice.material.d.ts +1 -1
  994. package/Meshes/linesMesh.d.ts +9 -9
  995. package/Meshes/mesh.d.ts +30 -30
  996. package/Meshes/mesh.js +1 -1
  997. package/Meshes/mesh.js.map +1 -1
  998. package/Meshes/mesh.vertexData.d.ts +9 -9
  999. package/Meshes/mesh.vertexData.subdivide.d.ts +1 -1
  1000. package/Meshes/meshBuilder.d.ts +23 -23
  1001. package/Meshes/meshLODLevel.d.ts +2 -2
  1002. package/Meshes/meshSimplification.d.ts +1 -1
  1003. package/Meshes/meshSimplificationSceneComponent.d.ts +6 -6
  1004. package/Meshes/meshUVSpaceRenderer.d.ts +2 -2
  1005. package/Meshes/meshUtils.d.ts +4 -4
  1006. package/Meshes/polygonMesh.d.ts +5 -5
  1007. package/Meshes/subMesh.d.ts +17 -17
  1008. package/Meshes/subMesh.project.d.ts +3 -3
  1009. package/Meshes/thinInstanceMesh.d.ts +4 -4
  1010. package/Meshes/trailMesh.d.ts +3 -3
  1011. package/Meshes/transformNode.d.ts +9 -9
  1012. package/Misc/HighDynamicRange/cubemapToSphericalPolynomial.d.ts +4 -4
  1013. package/Misc/HighDynamicRange/hdr.d.ts +1 -1
  1014. package/Misc/HighDynamicRange/index.d.ts +3 -3
  1015. package/Misc/HighDynamicRange/panoramaToCubemap.d.ts +1 -1
  1016. package/Misc/PerformanceViewer/index.d.ts +4 -4
  1017. package/Misc/PerformanceViewer/performanceViewerCollectionStrategies.d.ts +1 -1
  1018. package/Misc/PerformanceViewer/performanceViewerCollector.d.ts +4 -4
  1019. package/Misc/arrayTools.d.ts +1 -1
  1020. package/Misc/assetsManager.d.ts +15 -15
  1021. package/Misc/basis.d.ts +1 -1
  1022. package/Misc/brdfTextureTools.d.ts +2 -2
  1023. package/Misc/copyTextureToTexture.d.ts +3 -3
  1024. package/Misc/copyTools.d.ts +3 -3
  1025. package/Misc/dds.d.ts +4 -4
  1026. package/Misc/decorators.d.ts +1 -1
  1027. package/Misc/decorators.serialization.d.ts +7 -7
  1028. package/Misc/depthReducer.d.ts +5 -5
  1029. package/Misc/dumpTools.d.ts +1 -1
  1030. package/Misc/environmentTextureTools.d.ts +5 -5
  1031. package/Misc/equirectangularCapture.d.ts +5 -5
  1032. package/Misc/fileRequest.d.ts +1 -1
  1033. package/Misc/fileTools.d.ts +12 -6
  1034. package/Misc/fileTools.js +30 -0
  1035. package/Misc/fileTools.js.map +1 -1
  1036. package/Misc/filesInput.d.ts +4 -4
  1037. package/Misc/gradients.d.ts +2 -2
  1038. package/Misc/greasedLineTools.d.ts +8 -8
  1039. package/Misc/index.d.ts +82 -82
  1040. package/Misc/interfaces/iClipPlanesHolder.d.ts +2 -2
  1041. package/Misc/interfaces/iPerfViewer.d.ts +1 -1
  1042. package/Misc/khronosTextureContainer.d.ts +1 -1
  1043. package/Misc/khronosTextureContainer2.d.ts +5 -5
  1044. package/Misc/meshExploder.d.ts +1 -1
  1045. package/Misc/minMaxReducer.d.ts +9 -9
  1046. package/Misc/observable.d.ts +1 -1
  1047. package/Misc/observable.extensions.d.ts +3 -3
  1048. package/Misc/observableCoroutine.d.ts +2 -2
  1049. package/Misc/pivotTools.d.ts +1 -1
  1050. package/Misc/pressureObserverWrapper.d.ts +1 -1
  1051. package/Misc/reflector.d.ts +1 -1
  1052. package/Misc/retryStrategy.d.ts +1 -1
  1053. package/Misc/rgbdTextureTools.d.ts +3 -3
  1054. package/Misc/sceneOptimizer.d.ts +2 -2
  1055. package/Misc/sceneRecorder.d.ts +1 -1
  1056. package/Misc/sceneSerializer.d.ts +1 -1
  1057. package/Misc/screenshotTools.d.ts +4 -4
  1058. package/Misc/stringDictionary.d.ts +1 -1
  1059. package/Misc/textureTools.d.ts +3 -3
  1060. package/Misc/tga.d.ts +1 -1
  1061. package/Misc/timer.d.ts +4 -4
  1062. package/Misc/tools.d.ts +10 -10
  1063. package/Misc/trajectoryClassifier.d.ts +2 -2
  1064. package/Misc/videoRecorder.d.ts +2 -2
  1065. package/Misc/virtualJoystick.d.ts +2 -2
  1066. package/Misc/webRequest.d.ts +2 -2
  1067. package/Misc/workerPool.d.ts +1 -1
  1068. package/Morph/index.d.ts +2 -2
  1069. package/Morph/morphTarget.d.ts +7 -7
  1070. package/Morph/morphTargetManager.d.ts +5 -5
  1071. package/Navigation/INavigationEngine.d.ts +4 -4
  1072. package/Navigation/Plugins/index.d.ts +1 -1
  1073. package/Navigation/Plugins/recastJSPlugin.d.ts +6 -6
  1074. package/Navigation/index.d.ts +2 -2
  1075. package/ObjectModel/index.d.ts +1 -1
  1076. package/Offline/database.d.ts +1 -1
  1077. package/Offline/index.d.ts +2 -2
  1078. package/Particles/EmitterTypes/IParticleEmitterType.d.ts +6 -6
  1079. package/Particles/EmitterTypes/boxParticleEmitter.d.ts +6 -6
  1080. package/Particles/EmitterTypes/coneParticleEmitter.d.ts +6 -6
  1081. package/Particles/EmitterTypes/customParticleEmitter.d.ts +7 -7
  1082. package/Particles/EmitterTypes/cylinderParticleEmitter.d.ts +6 -6
  1083. package/Particles/EmitterTypes/hemisphericParticleEmitter.d.ts +6 -6
  1084. package/Particles/EmitterTypes/index.d.ts +9 -9
  1085. package/Particles/EmitterTypes/meshParticleEmitter.d.ts +9 -9
  1086. package/Particles/EmitterTypes/pointParticleEmitter.d.ts +6 -6
  1087. package/Particles/EmitterTypes/sphereParticleEmitter.d.ts +6 -6
  1088. package/Particles/IGPUParticleSystemPlatform.d.ts +5 -5
  1089. package/Particles/IParticleSystem.d.ts +13 -13
  1090. package/Particles/baseParticleSystem.d.ts +23 -23
  1091. package/Particles/cloudPoint.d.ts +6 -6
  1092. package/Particles/computeShaderParticleSystem.d.ts +9 -9
  1093. package/Particles/gpuParticleSystem.d.ts +25 -25
  1094. package/Particles/index.d.ts +21 -21
  1095. package/Particles/particle.d.ts +6 -6
  1096. package/Particles/particleHelper.d.ts +6 -6
  1097. package/Particles/particleSystem.d.ts +13 -13
  1098. package/Particles/particleSystem.functions.d.ts +5 -5
  1099. package/Particles/particleSystemComponent.d.ts +5 -5
  1100. package/Particles/particleSystemSet.d.ts +6 -6
  1101. package/Particles/pointsCloudSystem.d.ts +5 -5
  1102. package/Particles/solidParticle.d.ts +9 -9
  1103. package/Particles/solidParticleSystem.d.ts +11 -11
  1104. package/Particles/subEmitter.d.ts +3 -3
  1105. package/Particles/thinParticleSystem.d.ts +16 -16
  1106. package/Particles/webgl2ParticleSystem.d.ts +10 -10
  1107. package/Physics/IPhysicsEngine.d.ts +4 -4
  1108. package/Physics/Plugins/ammoJSPlugin.d.ts +1 -1
  1109. package/Physics/Plugins/cannonJSPlugin.d.ts +1 -1
  1110. package/Physics/Plugins/oimoJSPlugin.d.ts +1 -1
  1111. package/Physics/castingResult.d.ts +3 -3
  1112. package/Physics/index.d.ts +10 -10
  1113. package/Physics/joinedPhysicsEngineComponent.d.ts +9 -9
  1114. package/Physics/physicsEngine.d.ts +1 -1
  1115. package/Physics/physicsEngineComponent.d.ts +3 -3
  1116. package/Physics/physicsHelper.d.ts +6 -6
  1117. package/Physics/physicsImpostor.d.ts +1 -1
  1118. package/Physics/physicsJoint.d.ts +1 -1
  1119. package/Physics/physicsPointProximityQuery.d.ts +3 -3
  1120. package/Physics/physicsRaycastResult.d.ts +2 -2
  1121. package/Physics/physicsShapeCastQuery.d.ts +3 -3
  1122. package/Physics/physicsShapeProximityCastQuery.d.ts +3 -3
  1123. package/Physics/proximityCastResult.d.ts +1 -1
  1124. package/Physics/shapeCastResult.d.ts +1 -1
  1125. package/Physics/v1/IPhysicsEnginePlugin.d.ts +6 -6
  1126. package/Physics/v1/Plugins/ammoJSPlugin.d.ts +7 -7
  1127. package/Physics/v1/Plugins/cannonJSPlugin.d.ts +8 -8
  1128. package/Physics/v1/Plugins/index.d.ts +3 -3
  1129. package/Physics/v1/Plugins/oimoJSPlugin.d.ts +8 -8
  1130. package/Physics/v1/index.d.ts +6 -6
  1131. package/Physics/v1/physicsEngine.d.ts +7 -7
  1132. package/Physics/v1/physicsEngineComponent.d.ts +7 -7
  1133. package/Physics/v1/physicsImpostor.d.ts +11 -11
  1134. package/Physics/v1/physicsJoint.d.ts +2 -2
  1135. package/Physics/v2/IPhysicsEnginePlugin.d.ts +12 -12
  1136. package/Physics/v2/Plugins/havokPlugin.d.ts +18 -18
  1137. package/Physics/v2/Plugins/index.d.ts +1 -1
  1138. package/Physics/v2/characterController.d.ts +10 -5
  1139. package/Physics/v2/characterController.js +7 -0
  1140. package/Physics/v2/characterController.js.map +1 -1
  1141. package/Physics/v2/index.d.ts +10 -10
  1142. package/Physics/v2/physicsAggregate.d.ts +8 -8
  1143. package/Physics/v2/physicsBody.d.ts +9 -9
  1144. package/Physics/v2/physicsConstraint.d.ts +5 -5
  1145. package/Physics/v2/physicsEngine.d.ts +7 -7
  1146. package/Physics/v2/physicsEngineComponent.d.ts +7 -7
  1147. package/Physics/v2/physicsShape.d.ts +10 -10
  1148. package/Physics/v2/ragdoll.d.ts +7 -7
  1149. package/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.d.ts +15 -15
  1150. package/PostProcesses/RenderPipeline/Pipelines/index.d.ts +19 -19
  1151. package/PostProcesses/RenderPipeline/Pipelines/lensRenderingPipeline.d.ts +7 -7
  1152. package/PostProcesses/RenderPipeline/Pipelines/ssao2RenderingPipeline.d.ts +4 -4
  1153. package/PostProcesses/RenderPipeline/Pipelines/ssaoRenderingPipeline.d.ts +6 -6
  1154. package/PostProcesses/RenderPipeline/Pipelines/ssrRenderingPipeline.d.ts +8 -8
  1155. package/PostProcesses/RenderPipeline/Pipelines/standardRenderingPipeline.d.ts +15 -15
  1156. package/PostProcesses/RenderPipeline/Pipelines/taaRenderingPipeline.d.ts +4 -4
  1157. package/PostProcesses/RenderPipeline/index.d.ts +5 -5
  1158. package/PostProcesses/RenderPipeline/postProcessRenderEffect.d.ts +4 -4
  1159. package/PostProcesses/RenderPipeline/postProcessRenderPipeline.d.ts +6 -6
  1160. package/PostProcesses/RenderPipeline/postProcessRenderPipelineManager.d.ts +2 -2
  1161. package/PostProcesses/RenderPipeline/postProcessRenderPipelineManagerSceneComponent.d.ts +4 -4
  1162. package/PostProcesses/anaglyphPostProcess.d.ts +3 -3
  1163. package/PostProcesses/blackAndWhitePostProcess.d.ts +7 -7
  1164. package/PostProcesses/bloomEffect.d.ts +6 -6
  1165. package/PostProcesses/bloomMergePostProcess.d.ts +6 -6
  1166. package/PostProcesses/blurPostProcess.d.ts +8 -8
  1167. package/PostProcesses/chromaticAberrationPostProcess.d.ts +8 -8
  1168. package/PostProcesses/circleOfConfusionPostProcess.d.ts +7 -7
  1169. package/PostProcesses/colorCorrectionPostProcess.d.ts +6 -6
  1170. package/PostProcesses/convolutionPostProcess.d.ts +6 -6
  1171. package/PostProcesses/depthOfFieldBlurPostProcess.d.ts +6 -6
  1172. package/PostProcesses/depthOfFieldBlurPostProcess.js +9 -3
  1173. package/PostProcesses/depthOfFieldBlurPostProcess.js.map +1 -1
  1174. package/PostProcesses/depthOfFieldEffect.d.ts +7 -7
  1175. package/PostProcesses/depthOfFieldMergePostProcess.d.ts +5 -5
  1176. package/PostProcesses/displayPassPostProcess.d.ts +6 -6
  1177. package/PostProcesses/extractHighlightsPostProcess.d.ts +6 -6
  1178. package/PostProcesses/filterPostProcess.d.ts +7 -7
  1179. package/PostProcesses/fxaaPostProcess.d.ts +6 -6
  1180. package/PostProcesses/grainPostProcess.d.ts +6 -6
  1181. package/PostProcesses/highlightsPostProcess.d.ts +4 -4
  1182. package/PostProcesses/imageProcessingPostProcess.d.ts +12 -29
  1183. package/PostProcesses/imageProcessingPostProcess.js +27 -138
  1184. package/PostProcesses/imageProcessingPostProcess.js.map +1 -1
  1185. package/PostProcesses/index.d.ts +93 -92
  1186. package/PostProcesses/index.js +1 -0
  1187. package/PostProcesses/index.js.map +1 -1
  1188. package/PostProcesses/motionBlurPostProcess.d.ts +9 -9
  1189. package/PostProcesses/passPostProcess.d.ts +7 -7
  1190. package/PostProcesses/postProcess.d.ts +21 -21
  1191. package/PostProcesses/postProcessManager.d.ts +6 -6
  1192. package/PostProcesses/refractionPostProcess.d.ts +9 -9
  1193. package/PostProcesses/screenSpaceCurvaturePostProcess.d.ts +8 -8
  1194. package/PostProcesses/screenSpaceReflectionPostProcess.d.ts +7 -7
  1195. package/PostProcesses/sharpenPostProcess.d.ts +7 -7
  1196. package/PostProcesses/stereoscopicInterlacePostProcess.d.ts +3 -3
  1197. package/PostProcesses/subSurfaceScatteringPostProcess.d.ts +12 -12
  1198. package/PostProcesses/thinAnaglyphPostProcess.d.ts +1 -1
  1199. package/PostProcesses/thinBlackAndWhitePostProcess.d.ts +1 -1
  1200. package/PostProcesses/thinBloomEffect.d.ts +3 -3
  1201. package/PostProcesses/thinBloomMergePostProcess.d.ts +1 -1
  1202. package/PostProcesses/thinBlurPostProcess.d.ts +1 -1
  1203. package/PostProcesses/thinBlurPostProcess.js +1 -0
  1204. package/PostProcesses/thinBlurPostProcess.js.map +1 -1
  1205. package/PostProcesses/thinChromaticAberrationPostProcess.d.ts +4 -4
  1206. package/PostProcesses/thinChromaticAberrationPostProcess.js.map +1 -1
  1207. package/PostProcesses/thinCircleOfConfusionPostProcess.d.ts +1 -1
  1208. package/PostProcesses/thinDepthOfFieldBlurPostProcess.d.ts +1 -1
  1209. package/PostProcesses/thinDepthOfFieldEffect.d.ts +5 -5
  1210. package/PostProcesses/thinDepthOfFieldEffect.js +3 -3
  1211. package/PostProcesses/thinDepthOfFieldEffect.js.map +1 -1
  1212. package/PostProcesses/thinDepthOfFieldMergePostProcess.d.ts +1 -1
  1213. package/PostProcesses/thinExtractHighlightsPostProcess.d.ts +1 -1
  1214. package/PostProcesses/thinImageProcessingPostProcess.d.ts +258 -0
  1215. package/PostProcesses/thinImageProcessingPostProcess.js +462 -0
  1216. package/PostProcesses/thinImageProcessingPostProcess.js.map +1 -0
  1217. package/PostProcesses/thinSSRBlurCombinerPostProcess.d.ts +1 -1
  1218. package/PostProcesses/thinSSRBlurPostProcess.d.ts +2 -2
  1219. package/PostProcesses/thinTAAPostProcess.d.ts +1 -1
  1220. package/PostProcesses/tonemapPostProcess.d.ts +3 -3
  1221. package/PostProcesses/volumetricLightScatteringPostProcess.d.ts +13 -13
  1222. package/PostProcesses/vrDistortionCorrectionPostProcess.d.ts +4 -4
  1223. package/PostProcesses/vrMultiviewToSingleviewPostProcess.d.ts +5 -5
  1224. package/Probes/index.d.ts +1 -1
  1225. package/Probes/reflectionProbe.d.ts +6 -6
  1226. package/Rendering/GlobalIllumination/giRSM.d.ts +1 -1
  1227. package/Rendering/GlobalIllumination/giRSMManager.d.ts +1 -1
  1228. package/Rendering/GlobalIllumination/index.d.ts +10 -10
  1229. package/Rendering/IBLShadows/iblShadowsAccumulationPass.d.ts +4 -4
  1230. package/Rendering/IBLShadows/iblShadowsRenderPipeline.d.ts +6 -6
  1231. package/Rendering/IBLShadows/iblShadowsSpatialBlurPass.d.ts +3 -3
  1232. package/Rendering/IBLShadows/iblShadowsVoxelRenderer.d.ts +8 -8
  1233. package/Rendering/IBLShadows/iblShadowsVoxelTracingPass.d.ts +4 -4
  1234. package/Rendering/boundingBoxRenderer.d.ts +11 -11
  1235. package/Rendering/depthPeelingRenderer.d.ts +7 -7
  1236. package/Rendering/depthPeelingSceneComponent.d.ts +5 -5
  1237. package/Rendering/depthRenderer.d.ts +10 -10
  1238. package/Rendering/depthRendererSceneComponent.d.ts +6 -6
  1239. package/Rendering/edgesRenderer.d.ts +14 -14
  1240. package/Rendering/fluidRenderer/fluidRenderer.d.ts +3 -3
  1241. package/Rendering/fluidRenderer/fluidRenderingObjectCustomParticles.d.ts +1 -1
  1242. package/Rendering/fluidRenderer/fluidRenderingObjectParticleSystem.d.ts +1 -1
  1243. package/Rendering/fluidRenderer/fluidRenderingTargetRenderer.d.ts +2 -2
  1244. package/Rendering/fluidRenderer/index.d.ts +23 -23
  1245. package/Rendering/geometryBufferRenderer.d.ts +11 -11
  1246. package/Rendering/geometryBufferRendererSceneComponent.d.ts +5 -5
  1247. package/Rendering/iblCdfGenerator.d.ts +7 -7
  1248. package/Rendering/iblCdfGeneratorSceneComponent.d.ts +5 -5
  1249. package/Rendering/index.d.ts +86 -86
  1250. package/Rendering/motionBlurConfiguration.d.ts +1 -1
  1251. package/Rendering/objectRenderer.d.ts +7 -7
  1252. package/Rendering/objectRenderer.js +11 -11
  1253. package/Rendering/objectRenderer.js.map +1 -1
  1254. package/Rendering/outlineRenderer.d.ts +6 -6
  1255. package/Rendering/prePassEffectConfiguration.d.ts +1 -1
  1256. package/Rendering/prePassRenderer.d.ts +11 -11
  1257. package/Rendering/prePassRendererSceneComponent.d.ts +7 -7
  1258. package/Rendering/renderingGroup.d.ts +9 -9
  1259. package/Rendering/renderingManager.d.ts +10 -10
  1260. package/Rendering/screenSpaceReflections2Configuration.d.ts +1 -1
  1261. package/Rendering/screenSpaceReflectionsConfiguration.d.ts +1 -1
  1262. package/Rendering/ssao2Configuration.d.ts +1 -1
  1263. package/Rendering/subSurfaceConfiguration.d.ts +4 -4
  1264. package/Rendering/subSurfaceSceneComponent.d.ts +5 -5
  1265. package/Rendering/utilityLayerRenderer.d.ts +7 -7
  1266. package/Shaders/ShadersInclude/backgroundUboDeclaration.d.ts +1 -1
  1267. package/Shaders/ShadersInclude/bumpFragmentFunctions.d.ts +1 -1
  1268. package/Shaders/ShadersInclude/defaultFragmentDeclaration.d.ts +1 -1
  1269. package/Shaders/ShadersInclude/defaultUboDeclaration.d.ts +2 -2
  1270. package/Shaders/ShadersInclude/defaultVertexDeclaration.d.ts +1 -1
  1271. package/Shaders/ShadersInclude/gaussianSplatting.js +9 -1
  1272. package/Shaders/ShadersInclude/gaussianSplatting.js.map +1 -1
  1273. package/Shaders/ShadersInclude/gaussianSplattingFragmentDeclaration.d.ts +2 -2
  1274. package/Shaders/ShadersInclude/gaussianSplattingUboDeclaration.d.ts +2 -2
  1275. package/Shaders/ShadersInclude/geometryUboDeclaration.d.ts +1 -1
  1276. package/Shaders/ShadersInclude/lightFragment.js +10 -7
  1277. package/Shaders/ShadersInclude/lightFragment.js.map +1 -1
  1278. package/Shaders/ShadersInclude/lightsFragmentFunctions.d.ts +1 -1
  1279. package/Shaders/ShadersInclude/lineUboDeclaration.d.ts +2 -2
  1280. package/Shaders/ShadersInclude/pbrBRDFFunctions.js +5 -1
  1281. package/Shaders/ShadersInclude/pbrBRDFFunctions.js.map +1 -1
  1282. package/Shaders/ShadersInclude/pbrBlockAlbedoOpacity.d.ts +1 -1
  1283. package/Shaders/ShadersInclude/pbrBlockDirectLighting.js +1 -1
  1284. package/Shaders/ShadersInclude/pbrBlockDirectLighting.js.map +1 -1
  1285. package/Shaders/ShadersInclude/pbrBlockFinalUnlitComponents.js +1 -1
  1286. package/Shaders/ShadersInclude/pbrBlockFinalUnlitComponents.js.map +1 -1
  1287. package/Shaders/ShadersInclude/pbrBlockReflectance.js +1 -1
  1288. package/Shaders/ShadersInclude/pbrBlockReflectance.js.map +1 -1
  1289. package/Shaders/ShadersInclude/pbrBlockReflectivity.js +2 -2
  1290. package/Shaders/ShadersInclude/pbrBlockReflectivity.js.map +1 -1
  1291. package/Shaders/ShadersInclude/pbrDirectLightingFunctions.js +16 -4
  1292. package/Shaders/ShadersInclude/pbrDirectLightingFunctions.js.map +1 -1
  1293. package/Shaders/ShadersInclude/pbrDirectLightingSetupFunctions.d.ts +1 -1
  1294. package/Shaders/ShadersInclude/pbrFragmentDeclaration.d.ts +1 -1
  1295. package/Shaders/ShadersInclude/pbrFragmentExtraDeclaration.d.ts +1 -1
  1296. package/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.d.ts +2 -2
  1297. package/Shaders/ShadersInclude/pbrUboDeclaration.d.ts +2 -2
  1298. package/Shaders/ShadersInclude/pbrVertexDeclaration.d.ts +1 -1
  1299. package/Shaders/ShadersInclude/shadowMapFragmentExtraDeclaration.d.ts +2 -2
  1300. package/Shaders/ShadersInclude/shadowMapUboDeclaration.d.ts +2 -2
  1301. package/Shaders/ShadersInclude/shadowMapVertexDeclaration.d.ts +2 -2
  1302. package/Shaders/background.fragment.d.ts +18 -18
  1303. package/Shaders/background.vertex.d.ts +18 -18
  1304. package/Shaders/boundingBoxRenderer.fragment.d.ts +2 -2
  1305. package/Shaders/boundingBoxRenderer.vertex.d.ts +2 -2
  1306. package/Shaders/color.fragment.d.ts +4 -4
  1307. package/Shaders/color.vertex.d.ts +11 -11
  1308. package/Shaders/copyTextureToTexture.fragment.d.ts +1 -1
  1309. package/Shaders/default.fragment.d.ts +28 -28
  1310. package/Shaders/default.vertex.d.ts +33 -33
  1311. package/Shaders/depth.fragment.d.ts +3 -3
  1312. package/Shaders/depth.vertex.d.ts +14 -14
  1313. package/Shaders/extractHighlights.fragment.d.ts +1 -1
  1314. package/Shaders/gaussianSplatting.fragment.d.ts +5 -5
  1315. package/Shaders/gaussianSplatting.vertex.d.ts +10 -10
  1316. package/Shaders/gaussianSplatting.vertex.js +2 -2
  1317. package/Shaders/gaussianSplatting.vertex.js.map +1 -1
  1318. package/Shaders/geometry.fragment.d.ts +7 -7
  1319. package/Shaders/geometry.vertex.d.ts +15 -15
  1320. package/Shaders/glowMapGeneration.fragment.d.ts +3 -3
  1321. package/Shaders/glowMapGeneration.vertex.d.ts +12 -12
  1322. package/Shaders/gpuRenderParticles.fragment.d.ts +9 -9
  1323. package/Shaders/gpuRenderParticles.vertex.d.ts +6 -6
  1324. package/Shaders/gpuTransform.vertex.d.ts +8 -8
  1325. package/Shaders/grain.fragment.d.ts +1 -1
  1326. package/Shaders/greasedLine.vertex.d.ts +2 -2
  1327. package/Shaders/hdrFiltering.fragment.d.ts +4 -4
  1328. package/Shaders/hdrIrradianceFiltering.fragment.d.ts +4 -4
  1329. package/Shaders/iblCdfy.fragment.d.ts +1 -1
  1330. package/Shaders/iblIcdf.fragment.d.ts +1 -1
  1331. package/Shaders/iblScaledLuminance.fragment.d.ts +1 -1
  1332. package/Shaders/iblVoxelGrid.vertex.d.ts +10 -10
  1333. package/Shaders/imageProcessing.fragment.d.ts +3 -3
  1334. package/Shaders/kernelBlur.fragment.d.ts +4 -4
  1335. package/Shaders/kernelBlur.vertex.d.ts +2 -2
  1336. package/Shaders/layer.fragment.d.ts +1 -1
  1337. package/Shaders/line.fragment.d.ts +4 -4
  1338. package/Shaders/line.vertex.d.ts +8 -8
  1339. package/Shaders/meshUVSpaceRenderer.vertex.d.ts +10 -10
  1340. package/Shaders/outline.fragment.d.ts +4 -4
  1341. package/Shaders/outline.vertex.d.ts +14 -14
  1342. package/Shaders/particles.fragment.d.ts +9 -9
  1343. package/Shaders/particles.vertex.d.ts +6 -6
  1344. package/Shaders/pbr.fragment.d.ts +58 -58
  1345. package/Shaders/pbr.vertex.d.ts +33 -33
  1346. package/Shaders/picking.vertex.d.ts +10 -10
  1347. package/Shaders/rgbdDecode.fragment.d.ts +1 -1
  1348. package/Shaders/rgbdEncode.fragment.d.ts +1 -1
  1349. package/Shaders/screenSpaceReflection2.fragment.d.ts +3 -3
  1350. package/Shaders/screenSpaceReflection2BlurCombiner.fragment.d.ts +3 -3
  1351. package/Shaders/shadowMap.fragment.d.ts +4 -4
  1352. package/Shaders/shadowMap.vertex.d.ts +17 -17
  1353. package/Shaders/spriteMap.fragment.d.ts +4 -4
  1354. package/Shaders/spriteMap.vertex.d.ts +3 -3
  1355. package/Shaders/sprites.fragment.d.ts +5 -5
  1356. package/Shaders/sprites.vertex.d.ts +3 -3
  1357. package/Shaders/standard.fragment.d.ts +1 -1
  1358. package/Shaders/subSurfaceScattering.fragment.d.ts +4 -4
  1359. package/Shaders/velocity.vertex.d.ts +2 -2
  1360. package/Shaders/volumetricLightScatteringPass.vertex.d.ts +10 -10
  1361. package/ShadersWGSL/ShadersInclude/backgroundUboDeclaration.d.ts +1 -1
  1362. package/ShadersWGSL/ShadersInclude/bumpFragmentFunctions.d.ts +1 -1
  1363. package/ShadersWGSL/ShadersInclude/defaultUboDeclaration.d.ts +2 -2
  1364. package/ShadersWGSL/ShadersInclude/gaussianSplatting.js +11 -2
  1365. package/ShadersWGSL/ShadersInclude/gaussianSplatting.js.map +1 -1
  1366. package/ShadersWGSL/ShadersInclude/gaussianSplattingFragmentDeclaration.d.ts +2 -2
  1367. package/ShadersWGSL/ShadersInclude/gaussianSplattingUboDeclaration.d.ts +2 -2
  1368. package/ShadersWGSL/ShadersInclude/lightFragment.js +10 -7
  1369. package/ShadersWGSL/ShadersInclude/lightFragment.js.map +1 -1
  1370. package/ShadersWGSL/ShadersInclude/lightsFragmentFunctions.d.ts +1 -1
  1371. package/ShadersWGSL/ShadersInclude/pbrBRDFFunctions.js +5 -1
  1372. package/ShadersWGSL/ShadersInclude/pbrBRDFFunctions.js.map +1 -1
  1373. package/ShadersWGSL/ShadersInclude/pbrBlockAlbedoOpacity.d.ts +1 -1
  1374. package/ShadersWGSL/ShadersInclude/pbrBlockDirectLighting.js +1 -1
  1375. package/ShadersWGSL/ShadersInclude/pbrBlockDirectLighting.js.map +1 -1
  1376. package/ShadersWGSL/ShadersInclude/pbrBlockFinalUnlitComponents.js +1 -1
  1377. package/ShadersWGSL/ShadersInclude/pbrBlockFinalUnlitComponents.js.map +1 -1
  1378. package/ShadersWGSL/ShadersInclude/pbrBlockReflectance.js +1 -1
  1379. package/ShadersWGSL/ShadersInclude/pbrBlockReflectance.js.map +1 -1
  1380. package/ShadersWGSL/ShadersInclude/pbrBlockReflectivity.js +2 -2
  1381. package/ShadersWGSL/ShadersInclude/pbrBlockReflectivity.js.map +1 -1
  1382. package/ShadersWGSL/ShadersInclude/pbrDirectLightingFunctions.js +24 -8
  1383. package/ShadersWGSL/ShadersInclude/pbrDirectLightingFunctions.js.map +1 -1
  1384. package/ShadersWGSL/ShadersInclude/pbrDirectLightingSetupFunctions.d.ts +1 -1
  1385. package/ShadersWGSL/ShadersInclude/pbrFragmentExtraDeclaration.d.ts +1 -1
  1386. package/ShadersWGSL/ShadersInclude/pbrFragmentSamplersDeclaration.d.ts +2 -2
  1387. package/ShadersWGSL/ShadersInclude/pbrUboDeclaration.d.ts +2 -2
  1388. package/ShadersWGSL/ShadersInclude/shadowMapFragmentExtraDeclaration.d.ts +2 -2
  1389. package/ShadersWGSL/background.fragment.d.ts +16 -16
  1390. package/ShadersWGSL/background.vertex.d.ts +16 -16
  1391. package/ShadersWGSL/color.fragment.d.ts +4 -4
  1392. package/ShadersWGSL/color.vertex.d.ts +11 -11
  1393. package/ShadersWGSL/copyTextureToTexture.fragment.d.ts +1 -1
  1394. package/ShadersWGSL/default.fragment.d.ts +26 -26
  1395. package/ShadersWGSL/default.vertex.d.ts +31 -31
  1396. package/ShadersWGSL/depth.fragment.d.ts +3 -3
  1397. package/ShadersWGSL/depth.vertex.d.ts +12 -12
  1398. package/ShadersWGSL/extractHighlights.fragment.d.ts +1 -1
  1399. package/ShadersWGSL/gaussianSplatting.fragment.d.ts +5 -5
  1400. package/ShadersWGSL/gaussianSplatting.vertex.d.ts +10 -9
  1401. package/ShadersWGSL/gaussianSplatting.vertex.js +6 -3
  1402. package/ShadersWGSL/gaussianSplatting.vertex.js.map +1 -1
  1403. package/ShadersWGSL/geometry.fragment.d.ts +6 -6
  1404. package/ShadersWGSL/geometry.vertex.d.ts +14 -14
  1405. package/ShadersWGSL/glowMapGeneration.fragment.d.ts +3 -3
  1406. package/ShadersWGSL/glowMapGeneration.vertex.d.ts +12 -12
  1407. package/ShadersWGSL/grain.fragment.d.ts +1 -1
  1408. package/ShadersWGSL/greasedLine.vertex.d.ts +4 -4
  1409. package/ShadersWGSL/hdrFiltering.fragment.d.ts +4 -4
  1410. package/ShadersWGSL/hdrIrradianceFiltering.fragment.d.ts +4 -4
  1411. package/ShadersWGSL/iblIcdf.fragment.d.ts +1 -1
  1412. package/ShadersWGSL/iblScaledLuminance.fragment.d.ts +1 -1
  1413. package/ShadersWGSL/iblVoxelGrid.vertex.d.ts +10 -10
  1414. package/ShadersWGSL/imageProcessing.fragment.d.ts +3 -3
  1415. package/ShadersWGSL/kernelBlur.fragment.d.ts +4 -4
  1416. package/ShadersWGSL/kernelBlur.vertex.d.ts +2 -2
  1417. package/ShadersWGSL/layer.fragment.d.ts +1 -1
  1418. package/ShadersWGSL/line.fragment.d.ts +4 -4
  1419. package/ShadersWGSL/line.vertex.d.ts +8 -8
  1420. package/ShadersWGSL/meshUVSpaceRenderer.vertex.d.ts +10 -10
  1421. package/ShadersWGSL/outline.fragment.d.ts +4 -4
  1422. package/ShadersWGSL/outline.vertex.d.ts +14 -14
  1423. package/ShadersWGSL/particles.fragment.d.ts +9 -9
  1424. package/ShadersWGSL/particles.vertex.d.ts +6 -6
  1425. package/ShadersWGSL/pbr.fragment.d.ts +56 -56
  1426. package/ShadersWGSL/pbr.vertex.d.ts +31 -31
  1427. package/ShadersWGSL/picking.vertex.d.ts +10 -10
  1428. package/ShadersWGSL/rgbdDecode.fragment.d.ts +1 -1
  1429. package/ShadersWGSL/rgbdEncode.fragment.d.ts +1 -1
  1430. package/ShadersWGSL/screenSpaceReflection2.fragment.d.ts +3 -3
  1431. package/ShadersWGSL/screenSpaceReflection2BlurCombiner.fragment.d.ts +3 -3
  1432. package/ShadersWGSL/shadowMap.fragment.d.ts +4 -4
  1433. package/ShadersWGSL/shadowMap.vertex.d.ts +17 -17
  1434. package/ShadersWGSL/sprites.fragment.d.ts +5 -5
  1435. package/ShadersWGSL/sprites.vertex.d.ts +3 -3
  1436. package/ShadersWGSL/subSurfaceScattering.fragment.d.ts +4 -4
  1437. package/Sprites/index.d.ts +10 -10
  1438. package/Sprites/sprite.d.ts +9 -9
  1439. package/Sprites/spriteManager.d.ts +9 -9
  1440. package/Sprites/spriteMap.d.ts +7 -7
  1441. package/Sprites/spritePackedManager.d.ts +3 -3
  1442. package/Sprites/spriteRenderer.d.ts +8 -8
  1443. package/Sprites/spriteSceneComponent.d.ts +10 -10
  1444. package/Sprites/thinSprite.d.ts +2 -2
  1445. package/States/alphaCullingState.d.ts +1 -1
  1446. package/States/depthCullingState.d.ts +1 -1
  1447. package/States/index.d.ts +4 -4
  1448. package/States/stencilState.d.ts +1 -1
  1449. package/States/stencilStateComposer.d.ts +1 -1
  1450. package/XR/features/Layers/WebXRProjectionLayer.d.ts +1 -1
  1451. package/XR/features/WebXRAbstractFeature.d.ts +4 -4
  1452. package/XR/features/WebXRAnchorSystem.d.ts +6 -6
  1453. package/XR/features/WebXRBackgroundRemover.d.ts +4 -4
  1454. package/XR/features/WebXRControllerMovement.d.ts +9 -9
  1455. package/XR/features/WebXRControllerPhysics.d.ts +6 -6
  1456. package/XR/features/WebXRControllerPointerSelection.d.ts +10 -10
  1457. package/XR/features/WebXRControllerTeleportation.d.ts +12 -12
  1458. package/XR/features/WebXRDOMOverlay.d.ts +3 -3
  1459. package/XR/features/WebXRDepthSensing.d.ts +6 -6
  1460. package/XR/features/WebXREyeTracking.d.ts +5 -5
  1461. package/XR/features/WebXRFeaturePointSystem.d.ts +4 -4
  1462. package/XR/features/WebXRHandTracking.d.ts +11 -11
  1463. package/XR/features/WebXRHitTest.d.ts +5 -5
  1464. package/XR/features/WebXRHitTestLegacy.d.ts +6 -6
  1465. package/XR/features/WebXRImageTracking.d.ts +5 -5
  1466. package/XR/features/WebXRLayers.d.ts +8 -8
  1467. package/XR/features/WebXRLightEstimation.d.ts +9 -9
  1468. package/XR/features/WebXRMeshDetector.d.ts +6 -6
  1469. package/XR/features/WebXRNearInteraction.d.ts +13 -13
  1470. package/XR/features/WebXRPlaneDetector.d.ts +5 -5
  1471. package/XR/features/WebXRRawCameraAccess.d.ts +4 -4
  1472. package/XR/features/WebXRSpaceWarp.d.ts +10 -10
  1473. package/XR/features/WebXRWalkingLocomotion.d.ts +4 -4
  1474. package/XR/features/index.d.ts +23 -23
  1475. package/XR/index.d.ts +14 -14
  1476. package/XR/motionController/index.d.ts +9 -9
  1477. package/XR/motionController/webXRAbstractMotionController.d.ts +5 -5
  1478. package/XR/motionController/webXRControllerComponent.d.ts +3 -3
  1479. package/XR/motionController/webXRGenericHandController.d.ts +4 -4
  1480. package/XR/motionController/webXRGenericMotionController.d.ts +4 -4
  1481. package/XR/motionController/webXRHTCViveMotionController.d.ts +4 -4
  1482. package/XR/motionController/webXRMicrosoftMixedRealityController.d.ts +4 -4
  1483. package/XR/motionController/webXRMotionControllerManager.d.ts +2 -2
  1484. package/XR/motionController/webXROculusTouchMotionController.d.ts +4 -4
  1485. package/XR/motionController/webXRProfiledMotionController.d.ts +4 -4
  1486. package/XR/native/index.d.ts +2 -2
  1487. package/XR/native/nativeXRRenderTarget.d.ts +7 -7
  1488. package/XR/webXRCamera.d.ts +7 -7
  1489. package/XR/webXRDefaultExperience.d.ts +16 -16
  1490. package/XR/webXREnterExitUI.d.ts +5 -5
  1491. package/XR/webXRExperienceHelper.d.ts +7 -7
  1492. package/XR/webXRFeaturesManager.d.ts +2 -2
  1493. package/XR/webXRInput.d.ts +6 -6
  1494. package/XR/webXRInputSource.d.ts +7 -7
  1495. package/XR/webXRLayerWrapper.d.ts +3 -3
  1496. package/XR/webXRManagedOutputCanvas.d.ts +5 -5
  1497. package/XR/webXRRenderTargetTextureProvider.d.ts +5 -5
  1498. package/XR/webXRSessionManager.d.ts +9 -9
  1499. package/XR/webXRTypes.d.ts +2 -2
  1500. package/XR/webXRWebGLLayer.d.ts +6 -6
  1501. package/assetContainer.d.ts +27 -27
  1502. package/index.d.ts +49 -49
  1503. package/node.d.ts +15 -15
  1504. package/package.json +1 -1
  1505. package/scene.d.ts +62 -62
  1506. package/sceneComponent.d.ts +12 -12
@@ -1,9 +1,9 @@
1
- import type { Nullable } from "../types";
2
- import type { Vector2 } from "../Maths/math.vector";
3
- import type { Camera } from "../Cameras/camera";
4
- import type { PostProcess, PostProcessOptions } from "./postProcess";
5
- import { BlurPostProcess } from "./blurPostProcess";
6
- import type { Scene } from "../scene";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Vector2 } from "../Maths/math.vector.js";
3
+ import type { Camera } from "../Cameras/camera.js";
4
+ import type { PostProcess, PostProcessOptions } from "./postProcess.js";
5
+ import { BlurPostProcess } from "./blurPostProcess.js";
6
+ import type { Scene } from "../scene.js";
7
7
  import type { AbstractEngine } from "../Engines/abstractEngine.js";
8
8
  /**
9
9
  * The DepthOfFieldBlurPostProcess applied a blur in a give direction.
@@ -2,6 +2,7 @@ import { Texture } from "../Materials/Textures/texture.js";
2
2
  import { BlurPostProcess } from "./blurPostProcess.js";
3
3
 
4
4
  import { RegisterClass } from "../Misc/typeStore.js";
5
+ import { ThinDepthOfFieldBlurPostProcess } from "./thinDepthOfFieldBlurPostProcess.js";
5
6
  /**
6
7
  * The DepthOfFieldBlurPostProcess applied a blur in a give direction.
7
8
  * This blur differs from the standard BlurPostProcess as it attempts to avoid blurring pixels
@@ -34,8 +35,11 @@ export class DepthOfFieldBlurPostProcess extends BlurPostProcess {
34
35
  * @param textureFormat Format of textures used when performing the post process. (default: TEXTUREFORMAT_RGBA)
35
36
  */
36
37
  constructor(name, _scene, direction, kernel, options, camera, circleOfConfusion, imageToBlur = null, samplingMode = Texture.BILINEAR_SAMPLINGMODE, engine, reusable, textureType = 0, blockCompilation = false, textureFormat = 5) {
37
- super(name, direction, kernel, {
38
+ const localOptions = {
39
+ size: typeof options === "number" ? options : undefined,
38
40
  camera,
41
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
42
+ samplingMode: (samplingMode = 2),
39
43
  engine,
40
44
  reusable,
41
45
  textureType,
@@ -43,8 +47,10 @@ export class DepthOfFieldBlurPostProcess extends BlurPostProcess {
43
47
  blockCompilation,
44
48
  textureFormat,
45
49
  ...options,
46
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
47
- samplingMode: (samplingMode = 2),
50
+ };
51
+ super(name, direction, kernel, {
52
+ effectWrapper: typeof options === "number" || !options.effectWrapper ? new ThinDepthOfFieldBlurPostProcess(name, engine, direction, kernel, localOptions) : undefined,
53
+ ...localOptions,
48
54
  });
49
55
  this.externalTextureSamplerBinding = !!imageToBlur;
50
56
  this.onApplyObservable.add((effect) => {
@@ -1 +1 @@
1
- {"version":3,"file":"depthOfFieldBlurPostProcess.js","sourceRoot":"","sources":["../../../../dev/core/src/PostProcesses/depthOfFieldBlurPostProcess.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OA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AAE,2BAA2B,CAAC,CAAC","sourcesContent":["import type { Nullable } from \"../types\";\r\nimport type { Vector2 } from \"../Maths/math.vector\";\r\nimport type { Camera } from \"../Cameras/camera\";\r\nimport type { Effect } from \"../Materials/effect\";\r\nimport { Texture } from \"../Materials/Textures/texture\";\r\nimport type { PostProcess, PostProcessOptions } from \"./postProcess\";\r\nimport { BlurPostProcess } from \"./blurPostProcess\";\r\nimport type { Scene } from \"../scene\";\r\nimport { Constants } from \"../Engines/constants\";\r\nimport { RegisterClass } from \"../Misc/typeStore\";\r\nimport type { AbstractEngine } from \"core/Engines/abstractEngine\";\r\n\r\n/**\r\n * The DepthOfFieldBlurPostProcess applied a blur in a give direction.\r\n * This blur differs from the standard BlurPostProcess as it attempts to avoid blurring pixels\r\n * based on samples that have a large difference in distance than the center pixel.\r\n * See section 2.6.2 http://fileadmin.cs.lth.se/cs/education/edan35/lectures/12dof.pdf\r\n */\r\nexport class DepthOfFieldBlurPostProcess extends BlurPostProcess {\r\n /**\r\n * Gets a string identifying the name of the class\r\n * @returns \"DepthOfFieldBlurPostProcess\" string\r\n */\r\n public override getClassName(): string {\r\n return \"DepthOfFieldBlurPostProcess\";\r\n }\r\n\r\n /**\r\n * Creates a new instance DepthOfFieldBlurPostProcess\r\n * @param name The name of the effect.\r\n * @param _scene The scene the effect belongs to (not used, you can pass null)\r\n * @param direction The direction the blur should be applied.\r\n * @param kernel The size of the kernel used to blur.\r\n * @param options The required width/height ratio to downsize to before computing the render pass.\r\n * @param camera The camera to apply the render pass to.\r\n * @param circleOfConfusion The circle of confusion + depth map to be used to avoid blurring across edges\r\n * @param imageToBlur The image to apply the blur to (default: Current rendered frame)\r\n * @param samplingMode The sampling mode to be used when computing the pass. (default: 0)\r\n * @param engine The engine which the post process will be applied. (default: current engine)\r\n * @param reusable If the post process can be reused on the same frame. (default: false)\r\n * @param textureType Type of textures used when performing the post process. (default: 0)\r\n * @param blockCompilation If compilation of the shader should not be done in the constructor. The updateEffect method can be used to compile the shader at a later time. (default: false)\r\n * @param textureFormat Format of textures used when performing the post process. (default: TEXTUREFORMAT_RGBA)\r\n */\r\n constructor(\r\n name: string,\r\n _scene: Nullable<Scene>,\r\n direction: Vector2,\r\n kernel: number,\r\n options: number | PostProcessOptions,\r\n camera: Nullable<Camera>,\r\n circleOfConfusion: PostProcess,\r\n imageToBlur: Nullable<PostProcess> = null,\r\n samplingMode = Texture.BILINEAR_SAMPLINGMODE,\r\n engine?: AbstractEngine,\r\n reusable?: boolean,\r\n textureType = Constants.TEXTURETYPE_UNSIGNED_BYTE,\r\n blockCompilation = false,\r\n textureFormat = Constants.TEXTUREFORMAT_RGBA\r\n ) {\r\n super(name, direction, kernel, {\r\n camera,\r\n engine,\r\n reusable,\r\n textureType,\r\n defines: `#define DOF 1\\n`,\r\n blockCompilation,\r\n textureFormat,\r\n ...(options as PostProcessOptions),\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n samplingMode: (samplingMode = Constants.TEXTURE_BILINEAR_SAMPLINGMODE),\r\n });\r\n\r\n this.externalTextureSamplerBinding = !!imageToBlur;\r\n\r\n this.onApplyObservable.add((effect: Effect) => {\r\n if (imageToBlur != null) {\r\n effect.setTextureFromPostProcess(\"textureSampler\", imageToBlur);\r\n }\r\n effect.setTextureFromPostProcessOutput(\"circleOfConfusionSampler\", circleOfConfusion);\r\n });\r\n }\r\n}\r\n\r\nRegisterClass(\"BABYLON.DepthOfFieldBlurPostProcess\", DepthOfFieldBlurPostProcess);\r\n"]}
1
+ {"version":3,"file":"depthOfFieldBlurPostProcess.js","sourceRoot":"","sources":["../../../../dev/core/src/PostProcesses/depthOfFieldBlurPostProcess.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,+BAA+B,CAAC;AAExD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACjD,OAAO,EAAE,aAAa,EAAE,MAAM,mB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EAAE;YAC1C,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,MAAM,CAAC,yBAAyB,CAAC,gBAAgB,EAAE,WAAW,CAAC,CAAC;YACpE,CAAC;YACD,MAAM,CAAC,+BAA+B,CAAC,0BAA0B,EAAE,iBAAiB,CAAC,CAAC;QAC1F,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAED,aAAa,CAAC,qCAAqC,EAAE,2BAA2B,CAAC,CAAC","sourcesContent":["import type { Nullable } from \"../types\";\r\nimport type { Vector2 } from \"../Maths/math.vector\";\r\nimport type { Camera } from \"../Cameras/camera\";\r\nimport type { Effect } from \"../Materials/effect\";\r\nimport { Texture } from \"../Materials/Textures/texture\";\r\nimport type { PostProcess, PostProcessOptions } from \"./postProcess\";\r\nimport { BlurPostProcess } from \"./blurPostProcess\";\r\nimport type { Scene } from \"../scene\";\r\nimport { Constants } from \"../Engines/constants\";\r\nimport { RegisterClass } from \"../Misc/typeStore\";\r\nimport type { AbstractEngine } from \"core/Engines/abstractEngine\";\r\nimport { ThinDepthOfFieldBlurPostProcess } from \"./thinDepthOfFieldBlurPostProcess\";\r\n\r\n/**\r\n * The DepthOfFieldBlurPostProcess applied a blur in a give direction.\r\n * This blur differs from the standard BlurPostProcess as it attempts to avoid blurring pixels\r\n * based on samples that have a large difference in distance than the center pixel.\r\n * See section 2.6.2 http://fileadmin.cs.lth.se/cs/education/edan35/lectures/12dof.pdf\r\n */\r\nexport class DepthOfFieldBlurPostProcess extends BlurPostProcess {\r\n /**\r\n * Gets a string identifying the name of the class\r\n * @returns \"DepthOfFieldBlurPostProcess\" string\r\n */\r\n public override getClassName(): string {\r\n return \"DepthOfFieldBlurPostProcess\";\r\n }\r\n\r\n /**\r\n * Creates a new instance DepthOfFieldBlurPostProcess\r\n * @param name The name of the effect.\r\n * @param _scene The scene the effect belongs to (not used, you can pass null)\r\n * @param direction The direction the blur should be applied.\r\n * @param kernel The size of the kernel used to blur.\r\n * @param options The required width/height ratio to downsize to before computing the render pass.\r\n * @param camera The camera to apply the render pass to.\r\n * @param circleOfConfusion The circle of confusion + depth map to be used to avoid blurring across edges\r\n * @param imageToBlur The image to apply the blur to (default: Current rendered frame)\r\n * @param samplingMode The sampling mode to be used when computing the pass. (default: 0)\r\n * @param engine The engine which the post process will be applied. (default: current engine)\r\n * @param reusable If the post process can be reused on the same frame. (default: false)\r\n * @param textureType Type of textures used when performing the post process. (default: 0)\r\n * @param blockCompilation If compilation of the shader should not be done in the constructor. The updateEffect method can be used to compile the shader at a later time. (default: false)\r\n * @param textureFormat Format of textures used when performing the post process. (default: TEXTUREFORMAT_RGBA)\r\n */\r\n constructor(\r\n name: string,\r\n _scene: Nullable<Scene>,\r\n direction: Vector2,\r\n kernel: number,\r\n options: number | PostProcessOptions,\r\n camera: Nullable<Camera>,\r\n circleOfConfusion: PostProcess,\r\n imageToBlur: Nullable<PostProcess> = null,\r\n samplingMode = Texture.BILINEAR_SAMPLINGMODE,\r\n engine?: AbstractEngine,\r\n reusable?: boolean,\r\n textureType = Constants.TEXTURETYPE_UNSIGNED_BYTE,\r\n blockCompilation = false,\r\n textureFormat = Constants.TEXTUREFORMAT_RGBA\r\n ) {\r\n const localOptions = {\r\n size: typeof options === \"number\" ? options : undefined,\r\n camera,\r\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\r\n samplingMode: (samplingMode = Constants.TEXTURE_BILINEAR_SAMPLINGMODE),\r\n engine,\r\n reusable,\r\n textureType,\r\n defines: `#define DOF 1\\n`,\r\n blockCompilation,\r\n textureFormat,\r\n ...(options as PostProcessOptions),\r\n };\r\n\r\n super(name, direction, kernel, {\r\n effectWrapper: typeof options === \"number\" || !options.effectWrapper ? new ThinDepthOfFieldBlurPostProcess(name, engine, direction, kernel, localOptions) : undefined,\r\n ...localOptions,\r\n });\r\n\r\n this.externalTextureSamplerBinding = !!imageToBlur;\r\n\r\n this.onApplyObservable.add((effect: Effect) => {\r\n if (imageToBlur != null) {\r\n effect.setTextureFromPostProcess(\"textureSampler\", imageToBlur);\r\n }\r\n effect.setTextureFromPostProcessOutput(\"circleOfConfusionSampler\", circleOfConfusion);\r\n });\r\n }\r\n}\r\n\r\nRegisterClass(\"BABYLON.DepthOfFieldBlurPostProcess\", DepthOfFieldBlurPostProcess);\r\n"]}
@@ -1,10 +1,10 @@
1
- import type { Nullable } from "../types";
2
- import type { Camera } from "../Cameras/camera";
3
- import type { RenderTargetTexture } from "../Materials/Textures/renderTargetTexture";
4
- import type { PostProcess } from "./postProcess";
5
- import { PostProcessRenderEffect } from "../PostProcesses/RenderPipeline/postProcessRenderEffect";
6
- import { DepthOfFieldBlurPostProcess } from "./depthOfFieldBlurPostProcess";
7
- import type { Scene } from "../scene";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Camera } from "../Cameras/camera.js";
3
+ import type { RenderTargetTexture } from "../Materials/Textures/renderTargetTexture.js";
4
+ import type { PostProcess } from "./postProcess.js";
5
+ import { PostProcessRenderEffect } from "../PostProcesses/RenderPipeline/postProcessRenderEffect.js";
6
+ import { DepthOfFieldBlurPostProcess } from "./depthOfFieldBlurPostProcess.js";
7
+ import type { Scene } from "../scene.js";
8
8
  import type { AbstractEngine } from "../Engines/abstractEngine.js";
9
9
  /**
10
10
  * Specifies the level of max blur that should be applied when using the depth of field effect
@@ -1,8 +1,8 @@
1
- import type { Nullable } from "../types";
2
- import type { Camera } from "../Cameras/camera";
3
- import type { Effect } from "../Materials/effect";
4
- import type { PostProcessOptions } from "./postProcess";
5
- import { PostProcess } from "./postProcess";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Camera } from "../Cameras/camera.js";
3
+ import type { Effect } from "../Materials/effect.js";
4
+ import type { PostProcessOptions } from "./postProcess.js";
5
+ import { PostProcess } from "./postProcess.js";
6
6
  import type { AbstractEngine } from "../Engines/abstractEngine.js";
7
7
  /**
8
8
  * The DepthOfFieldMergePostProcess merges blurred images with the original based on the values of the circle of confusion.
@@ -1,9 +1,9 @@
1
- import type { Nullable } from "../types";
2
- import type { Camera } from "../Cameras/camera";
3
- import type { PostProcessOptions } from "./postProcess";
4
- import { PostProcess } from "./postProcess";
5
- import type { AbstractEngine } from "../Engines/abstractEngine";
6
- import type { Scene } from "../scene";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Camera } from "../Cameras/camera.js";
3
+ import type { PostProcessOptions } from "./postProcess.js";
4
+ import { PostProcess } from "./postProcess.js";
5
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
6
+ import type { Scene } from "../scene.js";
7
7
  /**
8
8
  * DisplayPassPostProcess which produces an output the same as it's input
9
9
  */
@@ -1,9 +1,9 @@
1
- import type { Nullable } from "../types";
2
- import type { Camera } from "../Cameras/camera";
3
- import type { PostProcessOptions } from "./postProcess";
4
- import { PostProcess } from "./postProcess";
5
- import type { AbstractEngine } from "../Engines/abstractEngine";
6
- import { ThinExtractHighlightsPostProcess } from "./thinExtractHighlightsPostProcess";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Camera } from "../Cameras/camera.js";
3
+ import type { PostProcessOptions } from "./postProcess.js";
4
+ import { PostProcess } from "./postProcess.js";
5
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
6
+ import { ThinExtractHighlightsPostProcess } from "./thinExtractHighlightsPostProcess.js";
7
7
  /**
8
8
  * The extract highlights post process sets all pixels to black except pixels above the specified luminance threshold. Used as the first step for a bloom effect.
9
9
  */
@@ -1,10 +1,10 @@
1
- import type { Nullable } from "../types";
2
- import type { Matrix } from "../Maths/math.vector";
3
- import type { Camera } from "../Cameras/camera";
4
- import type { PostProcessOptions } from "./postProcess";
5
- import { PostProcess } from "./postProcess";
6
- import type { AbstractEngine } from "../Engines/abstractEngine";
7
- import type { Scene } from "../scene";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Matrix } from "../Maths/math.vector.js";
3
+ import type { Camera } from "../Cameras/camera.js";
4
+ import type { PostProcessOptions } from "./postProcess.js";
5
+ import { PostProcess } from "./postProcess.js";
6
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
7
+ import type { Scene } from "../scene.js";
8
8
  /**
9
9
  * Applies a kernel filter to the image
10
10
  */
@@ -1,9 +1,9 @@
1
- import type { Nullable } from "../types";
2
- import type { Camera } from "../Cameras/camera";
3
- import type { PostProcessOptions } from "./postProcess";
4
- import { PostProcess } from "./postProcess";
5
- import type { AbstractEngine } from "../Engines/abstractEngine";
6
- import type { Scene } from "../scene";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Camera } from "../Cameras/camera.js";
3
+ import type { PostProcessOptions } from "./postProcess.js";
4
+ import { PostProcess } from "./postProcess.js";
5
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
6
+ import type { Scene } from "../scene.js";
7
7
  /**
8
8
  * Fxaa post process
9
9
  * @see https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/usePostProcesses#fxaa
@@ -1,9 +1,9 @@
1
- import type { Nullable } from "../types";
2
- import type { Camera } from "../Cameras/camera";
3
- import type { PostProcessOptions } from "./postProcess";
4
- import { PostProcess } from "./postProcess";
5
- import type { AbstractEngine } from "../Engines/abstractEngine";
6
- import type { Scene } from "../scene";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Camera } from "../Cameras/camera.js";
3
+ import type { PostProcessOptions } from "./postProcess.js";
4
+ import { PostProcess } from "./postProcess.js";
5
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
6
+ import type { Scene } from "../scene.js";
7
7
  /**
8
8
  * The GrainPostProcess adds noise to the image at mid luminance levels
9
9
  */
@@ -1,7 +1,7 @@
1
- import type { Nullable } from "../types";
2
- import type { Camera } from "../Cameras/camera";
3
- import type { PostProcessOptions } from "./postProcess";
4
- import { PostProcess } from "./postProcess";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Camera } from "../Cameras/camera.js";
3
+ import type { PostProcessOptions } from "./postProcess.js";
4
+ import { PostProcess } from "./postProcess.js";
5
5
  import type { AbstractEngine } from "../Engines/abstractEngine.js";
6
6
  /**
7
7
  * Extracts highlights from the image
@@ -1,21 +1,19 @@
1
- import type { Nullable } from "../types";
2
- import type { Color4 } from "../Maths/math.color";
3
- import type { Camera } from "../Cameras/camera";
4
- import type { BaseTexture } from "../Materials/Textures/baseTexture";
5
- import type { ColorCurves } from "../Materials/colorCurves";
6
- import { ImageProcessingConfiguration } from "../Materials/imageProcessingConfiguration";
7
- import type { PostProcessOptions } from "./postProcess";
8
- import { PostProcess } from "./postProcess";
9
- import type { AbstractEngine } from "../Engines/abstractEngine";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Color4 } from "../Maths/math.color.js";
3
+ import type { Camera } from "../Cameras/camera.js";
4
+ import type { BaseTexture } from "../Materials/Textures/baseTexture.js";
5
+ import type { ColorCurves } from "../Materials/colorCurves.js";
6
+ import type { ImageProcessingConfiguration } from "../Materials/imageProcessingConfiguration.js";
7
+ import type { PostProcessOptions } from "./postProcess.js";
8
+ import { PostProcess } from "./postProcess.js";
9
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
10
+ import { ThinImageProcessingPostProcess } from "./thinImageProcessingPostProcess.js";
10
11
  /**
11
12
  * ImageProcessingPostProcess
12
13
  * @see https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/usePostProcesses#imageprocessing
13
14
  */
14
15
  export declare class ImageProcessingPostProcess extends PostProcess {
15
- /**
16
- * Default configuration related to image processing available in the PBR Material.
17
- */
18
- protected _imageProcessingConfiguration: ImageProcessingConfiguration;
16
+ protected get _imageProcessingConfiguration(): ImageProcessingConfiguration;
19
17
  /**
20
18
  * Gets the image processing configuration used either in this material.
21
19
  */
@@ -26,16 +24,6 @@ export declare class ImageProcessingPostProcess extends PostProcess {
26
24
  * If sets to null, the scene one is in use.
27
25
  */
28
26
  set imageProcessingConfiguration(value: ImageProcessingConfiguration);
29
- /**
30
- * Keep track of the image processing observer to allow dispose and replace.
31
- */
32
- private _imageProcessingObserver;
33
- /**
34
- * Attaches a new image processing configuration to the PBR Material.
35
- * @param configuration
36
- * @param doNotBuild
37
- */
38
- protected _attachImageProcessingConfiguration(configuration: Nullable<ImageProcessingConfiguration>, doNotBuild?: boolean): void;
39
27
  /**
40
28
  * If the post process is supported.
41
29
  */
@@ -200,7 +188,6 @@ export declare class ImageProcessingPostProcess extends PostProcess {
200
188
  * Sets whether the dithering effect is enabled.
201
189
  */
202
190
  set ditheringEnabled(value: boolean);
203
- private _fromLinearSpace;
204
191
  /**
205
192
  * Gets whether the input of the processing is in Gamma or Linear Space.
206
193
  */
@@ -209,12 +196,8 @@ export declare class ImageProcessingPostProcess extends PostProcess {
209
196
  * Sets whether the input of the processing is in Gamma or Linear Space.
210
197
  */
211
198
  set fromLinearSpace(value: boolean);
212
- /**
213
- * Defines cache preventing GC.
214
- */
215
- private _defines;
199
+ protected _effectWrapper: ThinImageProcessingPostProcess;
216
200
  constructor(name: string, options: number | PostProcessOptions, camera?: Nullable<Camera>, samplingMode?: number, engine?: AbstractEngine, reusable?: boolean, textureType?: number, imageProcessingConfiguration?: ImageProcessingConfiguration);
217
- protected _gatherImports(useWebGPU: boolean, list: Promise<any>[]): void;
218
201
  /**
219
202
  * "ImageProcessingPostProcess"
220
203
  * @returns "ImageProcessingPostProcess"
@@ -1,19 +1,21 @@
1
1
  import { __decorate } from "../tslib.es6.js";
2
2
  import { serialize } from "../Misc/decorators.js";
3
- import { ImageProcessingConfiguration } from "../Materials/imageProcessingConfiguration.js";
4
3
  import { PostProcess } from "./postProcess.js";
5
- import { EngineStore } from "../Engines/engineStore.js";
6
4
 
5
+ import { ThinImageProcessingPostProcess } from "./thinImageProcessingPostProcess.js";
7
6
  /**
8
7
  * ImageProcessingPostProcess
9
8
  * @see https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/usePostProcesses#imageprocessing
10
9
  */
11
10
  export class ImageProcessingPostProcess extends PostProcess {
11
+ get _imageProcessingConfiguration() {
12
+ return this._effectWrapper.imageProcessingConfiguration;
13
+ }
12
14
  /**
13
15
  * Gets the image processing configuration used either in this material.
14
16
  */
15
17
  get imageProcessingConfiguration() {
16
- return this._imageProcessingConfiguration;
18
+ return this._effectWrapper.imageProcessingConfiguration;
17
19
  }
18
20
  /**
19
21
  * Sets the Default image processing configuration used either in the this material.
@@ -21,59 +23,7 @@ export class ImageProcessingPostProcess extends PostProcess {
21
23
  * If sets to null, the scene one is in use.
22
24
  */
23
25
  set imageProcessingConfiguration(value) {
24
- // We are almost sure it is applied by post process as
25
- // We are in the post process :-)
26
- value.applyByPostProcess = true;
27
- this._attachImageProcessingConfiguration(value);
28
- }
29
- /**
30
- * Attaches a new image processing configuration to the PBR Material.
31
- * @param configuration
32
- * @param doNotBuild
33
- */
34
- _attachImageProcessingConfiguration(configuration, doNotBuild = false) {
35
- if (configuration === this._imageProcessingConfiguration) {
36
- return;
37
- }
38
- // Detaches observer.
39
- if (this._imageProcessingConfiguration && this._imageProcessingObserver) {
40
- this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver);
41
- }
42
- // Pick the scene configuration if needed.
43
- if (!configuration) {
44
- let scene = null;
45
- const engine = this.getEngine();
46
- const camera = this.getCamera();
47
- if (camera) {
48
- scene = camera.getScene();
49
- }
50
- else if (engine && engine.scenes) {
51
- const scenes = engine.scenes;
52
- scene = scenes[scenes.length - 1];
53
- }
54
- else {
55
- scene = EngineStore.LastCreatedScene;
56
- }
57
- if (scene) {
58
- this._imageProcessingConfiguration = scene.imageProcessingConfiguration;
59
- }
60
- else {
61
- this._imageProcessingConfiguration = new ImageProcessingConfiguration();
62
- }
63
- }
64
- else {
65
- this._imageProcessingConfiguration = configuration;
66
- }
67
- // Attaches observer.
68
- if (this._imageProcessingConfiguration) {
69
- this._imageProcessingObserver = this._imageProcessingConfiguration.onUpdateParameters.add(() => {
70
- this._updateParameters();
71
- });
72
- }
73
- // Ensure the effect will be rebuilt.
74
- if (!doNotBuild) {
75
- this._updateParameters();
76
- }
26
+ this._effectWrapper.imageProcessingConfiguration = value;
77
27
  }
78
28
  /**
79
29
  * If the post process is supported.
@@ -326,69 +276,35 @@ export class ImageProcessingPostProcess extends PostProcess {
326
276
  * Gets whether the input of the processing is in Gamma or Linear Space.
327
277
  */
328
278
  get fromLinearSpace() {
329
- return this._fromLinearSpace;
279
+ return this._effectWrapper.fromLinearSpace;
330
280
  }
331
281
  /**
332
282
  * Sets whether the input of the processing is in Gamma or Linear Space.
333
283
  */
334
284
  set fromLinearSpace(value) {
335
- if (this._fromLinearSpace === value) {
336
- return;
337
- }
338
- this._fromLinearSpace = value;
339
- this._updateParameters();
285
+ this._effectWrapper.fromLinearSpace = value;
340
286
  }
341
287
  constructor(name, options, camera = null, samplingMode, engine, reusable, textureType = 0, imageProcessingConfiguration) {
342
- super(name, "imageProcessing", [], [], options, camera, samplingMode, engine, reusable, null, textureType, "postprocess", null, true);
343
- this._fromLinearSpace = true;
344
- /**
345
- * Defines cache preventing GC.
346
- */
347
- this._defines = {
348
- IMAGEPROCESSING: false,
349
- VIGNETTE: false,
350
- VIGNETTEBLENDMODEMULTIPLY: false,
351
- VIGNETTEBLENDMODEOPAQUE: false,
352
- TONEMAPPING: 0,
353
- CONTRAST: false,
354
- COLORCURVES: false,
355
- COLORGRADING: false,
356
- COLORGRADING3D: false,
357
- FROMLINEARSPACE: false,
358
- SAMPLER3DGREENDEPTH: false,
359
- SAMPLER3DBGRMAP: false,
360
- DITHER: false,
361
- IMAGEPROCESSINGPOSTPROCESS: false,
362
- EXPOSURE: false,
363
- SKIPFINALCOLORCLAMP: false,
288
+ const localOptions = {
289
+ size: typeof options === "number" ? options : undefined,
290
+ camera,
291
+ samplingMode,
292
+ engine,
293
+ reusable,
294
+ textureType,
295
+ imageProcessingConfiguration,
296
+ scene: camera?.getScene(),
297
+ ...options,
298
+ blockCompilation: true,
364
299
  };
365
- // Setup the configuration as forced by the constructor. This would then not force the
366
- // scene materials output in linear space and let untouched the default forward pass.
367
- if (imageProcessingConfiguration) {
368
- imageProcessingConfiguration.applyByPostProcess = true;
369
- this._attachImageProcessingConfiguration(imageProcessingConfiguration, true);
370
- // This will cause the shader to be compiled
371
- this._updateParameters();
372
- }
373
- // Setup the default processing configuration to the scene.
374
- else {
375
- this._attachImageProcessingConfiguration(null, true);
376
- this.imageProcessingConfiguration.applyByPostProcess = true;
377
- }
378
- this.onApply = (effect) => {
379
- this.imageProcessingConfiguration.bind(effect, this.aspectRatio);
300
+ super(name, ThinImageProcessingPostProcess.FragmentUrl, {
301
+ effectWrapper: typeof options === "number" || !options.effectWrapper ? new ThinImageProcessingPostProcess(name, engine, localOptions) : undefined,
302
+ ...localOptions,
303
+ });
304
+ this.onApply = () => {
305
+ this._effectWrapper.overrideAspectRatio = this.aspectRatio;
380
306
  };
381
307
  }
382
- _gatherImports(useWebGPU, list) {
383
- if (useWebGPU) {
384
- this._webGPUReady = true;
385
- list.push(import("../ShadersWGSL/imageProcessing.fragment.js"));
386
- }
387
- else {
388
- list.push(import("../Shaders/imageProcessing.fragment.js"));
389
- }
390
- super._gatherImports(useWebGPU, list);
391
- }
392
308
  /**
393
309
  * "ImageProcessingPostProcess"
394
310
  * @returns "ImageProcessingPostProcess"
@@ -400,37 +316,10 @@ export class ImageProcessingPostProcess extends PostProcess {
400
316
  * @internal
401
317
  */
402
318
  _updateParameters() {
403
- this._defines.FROMLINEARSPACE = this._fromLinearSpace;
404
- this.imageProcessingConfiguration.prepareDefines(this._defines, true);
405
- let defines = "";
406
- for (const prop in this._defines) {
407
- const value = this._defines[prop];
408
- const type = typeof value;
409
- switch (type) {
410
- case "number":
411
- case "string":
412
- defines += `#define ${prop} ${value};\n`;
413
- break;
414
- default:
415
- if (value) {
416
- defines += `#define ${prop};\n`;
417
- }
418
- break;
419
- }
420
- }
421
- const samplers = ["textureSampler"];
422
- const uniforms = ["scale"];
423
- if (ImageProcessingConfiguration) {
424
- ImageProcessingConfiguration.PrepareSamplers(samplers, this._defines);
425
- ImageProcessingConfiguration.PrepareUniforms(uniforms, this._defines);
426
- }
427
- this.updateEffect(defines, uniforms, samplers);
319
+ this._effectWrapper._updateParameters();
428
320
  }
429
321
  dispose(camera) {
430
322
  super.dispose(camera);
431
- if (this._imageProcessingConfiguration && this._imageProcessingObserver) {
432
- this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver);
433
- }
434
323
  if (this._imageProcessingConfiguration) {
435
324
  this.imageProcessingConfiguration.applyByPostProcess = false;
436
325
  }
@@ -438,5 +327,5 @@ export class ImageProcessingPostProcess extends PostProcess {
438
327
  }
439
328
  __decorate([
440
329
  serialize()
441
- ], ImageProcessingPostProcess.prototype, "_fromLinearSpace", void 0);
330
+ ], ImageProcessingPostProcess.prototype, "fromLinearSpace", null);
442
331
  //# sourceMappingURL=imageProcessingPostProcess.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"imageProcessingPostProcess.js","sourceRoot":"","sources":["../../../../dev/core/src/PostProcesses/imageProcessingPostProcess.ts"],"names":[],"mappings":";AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAO/C,OAAO,EAAE,4BAA4B,EAAE,MAAM,2CAA2C,CAAC;AAEzF,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAEjD;;;GAGG;AACH,MAAM,OAAO,0BAA2B,SAAQ,WAAW;IAMvD;;OAEG;IACH,IAAW,4BAA4B;QACnC,OAAO,IAAI,CAAC,6BAA6B,CAAC;IAC9C,CAAC;IAED;;;;OAIG;IACH,IAAW,4BAA4B,CAAC,KAAmC;QACvE,sDAAsD;QACtD,iCAAiC;QACjC,KAAK,CAAC,kBAAkB,GAAG,IAAI,CAAC;QAChC,IAAI,CAAC,mCAAmC,CAAC,KAAK,CAAC,CAAC;IACpD,CAAC;IAOD;;;;OAIG;IACO,mCAAmC,CAAC,aAAqD,EAAE,UAAU,GAAG,KAAK;QACnH,IAAI,aAAa,KAAK,IAAI,CAAC,6BAA6B,EAAE,CAAC;YACvD,OAAO;QACX,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eAAe,CAAC,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC;QAC1E,CAAC;QAED,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;IACnD,CAAC;IAEe,OAAO,CAAC,MAAe;QACnC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAEtB,IAAI,IAAI,CAAC,6BAA6B,IAAI,IAAI,CAAC,wBAAwB,EAAE,CAAC;YACtE,IAAI,CAAC,6BAA6B,CAAC,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,wBAAwB,CAAC,CAAC;QAChG,CAAC;QAED,IAAI,IAAI,CAAC,6BAA6B,EAAE,CAAC;YACrC,IAAI,CAAC,4BAA4B,CAAC,kBAAkB,GAAG,KAAK,CAAC;QACjE,CAAC;IACL,CAAC;CACJ;AAzIW;IADP,SAAS,EAAE;oEACoB","sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\r\nimport type { Nullable } from \"../types\";\r\nimport type { Observer } from \"../Misc/observable\";\r\nimport { serialize } from \"../Misc/decorators\";\r\nimport type { Color4 } from \"../Maths/math.color\";\r\nimport type { Camera } from \"../Cameras/camera\";\r\nimport type { BaseTexture } from \"../Materials/Textures/baseTexture\";\r\nimport type { Effect } from \"../Materials/effect\";\r\nimport type { ColorCurves } from \"../Materials/colorCurves\";\r\nimport type { IImageProcessingConfigurationDefines } from \"../Materials/imageProcessingConfiguration.defines\";\r\nimport { ImageProcessingConfiguration } from \"../Materials/imageProcessingConfiguration\";\r\nimport type { PostProcessOptions } from \"./postProcess\";\r\nimport { PostProcess } from \"./postProcess\";\r\nimport type { AbstractEngine } from \"../Engines/abstractEngine\";\r\nimport { EngineStore } from \"../Engines/engineStore\";\r\nimport { Constants } from \"../Engines/constants\";\r\n\r\n/**\r\n * ImageProcessingPostProcess\r\n * @see https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/usePostProcesses#imageprocessing\r\n */\r\nexport class ImageProcessingPostProcess extends PostProcess {\r\n /**\r\n * Default configuration related to image processing available in the PBR Material.\r\n */\r\n protected _imageProcessingConfiguration: ImageProcessingConfiguration;\r\n\r\n /**\r\n * Gets the image processing configuration used either in this material.\r\n */\r\n public get imageProcessingConfiguration(): ImageProcessingConfiguration {\r\n return this._imageProcessingConfiguration;\r\n }\r\n\r\n /**\r\n * Sets the Default image processing configuration used either in the this material.\r\n *\r\n * If sets to null, the scene one is in use.\r\n */\r\n public set imageProcessingConfiguration(value: ImageProcessingConfiguration) {\r\n // We are almost sure it is applied by post process as\r\n // We are in the post process :-)\r\n value.applyByPostProcess = true;\r\n this._attachImageProcessingConfiguration(value);\r\n }\r\n\r\n /**\r\n * Keep track of the image processing observer to allow dispose and replace.\r\n */\r\n private _imageProcessingObserver: Nullable<Observer<ImageProcessingConfiguration>>;\r\n\r\n /**\r\n * Attaches a new image processing configuration to the PBR Material.\r\n * @param configuration\r\n * @param doNotBuild\r\n */\r\n protected _attachImageProcessingConfiguration(configuration: Nullable<ImageProcessingConfiguration>, doNotBuild = false): void {\r\n if (configuration === this._imageProcessingConfiguration) {\r\n return;\r\n }\r\n\r\n // Detaches observer.\r\n if (this._imageProcessingConfiguration && this._imageProcessingObserver) {\r\n this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver);\r\n }\r\n\r\n // Pick the scene configuration if needed.\r\n if (!configuration) {\r\n let scene = null;\r\n const engine = this.getEngine();\r\n const camera = this.getCamera();\r\n\r\n if (camera) {\r\n scene = camera.getScene();\r\n } else if (engine && engine.scenes) {\r\n const scenes = engine.scenes;\r\n scene = scenes[scenes.length - 1];\r\n } else {\r\n scene = EngineStore.LastCreatedScene;\r\n }\r\n\r\n if (scene) {\r\n this._imageProcessingConfiguration = scene.imageProcessingConfiguration;\r\n } else {\r\n this._imageProcessingConfiguration = new ImageProcessingConfiguration();\r\n }\r\n } else {\r\n this._imageProcessingConfiguration = configuration;\r\n }\r\n\r\n // Attaches observer.\r\n if (this._imageProcessingConfiguration) {\r\n this._imageProcessingObserver = this._imageProcessingConfiguration.onUpdateParameters.add(() => {\r\n this._updateParameters();\r\n });\r\n }\r\n\r\n // Ensure the effect will be rebuilt.\r\n if (!doNotBuild) {\r\n this._updateParameters();\r\n }\r\n }\r\n\r\n /**\r\n * If the post process is supported.\r\n */\r\n public override get isSupported(): boolean {\r\n const effect = this.getEffect();\r\n return !effect || effect.isSupported;\r\n }\r\n\r\n /**\r\n * Gets Color curves setup used in the effect if colorCurvesEnabled is set to true .\r\n */\r\n public get colorCurves(): Nullable<ColorCurves> {\r\n return this.imageProcessingConfiguration.colorCurves;\r\n }\r\n /**\r\n * Sets Color curves setup used in the effect if colorCurvesEnabled is set to true .\r\n */\r\n public set colorCurves(value: Nullable<ColorCurves>) {\r\n this.imageProcessingConfiguration.colorCurves = value;\r\n }\r\n\r\n /**\r\n * Gets whether the color curves effect is enabled.\r\n */\r\n public get colorCurvesEnabled(): boolean {\r\n return this.imageProcessingConfiguration.colorCurvesEnabled;\r\n }\r\n /**\r\n * Sets whether the color curves effect is enabled.\r\n */\r\n public set colorCurvesEnabled(value: boolean) {\r\n this.imageProcessingConfiguration.colorCurvesEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets Color grading LUT texture used in the effect if colorGradingEnabled is set to true.\r\n */\r\n public get colorGradingTexture(): Nullable<BaseTexture> {\r\n return this.imageProcessingConfiguration.colorGradingTexture;\r\n }\r\n /**\r\n * Sets Color grading LUT texture used in the effect if colorGradingEnabled is set to true.\r\n */\r\n public set colorGradingTexture(value: Nullable<BaseTexture>) {\r\n this.imageProcessingConfiguration.colorGradingTexture = value;\r\n }\r\n\r\n /**\r\n * Gets whether the color grading effect is enabled.\r\n */\r\n public get colorGradingEnabled(): boolean {\r\n return this.imageProcessingConfiguration.colorGradingEnabled;\r\n }\r\n /**\r\n * Gets whether the color grading effect is enabled.\r\n */\r\n public set colorGradingEnabled(value: boolean) {\r\n this.imageProcessingConfiguration.colorGradingEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets exposure used in the effect.\r\n */\r\n public get exposure(): number {\r\n return this.imageProcessingConfiguration.exposure;\r\n }\r\n /**\r\n * Sets exposure used in the effect.\r\n */\r\n public set exposure(value: number) {\r\n this.imageProcessingConfiguration.exposure = value;\r\n }\r\n\r\n /**\r\n * Gets whether tonemapping is enabled or not.\r\n */\r\n public get toneMappingEnabled(): boolean {\r\n return this._imageProcessingConfiguration.toneMappingEnabled;\r\n }\r\n /**\r\n * Sets whether tonemapping is enabled or not\r\n */\r\n public set toneMappingEnabled(value: boolean) {\r\n this._imageProcessingConfiguration.toneMappingEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets the type of tone mapping effect.\r\n */\r\n public get toneMappingType(): number {\r\n return this._imageProcessingConfiguration.toneMappingType;\r\n }\r\n /**\r\n * Sets the type of tone mapping effect.\r\n */\r\n public set toneMappingType(value: number) {\r\n this._imageProcessingConfiguration.toneMappingType = value;\r\n }\r\n\r\n /**\r\n * Gets contrast used in the effect.\r\n */\r\n public get contrast(): number {\r\n return this.imageProcessingConfiguration.contrast;\r\n }\r\n /**\r\n * Sets contrast used in the effect.\r\n */\r\n public set contrast(value: number) {\r\n this.imageProcessingConfiguration.contrast = value;\r\n }\r\n\r\n /**\r\n * Gets Vignette stretch size.\r\n */\r\n public get vignetteStretch(): number {\r\n return this.imageProcessingConfiguration.vignetteStretch;\r\n }\r\n /**\r\n * Sets Vignette stretch size.\r\n */\r\n public set vignetteStretch(value: number) {\r\n this.imageProcessingConfiguration.vignetteStretch = value;\r\n }\r\n\r\n /**\r\n * Gets Vignette center X Offset.\r\n * @deprecated use vignetteCenterX instead\r\n */\r\n public get vignetteCentreX(): number {\r\n return this.imageProcessingConfiguration.vignetteCenterX;\r\n }\r\n /**\r\n * Sets Vignette center X Offset.\r\n * @deprecated use vignetteCenterX instead\r\n */\r\n public set vignetteCentreX(value: number) {\r\n this.imageProcessingConfiguration.vignetteCenterX = value;\r\n }\r\n\r\n /**\r\n * Gets Vignette center Y Offset.\r\n * @deprecated use vignetteCenterY instead\r\n */\r\n public get vignetteCentreY(): number {\r\n return this.imageProcessingConfiguration.vignetteCenterY;\r\n }\r\n /**\r\n * Sets Vignette center Y Offset.\r\n * @deprecated use vignetteCenterY instead\r\n */\r\n public set vignetteCentreY(value: number) {\r\n this.imageProcessingConfiguration.vignetteCenterY = value;\r\n }\r\n\r\n /**\r\n * Vignette center Y Offset.\r\n */\r\n public get vignetteCenterY(): number {\r\n return this.imageProcessingConfiguration.vignetteCenterY;\r\n }\r\n public set vignetteCenterY(value: number) {\r\n this.imageProcessingConfiguration.vignetteCenterY = value;\r\n }\r\n\r\n /**\r\n * Vignette center X Offset.\r\n */\r\n public get vignetteCenterX(): number {\r\n return this.imageProcessingConfiguration.vignetteCenterX;\r\n }\r\n public set vignetteCenterX(value: number) {\r\n this.imageProcessingConfiguration.vignetteCenterX = value;\r\n }\r\n\r\n /**\r\n * Gets Vignette weight or intensity of the vignette effect.\r\n */\r\n public get vignetteWeight(): number {\r\n return this.imageProcessingConfiguration.vignetteWeight;\r\n }\r\n /**\r\n * Sets Vignette weight or intensity of the vignette effect.\r\n */\r\n public set vignetteWeight(value: number) {\r\n this.imageProcessingConfiguration.vignetteWeight = value;\r\n }\r\n\r\n /**\r\n * Gets Color of the vignette applied on the screen through the chosen blend mode (vignetteBlendMode)\r\n * if vignetteEnabled is set to true.\r\n */\r\n public get vignetteColor(): Color4 {\r\n return this.imageProcessingConfiguration.vignetteColor;\r\n }\r\n /**\r\n * Sets Color of the vignette applied on the screen through the chosen blend mode (vignetteBlendMode)\r\n * if vignetteEnabled is set to true.\r\n */\r\n public set vignetteColor(value: Color4) {\r\n this.imageProcessingConfiguration.vignetteColor = value;\r\n }\r\n\r\n /**\r\n * Gets Camera field of view used by the Vignette effect.\r\n */\r\n public get vignetteCameraFov(): number {\r\n return this.imageProcessingConfiguration.vignetteCameraFov;\r\n }\r\n /**\r\n * Sets Camera field of view used by the Vignette effect.\r\n */\r\n public set vignetteCameraFov(value: number) {\r\n this.imageProcessingConfiguration.vignetteCameraFov = value;\r\n }\r\n\r\n /**\r\n * Gets the vignette blend mode allowing different kind of effect.\r\n */\r\n public get vignetteBlendMode(): number {\r\n return this.imageProcessingConfiguration.vignetteBlendMode;\r\n }\r\n /**\r\n * Sets the vignette blend mode allowing different kind of effect.\r\n */\r\n public set vignetteBlendMode(value: number) {\r\n this.imageProcessingConfiguration.vignetteBlendMode = value;\r\n }\r\n\r\n /**\r\n * Gets whether the vignette effect is enabled.\r\n */\r\n public get vignetteEnabled(): boolean {\r\n return this.imageProcessingConfiguration.vignetteEnabled;\r\n }\r\n /**\r\n * Sets whether the vignette effect is enabled.\r\n */\r\n public set vignetteEnabled(value: boolean) {\r\n this.imageProcessingConfiguration.vignetteEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets intensity of the dithering effect.\r\n */\r\n public get ditheringIntensity(): number {\r\n return this.imageProcessingConfiguration.ditheringIntensity;\r\n }\r\n /**\r\n * Sets intensity of the dithering effect.\r\n */\r\n public set ditheringIntensity(value: number) {\r\n this.imageProcessingConfiguration.ditheringIntensity = value;\r\n }\r\n\r\n /**\r\n * Gets whether the dithering effect is enabled.\r\n */\r\n public get ditheringEnabled(): boolean {\r\n return this.imageProcessingConfiguration.ditheringEnabled;\r\n }\r\n /**\r\n * Sets whether the dithering effect is enabled.\r\n */\r\n public set ditheringEnabled(value: boolean) {\r\n this.imageProcessingConfiguration.ditheringEnabled = value;\r\n }\r\n\r\n @serialize()\r\n private _fromLinearSpace = true;\r\n /**\r\n * Gets whether the input of the processing is in Gamma or Linear Space.\r\n */\r\n public get fromLinearSpace(): boolean {\r\n return this._fromLinearSpace;\r\n }\r\n /**\r\n * Sets whether the input of the processing is in Gamma or Linear Space.\r\n */\r\n public set fromLinearSpace(value: boolean) {\r\n if (this._fromLinearSpace === value) {\r\n return;\r\n }\r\n\r\n this._fromLinearSpace = value;\r\n this._updateParameters();\r\n }\r\n\r\n /**\r\n * Defines cache preventing GC.\r\n */\r\n private _defines: IImageProcessingConfigurationDefines & { FROMLINEARSPACE: boolean } = {\r\n IMAGEPROCESSING: false,\r\n VIGNETTE: false,\r\n VIGNETTEBLENDMODEMULTIPLY: false,\r\n VIGNETTEBLENDMODEOPAQUE: false,\r\n TONEMAPPING: 0,\r\n CONTRAST: false,\r\n COLORCURVES: false,\r\n COLORGRADING: false,\r\n COLORGRADING3D: false,\r\n FROMLINEARSPACE: false,\r\n SAMPLER3DGREENDEPTH: false,\r\n SAMPLER3DBGRMAP: false,\r\n DITHER: false,\r\n IMAGEPROCESSINGPOSTPROCESS: false,\r\n EXPOSURE: false,\r\n SKIPFINALCOLORCLAMP: false,\r\n };\r\n\r\n constructor(\r\n name: string,\r\n options: number | PostProcessOptions,\r\n camera: Nullable<Camera> = null,\r\n samplingMode?: number,\r\n engine?: AbstractEngine,\r\n reusable?: boolean,\r\n textureType: number = Constants.TEXTURETYPE_UNSIGNED_BYTE,\r\n imageProcessingConfiguration?: ImageProcessingConfiguration\r\n ) {\r\n super(name, \"imageProcessing\", [], [], options, camera, samplingMode, engine, reusable, null, textureType, \"postprocess\", null, true);\r\n\r\n // Setup the configuration as forced by the constructor. This would then not force the\r\n // scene materials output in linear space and let untouched the default forward pass.\r\n if (imageProcessingConfiguration) {\r\n imageProcessingConfiguration.applyByPostProcess = true;\r\n this._attachImageProcessingConfiguration(imageProcessingConfiguration, true);\r\n // This will cause the shader to be compiled\r\n this._updateParameters();\r\n }\r\n // Setup the default processing configuration to the scene.\r\n else {\r\n this._attachImageProcessingConfiguration(null, true);\r\n this.imageProcessingConfiguration.applyByPostProcess = true;\r\n }\r\n\r\n this.onApply = (effect: Effect) => {\r\n this.imageProcessingConfiguration.bind(effect, this.aspectRatio);\r\n };\r\n }\r\n\r\n protected override _gatherImports(useWebGPU: boolean, list: Promise<any>[]) {\r\n if (useWebGPU) {\r\n this._webGPUReady = true;\r\n list.push(import(\"../ShadersWGSL/imageProcessing.fragment\"));\r\n } else {\r\n list.push(import(\"../Shaders/imageProcessing.fragment\"));\r\n }\r\n\r\n super._gatherImports(useWebGPU, list);\r\n }\r\n\r\n /**\r\n * \"ImageProcessingPostProcess\"\r\n * @returns \"ImageProcessingPostProcess\"\r\n */\r\n public override getClassName(): string {\r\n return \"ImageProcessingPostProcess\";\r\n }\r\n\r\n /**\r\n * @internal\r\n */\r\n public _updateParameters(): void {\r\n this._defines.FROMLINEARSPACE = this._fromLinearSpace;\r\n this.imageProcessingConfiguration.prepareDefines(this._defines, true);\r\n let defines = \"\";\r\n for (const prop in this._defines) {\r\n const value = (<any>this._defines)[prop];\r\n const type = typeof value;\r\n\r\n switch (type) {\r\n case \"number\":\r\n case \"string\":\r\n defines += `#define ${prop} ${value};\\n`;\r\n break;\r\n default:\r\n if (value) {\r\n defines += `#define ${prop};\\n`;\r\n }\r\n break;\r\n }\r\n }\r\n\r\n const samplers = [\"textureSampler\"];\r\n const uniforms = [\"scale\"];\r\n\r\n if (ImageProcessingConfiguration) {\r\n ImageProcessingConfiguration.PrepareSamplers(samplers, this._defines);\r\n ImageProcessingConfiguration.PrepareUniforms(uniforms, this._defines);\r\n }\r\n\r\n this.updateEffect(defines, uniforms, samplers);\r\n }\r\n\r\n public override dispose(camera?: Camera): void {\r\n super.dispose(camera);\r\n\r\n if (this._imageProcessingConfiguration && this._imageProcessingObserver) {\r\n this._imageProcessingConfiguration.onUpdateParameters.remove(this._imageProcessingObserver);\r\n }\r\n\r\n if (this._imageProcessingConfiguration) {\r\n this.imageProcessingConfiguration.applyByPostProcess = false;\r\n }\r\n }\r\n}\r\n"]}
1
+ {"version":3,"file":"imageProcessingPostProcess.js","sourceRoot":"","sources":["../../../../dev/core/src/PostProcesses/imageProcessingPostProcess.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAO/C,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE5C,OAAO,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AAC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port { serialize } from \"../Misc/decorators\";\r\nimport type { Color4 } from \"../Maths/math.color\";\r\nimport type { Camera } from \"../Cameras/camera\";\r\nimport type { BaseTexture } from \"../Materials/Textures/baseTexture\";\r\nimport type { ColorCurves } from \"../Materials/colorCurves\";\r\nimport type { ImageProcessingConfiguration } from \"../Materials/imageProcessingConfiguration\";\r\nimport type { PostProcessOptions } from \"./postProcess\";\r\nimport { PostProcess } from \"./postProcess\";\r\nimport type { AbstractEngine } from \"../Engines/abstractEngine\";\r\nimport { Constants } from \"../Engines/constants\";\r\nimport { ThinImageProcessingPostProcess } from \"./thinImageProcessingPostProcess\";\r\n\r\n/**\r\n * ImageProcessingPostProcess\r\n * @see https://doc.babylonjs.com/features/featuresDeepDive/postProcesses/usePostProcesses#imageprocessing\r\n */\r\nexport class ImageProcessingPostProcess extends PostProcess {\r\n protected get _imageProcessingConfiguration(): ImageProcessingConfiguration {\r\n return this._effectWrapper.imageProcessingConfiguration;\r\n }\r\n\r\n /**\r\n * Gets the image processing configuration used either in this material.\r\n */\r\n public get imageProcessingConfiguration(): ImageProcessingConfiguration {\r\n return this._effectWrapper.imageProcessingConfiguration;\r\n }\r\n\r\n /**\r\n * Sets the Default image processing configuration used either in the this material.\r\n *\r\n * If sets to null, the scene one is in use.\r\n */\r\n public set imageProcessingConfiguration(value: ImageProcessingConfiguration) {\r\n this._effectWrapper.imageProcessingConfiguration = value;\r\n }\r\n\r\n /**\r\n * If the post process is supported.\r\n */\r\n public override get isSupported(): boolean {\r\n const effect = this.getEffect();\r\n return !effect || effect.isSupported;\r\n }\r\n\r\n /**\r\n * Gets Color curves setup used in the effect if colorCurvesEnabled is set to true .\r\n */\r\n public get colorCurves(): Nullable<ColorCurves> {\r\n return this.imageProcessingConfiguration.colorCurves;\r\n }\r\n /**\r\n * Sets Color curves setup used in the effect if colorCurvesEnabled is set to true .\r\n */\r\n public set colorCurves(value: Nullable<ColorCurves>) {\r\n this.imageProcessingConfiguration.colorCurves = value;\r\n }\r\n\r\n /**\r\n * Gets whether the color curves effect is enabled.\r\n */\r\n public get colorCurvesEnabled(): boolean {\r\n return this.imageProcessingConfiguration.colorCurvesEnabled;\r\n }\r\n /**\r\n * Sets whether the color curves effect is enabled.\r\n */\r\n public set colorCurvesEnabled(value: boolean) {\r\n this.imageProcessingConfiguration.colorCurvesEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets Color grading LUT texture used in the effect if colorGradingEnabled is set to true.\r\n */\r\n public get colorGradingTexture(): Nullable<BaseTexture> {\r\n return this.imageProcessingConfiguration.colorGradingTexture;\r\n }\r\n /**\r\n * Sets Color grading LUT texture used in the effect if colorGradingEnabled is set to true.\r\n */\r\n public set colorGradingTexture(value: Nullable<BaseTexture>) {\r\n this.imageProcessingConfiguration.colorGradingTexture = value;\r\n }\r\n\r\n /**\r\n * Gets whether the color grading effect is enabled.\r\n */\r\n public get colorGradingEnabled(): boolean {\r\n return this.imageProcessingConfiguration.colorGradingEnabled;\r\n }\r\n /**\r\n * Gets whether the color grading effect is enabled.\r\n */\r\n public set colorGradingEnabled(value: boolean) {\r\n this.imageProcessingConfiguration.colorGradingEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets exposure used in the effect.\r\n */\r\n public get exposure(): number {\r\n return this.imageProcessingConfiguration.exposure;\r\n }\r\n /**\r\n * Sets exposure used in the effect.\r\n */\r\n public set exposure(value: number) {\r\n this.imageProcessingConfiguration.exposure = value;\r\n }\r\n\r\n /**\r\n * Gets whether tonemapping is enabled or not.\r\n */\r\n public get toneMappingEnabled(): boolean {\r\n return this._imageProcessingConfiguration.toneMappingEnabled;\r\n }\r\n /**\r\n * Sets whether tonemapping is enabled or not\r\n */\r\n public set toneMappingEnabled(value: boolean) {\r\n this._imageProcessingConfiguration.toneMappingEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets the type of tone mapping effect.\r\n */\r\n public get toneMappingType(): number {\r\n return this._imageProcessingConfiguration.toneMappingType;\r\n }\r\n /**\r\n * Sets the type of tone mapping effect.\r\n */\r\n public set toneMappingType(value: number) {\r\n this._imageProcessingConfiguration.toneMappingType = value;\r\n }\r\n\r\n /**\r\n * Gets contrast used in the effect.\r\n */\r\n public get contrast(): number {\r\n return this.imageProcessingConfiguration.contrast;\r\n }\r\n /**\r\n * Sets contrast used in the effect.\r\n */\r\n public set contrast(value: number) {\r\n this.imageProcessingConfiguration.contrast = value;\r\n }\r\n\r\n /**\r\n * Gets Vignette stretch size.\r\n */\r\n public get vignetteStretch(): number {\r\n return this.imageProcessingConfiguration.vignetteStretch;\r\n }\r\n /**\r\n * Sets Vignette stretch size.\r\n */\r\n public set vignetteStretch(value: number) {\r\n this.imageProcessingConfiguration.vignetteStretch = value;\r\n }\r\n\r\n /**\r\n * Gets Vignette center X Offset.\r\n * @deprecated use vignetteCenterX instead\r\n */\r\n public get vignetteCentreX(): number {\r\n return this.imageProcessingConfiguration.vignetteCenterX;\r\n }\r\n /**\r\n * Sets Vignette center X Offset.\r\n * @deprecated use vignetteCenterX instead\r\n */\r\n public set vignetteCentreX(value: number) {\r\n this.imageProcessingConfiguration.vignetteCenterX = value;\r\n }\r\n\r\n /**\r\n * Gets Vignette center Y Offset.\r\n * @deprecated use vignetteCenterY instead\r\n */\r\n public get vignetteCentreY(): number {\r\n return this.imageProcessingConfiguration.vignetteCenterY;\r\n }\r\n /**\r\n * Sets Vignette center Y Offset.\r\n * @deprecated use vignetteCenterY instead\r\n */\r\n public set vignetteCentreY(value: number) {\r\n this.imageProcessingConfiguration.vignetteCenterY = value;\r\n }\r\n\r\n /**\r\n * Vignette center Y Offset.\r\n */\r\n public get vignetteCenterY(): number {\r\n return this.imageProcessingConfiguration.vignetteCenterY;\r\n }\r\n public set vignetteCenterY(value: number) {\r\n this.imageProcessingConfiguration.vignetteCenterY = value;\r\n }\r\n\r\n /**\r\n * Vignette center X Offset.\r\n */\r\n public get vignetteCenterX(): number {\r\n return this.imageProcessingConfiguration.vignetteCenterX;\r\n }\r\n public set vignetteCenterX(value: number) {\r\n this.imageProcessingConfiguration.vignetteCenterX = value;\r\n }\r\n\r\n /**\r\n * Gets Vignette weight or intensity of the vignette effect.\r\n */\r\n public get vignetteWeight(): number {\r\n return this.imageProcessingConfiguration.vignetteWeight;\r\n }\r\n /**\r\n * Sets Vignette weight or intensity of the vignette effect.\r\n */\r\n public set vignetteWeight(value: number) {\r\n this.imageProcessingConfiguration.vignetteWeight = value;\r\n }\r\n\r\n /**\r\n * Gets Color of the vignette applied on the screen through the chosen blend mode (vignetteBlendMode)\r\n * if vignetteEnabled is set to true.\r\n */\r\n public get vignetteColor(): Color4 {\r\n return this.imageProcessingConfiguration.vignetteColor;\r\n }\r\n /**\r\n * Sets Color of the vignette applied on the screen through the chosen blend mode (vignetteBlendMode)\r\n * if vignetteEnabled is set to true.\r\n */\r\n public set vignetteColor(value: Color4) {\r\n this.imageProcessingConfiguration.vignetteColor = value;\r\n }\r\n\r\n /**\r\n * Gets Camera field of view used by the Vignette effect.\r\n */\r\n public get vignetteCameraFov(): number {\r\n return this.imageProcessingConfiguration.vignetteCameraFov;\r\n }\r\n /**\r\n * Sets Camera field of view used by the Vignette effect.\r\n */\r\n public set vignetteCameraFov(value: number) {\r\n this.imageProcessingConfiguration.vignetteCameraFov = value;\r\n }\r\n\r\n /**\r\n * Gets the vignette blend mode allowing different kind of effect.\r\n */\r\n public get vignetteBlendMode(): number {\r\n return this.imageProcessingConfiguration.vignetteBlendMode;\r\n }\r\n /**\r\n * Sets the vignette blend mode allowing different kind of effect.\r\n */\r\n public set vignetteBlendMode(value: number) {\r\n this.imageProcessingConfiguration.vignetteBlendMode = value;\r\n }\r\n\r\n /**\r\n * Gets whether the vignette effect is enabled.\r\n */\r\n public get vignetteEnabled(): boolean {\r\n return this.imageProcessingConfiguration.vignetteEnabled;\r\n }\r\n /**\r\n * Sets whether the vignette effect is enabled.\r\n */\r\n public set vignetteEnabled(value: boolean) {\r\n this.imageProcessingConfiguration.vignetteEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets intensity of the dithering effect.\r\n */\r\n public get ditheringIntensity(): number {\r\n return this.imageProcessingConfiguration.ditheringIntensity;\r\n }\r\n /**\r\n * Sets intensity of the dithering effect.\r\n */\r\n public set ditheringIntensity(value: number) {\r\n this.imageProcessingConfiguration.ditheringIntensity = value;\r\n }\r\n\r\n /**\r\n * Gets whether the dithering effect is enabled.\r\n */\r\n public get ditheringEnabled(): boolean {\r\n return this.imageProcessingConfiguration.ditheringEnabled;\r\n }\r\n /**\r\n * Sets whether the dithering effect is enabled.\r\n */\r\n public set ditheringEnabled(value: boolean) {\r\n this.imageProcessingConfiguration.ditheringEnabled = value;\r\n }\r\n\r\n /**\r\n * Gets whether the input of the processing is in Gamma or Linear Space.\r\n */\r\n @serialize()\r\n public get fromLinearSpace(): boolean {\r\n return this._effectWrapper.fromLinearSpace;\r\n }\r\n /**\r\n * Sets whether the input of the processing is in Gamma or Linear Space.\r\n */\r\n public set fromLinearSpace(value: boolean) {\r\n this._effectWrapper.fromLinearSpace = value;\r\n }\r\n\r\n protected override _effectWrapper: ThinImageProcessingPostProcess;\r\n\r\n constructor(\r\n name: string,\r\n options: number | PostProcessOptions,\r\n camera: Nullable<Camera> = null,\r\n samplingMode?: number,\r\n engine?: AbstractEngine,\r\n reusable?: boolean,\r\n textureType: number = Constants.TEXTURETYPE_UNSIGNED_BYTE,\r\n imageProcessingConfiguration?: ImageProcessingConfiguration\r\n ) {\r\n const localOptions = {\r\n size: typeof options === \"number\" ? options : undefined,\r\n camera,\r\n samplingMode,\r\n engine,\r\n reusable,\r\n textureType,\r\n imageProcessingConfiguration,\r\n scene: camera?.getScene(),\r\n ...(options as PostProcessOptions),\r\n blockCompilation: true,\r\n };\r\n\r\n super(name, ThinImageProcessingPostProcess.FragmentUrl, {\r\n effectWrapper: typeof options === \"number\" || !options.effectWrapper ? new ThinImageProcessingPostProcess(name, engine, localOptions) : undefined,\r\n ...localOptions,\r\n });\r\n\r\n this.onApply = () => {\r\n this._effectWrapper.overrideAspectRatio = this.aspectRatio;\r\n };\r\n }\r\n\r\n /**\r\n * \"ImageProcessingPostProcess\"\r\n * @returns \"ImageProcessingPostProcess\"\r\n */\r\n public override getClassName(): string {\r\n return \"ImageProcessingPostProcess\";\r\n }\r\n\r\n /**\r\n * @internal\r\n */\r\n public _updateParameters(): void {\r\n this._effectWrapper._updateParameters();\r\n }\r\n public override dispose(camera?: Camera): void {\r\n super.dispose(camera);\r\n\r\n if (this._imageProcessingConfiguration) {\r\n this.imageProcessingConfiguration.applyByPostProcess = false;\r\n }\r\n }\r\n}\r\n"]}