@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,13 +1,13 @@
1
- import type { NonNullableFields, Nullable } from "../types";
2
- import type { AbstractEngine } from "../Engines/abstractEngine";
3
- import { Viewport } from "../Maths/math.viewport";
4
- import { Observable } from "../Misc/observable";
5
- import type { IShaderPath } from "./effect";
6
- import { Effect } from "./effect";
7
- import { DrawWrapper } from "./drawWrapper";
8
- import type { IRenderTargetTexture, RenderTargetWrapper } from "../Engines/renderTargetWrapper";
9
- import { ShaderLanguage } from "./shaderLanguage";
10
- import "../Shaders/postprocess.vertex";
1
+ import type { NonNullableFields, Nullable } from "../types.js";
2
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
3
+ import { Viewport } from "../Maths/math.viewport.js";
4
+ import { Observable } from "../Misc/observable.js";
5
+ import type { IShaderPath } from "./effect.js";
6
+ import { Effect } from "./effect.js";
7
+ import { DrawWrapper } from "./drawWrapper.js";
8
+ import type { IRenderTargetTexture, RenderTargetWrapper } from "../Engines/renderTargetWrapper.js";
9
+ import { ShaderLanguage } from "./shaderLanguage.js";
10
+ import "../Shaders/postprocess.vertex.js";
11
11
  /**
12
12
  * Effect Render Options
13
13
  */
@@ -1,5 +1,5 @@
1
- import type { DeepImmutable } from "../types";
2
- import { Color3 } from "../Maths/math.color";
1
+ import type { DeepImmutable } from "../types.js";
2
+ import { Color3 } from "../Maths/math.color.js";
3
3
  /**
4
4
  * Options to be used when creating a FresnelParameters.
5
5
  */
@@ -1,4 +1,4 @@
1
- import type { Effect } from "./effect";
1
+ import type { Effect } from "./effect.js";
2
2
  /**
3
3
  * Interface used to define common properties for effect fallbacks
4
4
  */
@@ -1,10 +1,10 @@
1
- import { Observable } from "../Misc/observable";
2
- import type { Nullable } from "../types";
3
- import { Color4 } from "../Maths/math.color";
4
- import { ColorCurves } from "../Materials/colorCurves";
5
- import type { BaseTexture } from "../Materials/Textures/baseTexture";
6
- import type { Effect } from "../Materials/effect";
7
- import type { IImageProcessingConfigurationDefines } from "./imageProcessingConfiguration.defines";
1
+ import { Observable } from "../Misc/observable.js";
2
+ import type { Nullable } from "../types.js";
3
+ import { Color4 } from "../Maths/math.color.js";
4
+ import { ColorCurves } from "../Materials/colorCurves.js";
5
+ import type { BaseTexture } from "../Materials/Textures/baseTexture.js";
6
+ import type { Effect } from "../Materials/effect.js";
7
+ import type { IImageProcessingConfigurationDefines } from "./imageProcessingConfiguration.defines.js";
8
8
  /**
9
9
  * This groups together the common properties used for image processing either in direct forward pass
10
10
  * or through post processing effect depending on the use of the image processing pipeline in your scene
@@ -217,6 +217,14 @@ export declare class ImageProcessingConfiguration {
217
217
  * Sets whether the image processing is enabled or not.
218
218
  */
219
219
  set isEnabled(value: boolean);
220
+ /**
221
+ * Width of the output texture used in the post process. If not provided, uses the width of the screen.
222
+ */
223
+ outputTextureWidth: number;
224
+ /**
225
+ * Height of the output texture used in the post process. If not provided, uses the height of the screen.
226
+ */
227
+ outputTextureHeight: number;
220
228
  /**
221
229
  * An event triggered when the configuration changes and requires Shader to Update some parameters.
222
230
  */
@@ -1,4 +1,4 @@
1
- import { MaterialDefines } from "./materialDefines";
1
+ import { MaterialDefines } from "./materialDefines.js";
2
2
  /**
3
3
  * Interface to follow in your material defines to integrate easily the
4
4
  * Image processing functions.
@@ -1,4 +1,4 @@
1
- import type { IImageProcessingConfigurationDefines } from "./imageProcessingConfiguration.defines";
1
+ import type { IImageProcessingConfigurationDefines } from "./imageProcessingConfiguration.defines.js";
2
2
  /**
3
3
  * Prepare the list of uniforms associated with the Image Processing effects.
4
4
  * @param uniforms The list of uniforms used in the effect
@@ -62,6 +62,14 @@ export class ImageProcessingConfiguration {
62
62
  /** @internal */
63
63
  this._applyByPostProcess = false;
64
64
  this._isEnabled = true;
65
+ /**
66
+ * Width of the output texture used in the post process. If not provided, uses the width of the screen.
67
+ */
68
+ this.outputTextureWidth = 0;
69
+ /**
70
+ * Height of the output texture used in the post process. If not provided, uses the height of the screen.
71
+ */
72
+ this.outputTextureHeight = 0;
65
73
  /**
66
74
  * An event triggered when the configuration changes and requires Shader to Update some parameters.
67
75
  */
@@ -437,8 +445,8 @@ export class ImageProcessingConfiguration {
437
445
  }
438
446
  // Vignette and dither handled together due to common uniform.
439
447
  if (this._vignetteEnabled || this._ditheringEnabled) {
440
- const inverseWidth = 1 / effect.getEngine().getRenderWidth();
441
- const inverseHeight = 1 / effect.getEngine().getRenderHeight();
448
+ const inverseWidth = 1 / (this.outputTextureWidth || effect.getEngine().getRenderWidth());
449
+ const inverseHeight = 1 / (this.outputTextureHeight || effect.getEngine().getRenderHeight());
442
450
  effect.setFloat2("vInverseScreenSize", inverseWidth, inverseHeight);
443
451
  if (this._ditheringEnabled) {
444
452
  effect.setFloat("ditherIntensity", 0.5 * this._ditheringIntensity);
@@ -611,6 +619,12 @@ __decorate([
611
619
  __decorate([
612
620
  serialize()
613
621
  ], ImageProcessingConfiguration.prototype, "_isEnabled", void 0);
622
+ __decorate([
623
+ serialize()
624
+ ], ImageProcessingConfiguration.prototype, "outputTextureWidth", void 0);
625
+ __decorate([
626
+ serialize()
627
+ ], ImageProcessingConfiguration.prototype, "outputTextureHeight", void 0);
614
628
  // References the dependencies.
615
629
  SerializationHelper._ImageProcessingConfigurationParser = ImageProcessingConfiguration.Parse;
616
630
  // Register Class Name
@@ -1 +1 @@
1
- {"version":3,"file":"imageProcessingConfiguration.js","sourceRoot":"","sources":["../../../../dev/core/src/Materials/imageProcessingConfiguration.ts"],"names":[],"mappings":";AAAA,yDAAyD;AACzD,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC9G,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAIvD,OAAO,EAAE,GAAG,EAAE,MAAM,yBAAyB,CAAC;AAC9C,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,OAAO,EAAE,iCAAiC,EAAE,iCAAiC,EAAE,MAAM,0CAA0C,CAAC;AAChI,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;;;GAIG;AACH,MAAM,OAAO,4BAA4B;IAAzC;QAkBI;;WAEG;QAEI,gBAAW,GAA0B,IAAI,WAAW,EAAE,CAAC;QAGtD,wBAAmB,GAAG,KAAK,CAAC;QAwC5B,yBAAoB,GAAG,KAAK,CAAC;QAoB7B,gCAA2B,GAAG,IAAI,CAAC;QAoBnC,qBAAgB,GAAG,IAAI,CAAC;QAmBhC,gBAAgB;QAET,cAAS,GAAG,GAAG,CAAC;QAoBf,wBAAmB,GAAG,KAAK,CAAC;QAoB5B,qBAAgB,GAAG,4BAA4B,CA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;AAoB7B;IADP,SAAS,EAAE;iFAC+B;AAoBnC;IADP,SAAS,EAAE;sEACoB;AAqBzB;IADN,SAAS,EAAE;+DACW;AAoBf;IADP,SAAS,EAAE;yEACwB;AAoB5B;IADP,SAAS,EAAE;sEACiE;AAoBnE;IADT,SAAS,EAAE;+DACc;AAuBnB;IADN,SAAS,EAAE;qEACe;AAMpB;IADN,SAAS,EAAE;qEACe;AAMpB;IADN,SAAS,EAAE;qEACe;AA4BpB;IADN,SAAS,EAAE;oEACgB;AAOrB;IADN,iBAAiB,EAAE;mEACkC;AAM/C;IADN,SAAS,EAAE;uEACmB;AAGvB;IADP,SAAS,EAAE;wEACoE;AAoBxE;IADP,SAAS,EAAE;sEACqB;AAoBzB;IADP,SAAS,EAAE;uEACsB;AAsB1B;IADP,SAAS,EAAE;yEAC8B;AAqBnC;IADN,SAAS,EAAE;0EACwB;AAuB7B;IADN,SAAS,EAAE;yEACuB;AAoB3B;IADP,SAAS,EAAE;gEACc;AAyO9B,+BAA+B;AAC/B,mBAAmB,CAAC,mCAAmC,GAAG,4BAA4B,CAAC,KAAK,CAAC;AAE7F,sBAAsB;AACtB,aAAa,CAAC,sCAAsC,EAAE,4BAA4B,CAAC,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\r\nimport { serialize, serializeAsTexture, serializeAsColorCurves, serializeAsColor4 } from \"../Misc/decorators\";\r\nimport { Observable } from \"../Misc/observable\";\r\nimport type { Nullable } from \"../types\";\r\nimport { Color4 } from \"../Maths/math.color\";\r\nimport { ColorCurves } from \"../Materials/colorCurves\";\r\n\r\nimport type { BaseTexture } from \"../Materials/Textures/baseTexture\";\r\nimport type { Effect } from \"../Materials/effect\";\r\nimport { Mix } from \"../Misc/tools.functions\";\r\nimport { SerializationHelper } from \"../Misc/decorators.serialization\";\r\nimport type { IImageProcessingConfigurationDefines } from \"./imageProcessingConfiguration.defines\";\r\nimport { PrepareSamplersForImageProcessing, PrepareUniformsForImageProcessing } from \"./imageProcessingConfiguration.functions\";\r\nimport { RegisterClass } from \"../Misc/typeStore\";\r\n\r\n/**\r\n * This groups together the common properties used for image processing either in direct forward pass\r\n * or through post processing effect depending on the use of the image processing pipeline in your scene\r\n * or not.\r\n */\r\nexport class ImageProcessingConfiguration {\r\n /**\r\n * Default tone mapping applied in BabylonJS.\r\n */\r\n public static readonly TONEMAPPING_STANDARD = 0;\r\n\r\n /**\r\n * ACES Tone mapping (used by default in unreal and unity). This can help getting closer\r\n * to other engines rendering to increase portability.\r\n */\r\n public static readonly TONEMAPPING_ACES = 1;\r\n\r\n /**\r\n * Neutral Tone mapping developped by the Khronos group in order to constrain\r\n * values between 0 and 1 without shifting Hue.\r\n */\r\n public static readonly TONEMAPPING_KHR_PBR_NEUTRAL = 2;\r\n\r\n /**\r\n * Color curves setup used in the effect if colorCurvesEnabled is set to true\r\n */\r\n @serializeAsColorCurves()\r\n public colorCurves: Nullable<ColorCurves> = new ColorCurves();\r\n\r\n @serialize()\r\n private _colorCurvesEnabled = false;\r\n /**\r\n * Gets whether the color curves effect is enabled.\r\n */\r\n public get colorCurvesEnabled(): boolean {\r\n return this._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 if (this._colorCurvesEnabled === value) {\r\n return;\r\n }\r\n\r\n this._colorCurvesEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serializeAsTexture(\"colorGradingTexture\")\r\n private _colorGradingTexture: Nullable<BaseTexture>;\r\n /**\r\n * 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._colorGradingTexture;\r\n }\r\n /**\r\n * 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 if (this._colorGradingTexture === value) {\r\n return;\r\n }\r\n\r\n this._colorGradingTexture = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _colorGradingEnabled = false;\r\n /**\r\n * Gets whether the color grading effect is enabled.\r\n */\r\n public get colorGradingEnabled(): boolean {\r\n return this._colorGradingEnabled;\r\n }\r\n /**\r\n * Sets whether the color grading effect is enabled.\r\n */\r\n public set colorGradingEnabled(value: boolean) {\r\n if (this._colorGradingEnabled === value) {\r\n return;\r\n }\r\n\r\n this._colorGradingEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _colorGradingWithGreenDepth = true;\r\n /**\r\n * Gets whether the color grading effect is using a green depth for the 3d Texture.\r\n */\r\n public get colorGradingWithGreenDepth(): boolean {\r\n return this._colorGradingWithGreenDepth;\r\n }\r\n /**\r\n * Sets whether the color grading effect is using a green depth for the 3d Texture.\r\n */\r\n public set colorGradingWithGreenDepth(value: boolean) {\r\n if (this._colorGradingWithGreenDepth === value) {\r\n return;\r\n }\r\n\r\n this._colorGradingWithGreenDepth = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _colorGradingBGR = true;\r\n /**\r\n * Gets whether the color grading texture contains BGR values.\r\n */\r\n public get colorGradingBGR(): boolean {\r\n return this._colorGradingBGR;\r\n }\r\n /**\r\n * Sets whether the color grading texture contains BGR values.\r\n */\r\n public set colorGradingBGR(value: boolean) {\r\n if (this._colorGradingBGR === value) {\r\n return;\r\n }\r\n\r\n this._colorGradingBGR = value;\r\n this._updateParameters();\r\n }\r\n\r\n /** @internal */\r\n @serialize()\r\n public _exposure = 1.0;\r\n /**\r\n * Gets the Exposure used in the effect.\r\n */\r\n public get exposure(): number {\r\n return this._exposure;\r\n }\r\n /**\r\n * Sets the Exposure used in the effect.\r\n */\r\n public set exposure(value: number) {\r\n if (this._exposure === value) {\r\n return;\r\n }\r\n\r\n this._exposure = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _toneMappingEnabled = false;\r\n /**\r\n * Gets whether the tone mapping effect is enabled.\r\n */\r\n public get toneMappingEnabled(): boolean {\r\n return this._toneMappingEnabled;\r\n }\r\n /**\r\n * Sets whether the tone mapping effect is enabled.\r\n */\r\n public set toneMappingEnabled(value: boolean) {\r\n if (this._toneMappingEnabled === value) {\r\n return;\r\n }\r\n\r\n this._toneMappingEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _toneMappingType = ImageProcessingConfiguration.TONEMAPPING_STANDARD;\r\n /**\r\n * Gets the type of tone mapping effect.\r\n */\r\n public get toneMappingType(): number {\r\n return this._toneMappingType;\r\n }\r\n /**\r\n * Sets the type of tone mapping effect used in BabylonJS.\r\n */\r\n public set toneMappingType(value: number) {\r\n if (this._toneMappingType === value) {\r\n return;\r\n }\r\n\r\n this._toneMappingType = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n protected _contrast = 1.0;\r\n /**\r\n * Gets the contrast used in the effect.\r\n */\r\n public get contrast(): number {\r\n return this._contrast;\r\n }\r\n /**\r\n * Sets the contrast used in the effect.\r\n */\r\n public set contrast(value: number) {\r\n if (this._contrast === value) {\r\n return;\r\n }\r\n\r\n this._contrast = value;\r\n this._updateParameters();\r\n }\r\n\r\n /**\r\n * Vignette stretch size.\r\n */\r\n @serialize()\r\n public vignetteStretch = 0;\r\n\r\n /**\r\n * Vignette center X Offset.\r\n */\r\n @serialize()\r\n public vignetteCenterX = 0;\r\n\r\n /**\r\n * Vignette center Y Offset.\r\n */\r\n @serialize()\r\n public vignetteCenterY = 0;\r\n\r\n /**\r\n * Back Compat: Vignette center Y Offset.\r\n * @deprecated use vignetteCenterY instead\r\n */\r\n public get vignetteCentreY(): number {\r\n return this.vignetteCenterY;\r\n }\r\n public set vignetteCentreY(value: number) {\r\n this.vignetteCenterY = value;\r\n }\r\n\r\n /**\r\n * Back Compat: Vignette center X Offset.\r\n * @deprecated use vignetteCenterX instead\r\n */\r\n public get vignetteCentreX(): number {\r\n return this.vignetteCenterX;\r\n }\r\n public set vignetteCentreX(value: number) {\r\n this.vignetteCenterX = value;\r\n }\r\n\r\n /**\r\n * Vignette weight or intensity of the vignette effect.\r\n */\r\n @serialize()\r\n public vignetteWeight = 1.5;\r\n\r\n /**\r\n * 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 @serializeAsColor4()\r\n public vignetteColor: Color4 = new Color4(0, 0, 0, 0);\r\n\r\n /**\r\n * Camera field of view used by the Vignette effect.\r\n */\r\n @serialize()\r\n public vignetteCameraFov = 0.5;\r\n\r\n @serialize()\r\n private _vignetteBlendMode = ImageProcessingConfiguration.VIGNETTEMODE_MULTIPLY;\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._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 if (this._vignetteBlendMode === value) {\r\n return;\r\n }\r\n\r\n this._vignetteBlendMode = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _vignetteEnabled = false;\r\n /**\r\n * Gets whether the vignette effect is enabled.\r\n */\r\n public get vignetteEnabled(): boolean {\r\n return this._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 if (this._vignetteEnabled === value) {\r\n return;\r\n }\r\n\r\n this._vignetteEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _ditheringEnabled = false;\r\n /**\r\n * Gets whether the dithering effect is enabled.\r\n * The dithering effect can be used to reduce banding.\r\n */\r\n public get ditheringEnabled(): boolean {\r\n return this._ditheringEnabled;\r\n }\r\n /**\r\n * Sets whether the dithering effect is enabled.\r\n * The dithering effect can be used to reduce banding.\r\n */\r\n public set ditheringEnabled(value: boolean) {\r\n if (this._ditheringEnabled === value) {\r\n return;\r\n }\r\n\r\n this._ditheringEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _ditheringIntensity = 1.0 / 255.0;\r\n /**\r\n * Gets the dithering intensity. 0 is no dithering. Default is 1.0 / 255.0.\r\n */\r\n public get ditheringIntensity(): number {\r\n return this._ditheringIntensity;\r\n }\r\n /**\r\n * Sets the dithering intensity. 0 is no dithering. Default is 1.0 / 255.0.\r\n */\r\n public set ditheringIntensity(value: number) {\r\n if (this._ditheringIntensity === value) {\r\n return;\r\n }\r\n\r\n this._ditheringIntensity = value;\r\n this._updateParameters();\r\n }\r\n\r\n /** @internal */\r\n @serialize()\r\n public _skipFinalColorClamp = false;\r\n /**\r\n * If apply by post process is set to true, setting this to true will skip the final color clamp step in the fragment shader\r\n * Applies to PBR materials.\r\n */\r\n public get skipFinalColorClamp(): boolean {\r\n return this._skipFinalColorClamp;\r\n }\r\n /**\r\n * If apply by post process is set to true, setting this to true will skip the final color clamp step in the fragment shader\r\n * Applies to PBR materials.\r\n */\r\n public set skipFinalColorClamp(value: boolean) {\r\n if (this._skipFinalColorClamp === value) {\r\n return;\r\n }\r\n\r\n this._skipFinalColorClamp = value;\r\n this._updateParameters();\r\n }\r\n\r\n /** @internal */\r\n @serialize()\r\n public _applyByPostProcess = false;\r\n /**\r\n * Gets whether the image processing is applied through a post process or not.\r\n */\r\n public get applyByPostProcess(): boolean {\r\n return this._applyByPostProcess;\r\n }\r\n /**\r\n * Sets whether the image processing is applied through a post process or not.\r\n */\r\n public set applyByPostProcess(value: boolean) {\r\n if (this._applyByPostProcess === value) {\r\n return;\r\n }\r\n\r\n this._applyByPostProcess = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _isEnabled = true;\r\n /**\r\n * Gets whether the image processing is enabled or not.\r\n */\r\n public get isEnabled(): boolean {\r\n return this._isEnabled;\r\n }\r\n /**\r\n * Sets whether the image processing is enabled or not.\r\n */\r\n public set isEnabled(value: boolean) {\r\n if (this._isEnabled === value) {\r\n return;\r\n }\r\n\r\n this._isEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n /**\r\n * An event triggered when the configuration changes and requires Shader to Update some parameters.\r\n */\r\n public onUpdateParameters = new Observable<ImageProcessingConfiguration>();\r\n\r\n /**\r\n * Method called each time the image processing information changes requires to recompile the effect.\r\n */\r\n protected _updateParameters(): void {\r\n this.onUpdateParameters.notifyObservers(this);\r\n }\r\n\r\n /**\r\n * Gets the current class name.\r\n * @returns \"ImageProcessingConfiguration\"\r\n */\r\n public getClassName(): string {\r\n return \"ImageProcessingConfiguration\";\r\n }\r\n\r\n /**\r\n * Prepare the list of uniforms associated with the Image Processing effects.\r\n * @param uniforms The list of uniforms used in the effect\r\n * @param defines the list of defines currently in use\r\n */\r\n public static PrepareUniforms: (uniforms: string[], defines: IImageProcessingConfigurationDefines) => void = PrepareUniformsForImageProcessing;\r\n\r\n /**\r\n * Prepare the list of samplers associated with the Image Processing effects.\r\n * @param samplersList The list of uniforms used in the effect\r\n * @param defines the list of defines currently in use\r\n */\r\n public static PrepareSamplers: (samplersList: string[], defines: IImageProcessingConfigurationDefines) => void = PrepareSamplersForImageProcessing;\r\n\r\n /**\r\n * Prepare the list of defines associated to the shader.\r\n * @param defines the list of defines to complete\r\n * @param forPostProcess Define if we are currently in post process mode or not\r\n */\r\n public prepareDefines(defines: IImageProcessingConfigurationDefines, forPostProcess = false): void {\r\n if (forPostProcess !== this.applyByPostProcess || !this._isEnabled) {\r\n defines.VIGNETTE = false;\r\n defines.TONEMAPPING = 0;\r\n defines.CONTRAST = false;\r\n defines.EXPOSURE = false;\r\n defines.COLORCURVES = false;\r\n defines.COLORGRADING = false;\r\n defines.COLORGRADING3D = false;\r\n defines.DITHER = false;\r\n defines.IMAGEPROCESSING = false;\r\n defines.SKIPFINALCOLORCLAMP = this.skipFinalColorClamp;\r\n defines.IMAGEPROCESSINGPOSTPROCESS = this.applyByPostProcess && this._isEnabled;\r\n return;\r\n }\r\n\r\n defines.VIGNETTE = this.vignetteEnabled;\r\n defines.VIGNETTEBLENDMODEMULTIPLY = this.vignetteBlendMode === ImageProcessingConfiguration._VIGNETTEMODE_MULTIPLY;\r\n defines.VIGNETTEBLENDMODEOPAQUE = !defines.VIGNETTEBLENDMODEMULTIPLY;\r\n\r\n if (!this._toneMappingEnabled) {\r\n defines.TONEMAPPING = 0;\r\n } else {\r\n switch (this._toneMappingType) {\r\n case ImageProcessingConfiguration.TONEMAPPING_KHR_PBR_NEUTRAL:\r\n defines.TONEMAPPING = 3;\r\n break;\r\n case ImageProcessingConfiguration.TONEMAPPING_ACES:\r\n defines.TONEMAPPING = 2;\r\n break;\r\n default:\r\n defines.TONEMAPPING = 1;\r\n break;\r\n }\r\n }\r\n\r\n defines.CONTRAST = this.contrast !== 1.0;\r\n defines.EXPOSURE = this.exposure !== 1.0;\r\n defines.COLORCURVES = this.colorCurvesEnabled && !!this.colorCurves;\r\n defines.COLORGRADING = this.colorGradingEnabled && !!this.colorGradingTexture;\r\n if (defines.COLORGRADING) {\r\n defines.COLORGRADING3D = this.colorGradingTexture!.is3D;\r\n } else {\r\n defines.COLORGRADING3D = false;\r\n }\r\n defines.SAMPLER3DGREENDEPTH = this.colorGradingWithGreenDepth;\r\n defines.SAMPLER3DBGRMAP = this.colorGradingBGR;\r\n defines.DITHER = this._ditheringEnabled;\r\n defines.IMAGEPROCESSINGPOSTPROCESS = this.applyByPostProcess;\r\n defines.SKIPFINALCOLORCLAMP = this.skipFinalColorClamp;\r\n defines.IMAGEPROCESSING =\r\n defines.VIGNETTE || !!defines.TONEMAPPING || defines.CONTRAST || defines.EXPOSURE || defines.COLORCURVES || defines.COLORGRADING || defines.DITHER;\r\n }\r\n\r\n /**\r\n * Returns true if all the image processing information are ready.\r\n * @returns True if ready, otherwise, false\r\n */\r\n public isReady() {\r\n // Color Grading texture can not be none blocking.\r\n return !this.colorGradingEnabled || !this.colorGradingTexture || this.colorGradingTexture.isReady();\r\n }\r\n\r\n /**\r\n * Binds the image processing to the shader.\r\n * @param effect The effect to bind to\r\n * @param overrideAspectRatio Override the aspect ratio of the effect\r\n */\r\n public bind(effect: Effect, overrideAspectRatio?: number): void {\r\n // Color Curves\r\n if (this._colorCurvesEnabled && this.colorCurves) {\r\n ColorCurves.Bind(this.colorCurves, effect);\r\n }\r\n\r\n // Vignette and dither handled together due to common uniform.\r\n if (this._vignetteEnabled || this._ditheringEnabled) {\r\n const inverseWidth = 1 / effect.getEngine().getRenderWidth();\r\n const inverseHeight = 1 / effect.getEngine().getRenderHeight();\r\n effect.setFloat2(\"vInverseScreenSize\", inverseWidth, inverseHeight);\r\n\r\n if (this._ditheringEnabled) {\r\n effect.setFloat(\"ditherIntensity\", 0.5 * this._ditheringIntensity);\r\n }\r\n\r\n if (this._vignetteEnabled) {\r\n const aspectRatio = overrideAspectRatio != null ? overrideAspectRatio : inverseHeight / inverseWidth;\r\n\r\n let vignetteScaleY = Math.tan(this.vignetteCameraFov * 0.5);\r\n let vignetteScaleX = vignetteScaleY * aspectRatio;\r\n\r\n const vignetteScaleGeometricMean = Math.sqrt(vignetteScaleX * vignetteScaleY);\r\n vignetteScaleX = Mix(vignetteScaleX, vignetteScaleGeometricMean, this.vignetteStretch);\r\n vignetteScaleY = Mix(vignetteScaleY, vignetteScaleGeometricMean, this.vignetteStretch);\r\n\r\n effect.setFloat4(\"vignetteSettings1\", vignetteScaleX, vignetteScaleY, -vignetteScaleX * this.vignetteCenterX, -vignetteScaleY * this.vignetteCenterY);\r\n\r\n const vignettePower = -2.0 * this.vignetteWeight;\r\n effect.setFloat4(\"vignetteSettings2\", this.vignetteColor.r, this.vignetteColor.g, this.vignetteColor.b, vignettePower);\r\n }\r\n }\r\n\r\n // Exposure\r\n effect.setFloat(\"exposureLinear\", this.exposure);\r\n\r\n // Contrast\r\n effect.setFloat(\"contrast\", this.contrast);\r\n\r\n // Color transform settings\r\n if (this.colorGradingTexture) {\r\n effect.setTexture(\"txColorTransform\", this.colorGradingTexture);\r\n const textureSize = this.colorGradingTexture.getSize().height;\r\n\r\n effect.setFloat4(\r\n \"colorTransformSettings\",\r\n (textureSize - 1) / textureSize, // textureScale\r\n 0.5 / textureSize, // textureOffset\r\n textureSize, // textureSize\r\n this.colorGradingTexture.level // weight\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Clones the current image processing instance.\r\n * @returns The cloned image processing\r\n */\r\n public clone(): ImageProcessingConfiguration {\r\n return SerializationHelper.Clone(() => new ImageProcessingConfiguration(), this);\r\n }\r\n\r\n /**\r\n * Serializes the current image processing instance to a json representation.\r\n * @returns a JSON representation\r\n */\r\n public serialize(): any {\r\n return SerializationHelper.Serialize(this);\r\n }\r\n\r\n /**\r\n * Parses the image processing from a json representation.\r\n * @param source the JSON source to parse\r\n * @returns The parsed image processing\r\n */\r\n public static Parse(source: any): ImageProcessingConfiguration {\r\n const parsed = SerializationHelper.Parse(() => new ImageProcessingConfiguration(), source, null, null);\r\n // Backward compatibility\r\n if (source.vignetteCentreX !== undefined) {\r\n parsed.vignetteCenterX = source.vignetteCentreX;\r\n }\r\n if (source.vignetteCentreY !== undefined) {\r\n parsed.vignetteCenterY = source.vignetteCentreY;\r\n }\r\n\r\n return parsed;\r\n }\r\n\r\n // Static constants associated to the image processing.\r\n private static _VIGNETTEMODE_MULTIPLY = 0;\r\n private static _VIGNETTEMODE_OPAQUE = 1;\r\n\r\n /**\r\n * Used to apply the vignette as a mix with the pixel color.\r\n */\r\n public static get VIGNETTEMODE_MULTIPLY(): number {\r\n return this._VIGNETTEMODE_MULTIPLY;\r\n }\r\n\r\n /**\r\n * Used to apply the vignette as a replacement of the pixel color.\r\n */\r\n public static get VIGNETTEMODE_OPAQUE(): number {\r\n return this._VIGNETTEMODE_OPAQUE;\r\n }\r\n}\r\n\r\n// References the dependencies.\r\nSerializationHelper._ImageProcessingConfigurationParser = ImageProcessingConfiguration.Parse;\r\n\r\n// Register Class Name\r\nRegisterClass(\"BABYLON.ImageProcessingConfiguration\", ImageProcessingConfiguration);\r\n"]}
1
+ {"version":3,"file":"imageProcessingConfiguration.js","sourceRoot":"","sources":["../../../../dev/core/src/Materials/imageProcessing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ACc;AAuBnB;IADN,SAAS,EAAE;qEACe;AAMpB;IADN,SAAS,EAAE;qEACe;AAMpB;IADN,SAAS,EAAE;qEACe;AA4BpB;IADN,SAAS,EAAE;oEACgB;AAOrB;IADN,iBAAiB,EAAE;mEACkC;AAM/C;IADN,SAAS,EAAE;uEACmB;AAGvB;IADP,SAAS,EAAE;wEACoE;AAoBxE;IADP,SAAS,EAAE;sEACqB;AAoBzB;IADP,SAAS,EAAE;uEACsB;AAsB1B;IADP,SAAS,EAAE;yEAC8B;AAqBnC;IADN,SAAS,EAAE;0EACwB;AAuB7B;IADN,SAAS,EAAE;yEACuB;AAoB3B;IADP,SAAS,EAAE;gEACc;AAuBnB;IADN,SAAS,EAAE;wEACkB;AAMvB;IADN,SAAS,EAAE;yEACmB;AAwNnC,+BAA+B;AAC/B,mBAAmB,CAAC,mCAAmC,GAAG,4BAA4B,CAAC,KAAK,CAAC;AAE7F,sBAAsB;AACtB,aAAa,CAAC,sCAAsC,EAAE,4BAA4B,CAAC,CAAC","sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\r\nimport { serialize, serializeAsTexture, serializeAsColorCurves, serializeAsColor4 } from \"../Misc/decorators\";\r\nimport { Observable } from \"../Misc/observable\";\r\nimport type { Nullable } from \"../types\";\r\nimport { Color4 } from \"../Maths/math.color\";\r\nimport { ColorCurves } from \"../Materials/colorCurves\";\r\n\r\nimport type { BaseTexture } from \"../Materials/Textures/baseTexture\";\r\nimport type { Effect } from \"../Materials/effect\";\r\nimport { Mix } from \"../Misc/tools.functions\";\r\nimport { SerializationHelper } from \"../Misc/decorators.serialization\";\r\nimport type { IImageProcessingConfigurationDefines } from \"./imageProcessingConfiguration.defines\";\r\nimport { PrepareSamplersForImageProcessing, PrepareUniformsForImageProcessing } from \"./imageProcessingConfiguration.functions\";\r\nimport { RegisterClass } from \"../Misc/typeStore\";\r\n\r\n/**\r\n * This groups together the common properties used for image processing either in direct forward pass\r\n * or through post processing effect depending on the use of the image processing pipeline in your scene\r\n * or not.\r\n */\r\nexport class ImageProcessingConfiguration {\r\n /**\r\n * Default tone mapping applied in BabylonJS.\r\n */\r\n public static readonly TONEMAPPING_STANDARD = 0;\r\n\r\n /**\r\n * ACES Tone mapping (used by default in unreal and unity). This can help getting closer\r\n * to other engines rendering to increase portability.\r\n */\r\n public static readonly TONEMAPPING_ACES = 1;\r\n\r\n /**\r\n * Neutral Tone mapping developped by the Khronos group in order to constrain\r\n * values between 0 and 1 without shifting Hue.\r\n */\r\n public static readonly TONEMAPPING_KHR_PBR_NEUTRAL = 2;\r\n\r\n /**\r\n * Color curves setup used in the effect if colorCurvesEnabled is set to true\r\n */\r\n @serializeAsColorCurves()\r\n public colorCurves: Nullable<ColorCurves> = new ColorCurves();\r\n\r\n @serialize()\r\n private _colorCurvesEnabled = false;\r\n /**\r\n * Gets whether the color curves effect is enabled.\r\n */\r\n public get colorCurvesEnabled(): boolean {\r\n return this._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 if (this._colorCurvesEnabled === value) {\r\n return;\r\n }\r\n\r\n this._colorCurvesEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serializeAsTexture(\"colorGradingTexture\")\r\n private _colorGradingTexture: Nullable<BaseTexture>;\r\n /**\r\n * 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._colorGradingTexture;\r\n }\r\n /**\r\n * 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 if (this._colorGradingTexture === value) {\r\n return;\r\n }\r\n\r\n this._colorGradingTexture = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _colorGradingEnabled = false;\r\n /**\r\n * Gets whether the color grading effect is enabled.\r\n */\r\n public get colorGradingEnabled(): boolean {\r\n return this._colorGradingEnabled;\r\n }\r\n /**\r\n * Sets whether the color grading effect is enabled.\r\n */\r\n public set colorGradingEnabled(value: boolean) {\r\n if (this._colorGradingEnabled === value) {\r\n return;\r\n }\r\n\r\n this._colorGradingEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _colorGradingWithGreenDepth = true;\r\n /**\r\n * Gets whether the color grading effect is using a green depth for the 3d Texture.\r\n */\r\n public get colorGradingWithGreenDepth(): boolean {\r\n return this._colorGradingWithGreenDepth;\r\n }\r\n /**\r\n * Sets whether the color grading effect is using a green depth for the 3d Texture.\r\n */\r\n public set colorGradingWithGreenDepth(value: boolean) {\r\n if (this._colorGradingWithGreenDepth === value) {\r\n return;\r\n }\r\n\r\n this._colorGradingWithGreenDepth = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _colorGradingBGR = true;\r\n /**\r\n * Gets whether the color grading texture contains BGR values.\r\n */\r\n public get colorGradingBGR(): boolean {\r\n return this._colorGradingBGR;\r\n }\r\n /**\r\n * Sets whether the color grading texture contains BGR values.\r\n */\r\n public set colorGradingBGR(value: boolean) {\r\n if (this._colorGradingBGR === value) {\r\n return;\r\n }\r\n\r\n this._colorGradingBGR = value;\r\n this._updateParameters();\r\n }\r\n\r\n /** @internal */\r\n @serialize()\r\n public _exposure = 1.0;\r\n /**\r\n * Gets the Exposure used in the effect.\r\n */\r\n public get exposure(): number {\r\n return this._exposure;\r\n }\r\n /**\r\n * Sets the Exposure used in the effect.\r\n */\r\n public set exposure(value: number) {\r\n if (this._exposure === value) {\r\n return;\r\n }\r\n\r\n this._exposure = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _toneMappingEnabled = false;\r\n /**\r\n * Gets whether the tone mapping effect is enabled.\r\n */\r\n public get toneMappingEnabled(): boolean {\r\n return this._toneMappingEnabled;\r\n }\r\n /**\r\n * Sets whether the tone mapping effect is enabled.\r\n */\r\n public set toneMappingEnabled(value: boolean) {\r\n if (this._toneMappingEnabled === value) {\r\n return;\r\n }\r\n\r\n this._toneMappingEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _toneMappingType = ImageProcessingConfiguration.TONEMAPPING_STANDARD;\r\n /**\r\n * Gets the type of tone mapping effect.\r\n */\r\n public get toneMappingType(): number {\r\n return this._toneMappingType;\r\n }\r\n /**\r\n * Sets the type of tone mapping effect used in BabylonJS.\r\n */\r\n public set toneMappingType(value: number) {\r\n if (this._toneMappingType === value) {\r\n return;\r\n }\r\n\r\n this._toneMappingType = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n protected _contrast = 1.0;\r\n /**\r\n * Gets the contrast used in the effect.\r\n */\r\n public get contrast(): number {\r\n return this._contrast;\r\n }\r\n /**\r\n * Sets the contrast used in the effect.\r\n */\r\n public set contrast(value: number) {\r\n if (this._contrast === value) {\r\n return;\r\n }\r\n\r\n this._contrast = value;\r\n this._updateParameters();\r\n }\r\n\r\n /**\r\n * Vignette stretch size.\r\n */\r\n @serialize()\r\n public vignetteStretch = 0;\r\n\r\n /**\r\n * Vignette center X Offset.\r\n */\r\n @serialize()\r\n public vignetteCenterX = 0;\r\n\r\n /**\r\n * Vignette center Y Offset.\r\n */\r\n @serialize()\r\n public vignetteCenterY = 0;\r\n\r\n /**\r\n * Back Compat: Vignette center Y Offset.\r\n * @deprecated use vignetteCenterY instead\r\n */\r\n public get vignetteCentreY(): number {\r\n return this.vignetteCenterY;\r\n }\r\n public set vignetteCentreY(value: number) {\r\n this.vignetteCenterY = value;\r\n }\r\n\r\n /**\r\n * Back Compat: Vignette center X Offset.\r\n * @deprecated use vignetteCenterX instead\r\n */\r\n public get vignetteCentreX(): number {\r\n return this.vignetteCenterX;\r\n }\r\n public set vignetteCentreX(value: number) {\r\n this.vignetteCenterX = value;\r\n }\r\n\r\n /**\r\n * Vignette weight or intensity of the vignette effect.\r\n */\r\n @serialize()\r\n public vignetteWeight = 1.5;\r\n\r\n /**\r\n * 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 @serializeAsColor4()\r\n public vignetteColor: Color4 = new Color4(0, 0, 0, 0);\r\n\r\n /**\r\n * Camera field of view used by the Vignette effect.\r\n */\r\n @serialize()\r\n public vignetteCameraFov = 0.5;\r\n\r\n @serialize()\r\n private _vignetteBlendMode = ImageProcessingConfiguration.VIGNETTEMODE_MULTIPLY;\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._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 if (this._vignetteBlendMode === value) {\r\n return;\r\n }\r\n\r\n this._vignetteBlendMode = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _vignetteEnabled = false;\r\n /**\r\n * Gets whether the vignette effect is enabled.\r\n */\r\n public get vignetteEnabled(): boolean {\r\n return this._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 if (this._vignetteEnabled === value) {\r\n return;\r\n }\r\n\r\n this._vignetteEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _ditheringEnabled = false;\r\n /**\r\n * Gets whether the dithering effect is enabled.\r\n * The dithering effect can be used to reduce banding.\r\n */\r\n public get ditheringEnabled(): boolean {\r\n return this._ditheringEnabled;\r\n }\r\n /**\r\n * Sets whether the dithering effect is enabled.\r\n * The dithering effect can be used to reduce banding.\r\n */\r\n public set ditheringEnabled(value: boolean) {\r\n if (this._ditheringEnabled === value) {\r\n return;\r\n }\r\n\r\n this._ditheringEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _ditheringIntensity = 1.0 / 255.0;\r\n /**\r\n * Gets the dithering intensity. 0 is no dithering. Default is 1.0 / 255.0.\r\n */\r\n public get ditheringIntensity(): number {\r\n return this._ditheringIntensity;\r\n }\r\n /**\r\n * Sets the dithering intensity. 0 is no dithering. Default is 1.0 / 255.0.\r\n */\r\n public set ditheringIntensity(value: number) {\r\n if (this._ditheringIntensity === value) {\r\n return;\r\n }\r\n\r\n this._ditheringIntensity = value;\r\n this._updateParameters();\r\n }\r\n\r\n /** @internal */\r\n @serialize()\r\n public _skipFinalColorClamp = false;\r\n /**\r\n * If apply by post process is set to true, setting this to true will skip the final color clamp step in the fragment shader\r\n * Applies to PBR materials.\r\n */\r\n public get skipFinalColorClamp(): boolean {\r\n return this._skipFinalColorClamp;\r\n }\r\n /**\r\n * If apply by post process is set to true, setting this to true will skip the final color clamp step in the fragment shader\r\n * Applies to PBR materials.\r\n */\r\n public set skipFinalColorClamp(value: boolean) {\r\n if (this._skipFinalColorClamp === value) {\r\n return;\r\n }\r\n\r\n this._skipFinalColorClamp = value;\r\n this._updateParameters();\r\n }\r\n\r\n /** @internal */\r\n @serialize()\r\n public _applyByPostProcess = false;\r\n /**\r\n * Gets whether the image processing is applied through a post process or not.\r\n */\r\n public get applyByPostProcess(): boolean {\r\n return this._applyByPostProcess;\r\n }\r\n /**\r\n * Sets whether the image processing is applied through a post process or not.\r\n */\r\n public set applyByPostProcess(value: boolean) {\r\n if (this._applyByPostProcess === value) {\r\n return;\r\n }\r\n\r\n this._applyByPostProcess = value;\r\n this._updateParameters();\r\n }\r\n\r\n @serialize()\r\n private _isEnabled = true;\r\n /**\r\n * Gets whether the image processing is enabled or not.\r\n */\r\n public get isEnabled(): boolean {\r\n return this._isEnabled;\r\n }\r\n /**\r\n * Sets whether the image processing is enabled or not.\r\n */\r\n public set isEnabled(value: boolean) {\r\n if (this._isEnabled === value) {\r\n return;\r\n }\r\n\r\n this._isEnabled = value;\r\n this._updateParameters();\r\n }\r\n\r\n /**\r\n * Width of the output texture used in the post process. If not provided, uses the width of the screen.\r\n */\r\n @serialize()\r\n public outputTextureWidth = 0;\r\n\r\n /**\r\n * Height of the output texture used in the post process. If not provided, uses the height of the screen.\r\n */\r\n @serialize()\r\n public outputTextureHeight = 0;\r\n\r\n /**\r\n * An event triggered when the configuration changes and requires Shader to Update some parameters.\r\n */\r\n public onUpdateParameters = new Observable<ImageProcessingConfiguration>();\r\n\r\n /**\r\n * Method called each time the image processing information changes requires to recompile the effect.\r\n */\r\n protected _updateParameters(): void {\r\n this.onUpdateParameters.notifyObservers(this);\r\n }\r\n\r\n /**\r\n * Gets the current class name.\r\n * @returns \"ImageProcessingConfiguration\"\r\n */\r\n public getClassName(): string {\r\n return \"ImageProcessingConfiguration\";\r\n }\r\n\r\n /**\r\n * Prepare the list of uniforms associated with the Image Processing effects.\r\n * @param uniforms The list of uniforms used in the effect\r\n * @param defines the list of defines currently in use\r\n */\r\n public static PrepareUniforms: (uniforms: string[], defines: IImageProcessingConfigurationDefines) => void = PrepareUniformsForImageProcessing;\r\n\r\n /**\r\n * Prepare the list of samplers associated with the Image Processing effects.\r\n * @param samplersList The list of uniforms used in the effect\r\n * @param defines the list of defines currently in use\r\n */\r\n public static PrepareSamplers: (samplersList: string[], defines: IImageProcessingConfigurationDefines) => void = PrepareSamplersForImageProcessing;\r\n\r\n /**\r\n * Prepare the list of defines associated to the shader.\r\n * @param defines the list of defines to complete\r\n * @param forPostProcess Define if we are currently in post process mode or not\r\n */\r\n public prepareDefines(defines: IImageProcessingConfigurationDefines, forPostProcess = false): void {\r\n if (forPostProcess !== this.applyByPostProcess || !this._isEnabled) {\r\n defines.VIGNETTE = false;\r\n defines.TONEMAPPING = 0;\r\n defines.CONTRAST = false;\r\n defines.EXPOSURE = false;\r\n defines.COLORCURVES = false;\r\n defines.COLORGRADING = false;\r\n defines.COLORGRADING3D = false;\r\n defines.DITHER = false;\r\n defines.IMAGEPROCESSING = false;\r\n defines.SKIPFINALCOLORCLAMP = this.skipFinalColorClamp;\r\n defines.IMAGEPROCESSINGPOSTPROCESS = this.applyByPostProcess && this._isEnabled;\r\n return;\r\n }\r\n\r\n defines.VIGNETTE = this.vignetteEnabled;\r\n defines.VIGNETTEBLENDMODEMULTIPLY = this.vignetteBlendMode === ImageProcessingConfiguration._VIGNETTEMODE_MULTIPLY;\r\n defines.VIGNETTEBLENDMODEOPAQUE = !defines.VIGNETTEBLENDMODEMULTIPLY;\r\n\r\n if (!this._toneMappingEnabled) {\r\n defines.TONEMAPPING = 0;\r\n } else {\r\n switch (this._toneMappingType) {\r\n case ImageProcessingConfiguration.TONEMAPPING_KHR_PBR_NEUTRAL:\r\n defines.TONEMAPPING = 3;\r\n break;\r\n case ImageProcessingConfiguration.TONEMAPPING_ACES:\r\n defines.TONEMAPPING = 2;\r\n break;\r\n default:\r\n defines.TONEMAPPING = 1;\r\n break;\r\n }\r\n }\r\n\r\n defines.CONTRAST = this.contrast !== 1.0;\r\n defines.EXPOSURE = this.exposure !== 1.0;\r\n defines.COLORCURVES = this.colorCurvesEnabled && !!this.colorCurves;\r\n defines.COLORGRADING = this.colorGradingEnabled && !!this.colorGradingTexture;\r\n if (defines.COLORGRADING) {\r\n defines.COLORGRADING3D = this.colorGradingTexture!.is3D;\r\n } else {\r\n defines.COLORGRADING3D = false;\r\n }\r\n defines.SAMPLER3DGREENDEPTH = this.colorGradingWithGreenDepth;\r\n defines.SAMPLER3DBGRMAP = this.colorGradingBGR;\r\n defines.DITHER = this._ditheringEnabled;\r\n defines.IMAGEPROCESSINGPOSTPROCESS = this.applyByPostProcess;\r\n defines.SKIPFINALCOLORCLAMP = this.skipFinalColorClamp;\r\n defines.IMAGEPROCESSING =\r\n defines.VIGNETTE || !!defines.TONEMAPPING || defines.CONTRAST || defines.EXPOSURE || defines.COLORCURVES || defines.COLORGRADING || defines.DITHER;\r\n }\r\n\r\n /**\r\n * Returns true if all the image processing information are ready.\r\n * @returns True if ready, otherwise, false\r\n */\r\n public isReady() {\r\n // Color Grading texture can not be none blocking.\r\n return !this.colorGradingEnabled || !this.colorGradingTexture || this.colorGradingTexture.isReady();\r\n }\r\n\r\n /**\r\n * Binds the image processing to the shader.\r\n * @param effect The effect to bind to\r\n * @param overrideAspectRatio Override the aspect ratio of the effect\r\n */\r\n public bind(effect: Effect, overrideAspectRatio?: number): void {\r\n // Color Curves\r\n if (this._colorCurvesEnabled && this.colorCurves) {\r\n ColorCurves.Bind(this.colorCurves, effect);\r\n }\r\n\r\n // Vignette and dither handled together due to common uniform.\r\n if (this._vignetteEnabled || this._ditheringEnabled) {\r\n const inverseWidth = 1 / (this.outputTextureWidth || effect.getEngine().getRenderWidth());\r\n const inverseHeight = 1 / (this.outputTextureHeight || effect.getEngine().getRenderHeight());\r\n effect.setFloat2(\"vInverseScreenSize\", inverseWidth, inverseHeight);\r\n\r\n if (this._ditheringEnabled) {\r\n effect.setFloat(\"ditherIntensity\", 0.5 * this._ditheringIntensity);\r\n }\r\n\r\n if (this._vignetteEnabled) {\r\n const aspectRatio = overrideAspectRatio != null ? overrideAspectRatio : inverseHeight / inverseWidth;\r\n\r\n let vignetteScaleY = Math.tan(this.vignetteCameraFov * 0.5);\r\n let vignetteScaleX = vignetteScaleY * aspectRatio;\r\n\r\n const vignetteScaleGeometricMean = Math.sqrt(vignetteScaleX * vignetteScaleY);\r\n vignetteScaleX = Mix(vignetteScaleX, vignetteScaleGeometricMean, this.vignetteStretch);\r\n vignetteScaleY = Mix(vignetteScaleY, vignetteScaleGeometricMean, this.vignetteStretch);\r\n\r\n effect.setFloat4(\"vignetteSettings1\", vignetteScaleX, vignetteScaleY, -vignetteScaleX * this.vignetteCenterX, -vignetteScaleY * this.vignetteCenterY);\r\n\r\n const vignettePower = -2.0 * this.vignetteWeight;\r\n effect.setFloat4(\"vignetteSettings2\", this.vignetteColor.r, this.vignetteColor.g, this.vignetteColor.b, vignettePower);\r\n }\r\n }\r\n\r\n // Exposure\r\n effect.setFloat(\"exposureLinear\", this.exposure);\r\n\r\n // Contrast\r\n effect.setFloat(\"contrast\", this.contrast);\r\n\r\n // Color transform settings\r\n if (this.colorGradingTexture) {\r\n effect.setTexture(\"txColorTransform\", this.colorGradingTexture);\r\n const textureSize = this.colorGradingTexture.getSize().height;\r\n\r\n effect.setFloat4(\r\n \"colorTransformSettings\",\r\n (textureSize - 1) / textureSize, // textureScale\r\n 0.5 / textureSize, // textureOffset\r\n textureSize, // textureSize\r\n this.colorGradingTexture.level // weight\r\n );\r\n }\r\n }\r\n\r\n /**\r\n * Clones the current image processing instance.\r\n * @returns The cloned image processing\r\n */\r\n public clone(): ImageProcessingConfiguration {\r\n return SerializationHelper.Clone(() => new ImageProcessingConfiguration(), this);\r\n }\r\n\r\n /**\r\n * Serializes the current image processing instance to a json representation.\r\n * @returns a JSON representation\r\n */\r\n public serialize(): any {\r\n return SerializationHelper.Serialize(this);\r\n }\r\n\r\n /**\r\n * Parses the image processing from a json representation.\r\n * @param source the JSON source to parse\r\n * @returns The parsed image processing\r\n */\r\n public static Parse(source: any): ImageProcessingConfiguration {\r\n const parsed = SerializationHelper.Parse(() => new ImageProcessingConfiguration(), source, null, null);\r\n // Backward compatibility\r\n if (source.vignetteCentreX !== undefined) {\r\n parsed.vignetteCenterX = source.vignetteCentreX;\r\n }\r\n if (source.vignetteCentreY !== undefined) {\r\n parsed.vignetteCenterY = source.vignetteCentreY;\r\n }\r\n\r\n return parsed;\r\n }\r\n\r\n // Static constants associated to the image processing.\r\n private static _VIGNETTEMODE_MULTIPLY = 0;\r\n private static _VIGNETTEMODE_OPAQUE = 1;\r\n\r\n /**\r\n * Used to apply the vignette as a mix with the pixel color.\r\n */\r\n public static get VIGNETTEMODE_MULTIPLY(): number {\r\n return this._VIGNETTEMODE_MULTIPLY;\r\n }\r\n\r\n /**\r\n * Used to apply the vignette as a replacement of the pixel color.\r\n */\r\n public static get VIGNETTEMODE_OPAQUE(): number {\r\n return this._VIGNETTEMODE_OPAQUE;\r\n }\r\n}\r\n\r\n// References the dependencies.\r\nSerializationHelper._ImageProcessingConfigurationParser = ImageProcessingConfiguration.Parse;\r\n\r\n// Register Class Name\r\nRegisterClass(\"BABYLON.ImageProcessingConfiguration\", ImageProcessingConfiguration);\r\n"]}
@@ -1,49 +1,49 @@
1
- export * from "./Background/index";
2
- export * from "./colorCurves";
3
- export * from "./iEffectFallbacks";
4
- export * from "./effectFallbacks";
5
- export * from "./effect";
6
- export * from "./fresnelParameters";
7
- export * from "./imageProcessingConfiguration";
8
- export * from "./material";
9
- export * from "./materialDefines";
10
- export * from "./clipPlaneMaterialHelper";
11
- export * from "./materialHelper";
12
- export * from "./multiMaterial";
13
- export * from "./Occlusion/index";
14
- export * from "./PBR/index";
15
- export * from "./pushMaterial";
16
- export * from "./shaderLanguage";
17
- export * from "./shaderMaterial";
18
- export * from "./standardMaterial";
19
- export * from "./Textures/index";
20
- export * from "./uniformBuffer";
21
- export * from "./materialFlags";
22
- export * from "./Node/index";
23
- export * from "./effectRenderer";
24
- export * from "./shadowDepthWrapper";
25
- export * from "./drawWrapper.functions";
26
- export * from "./drawWrapper";
27
- export * from "./materialPluginBase";
28
- export * from "./materialPluginManager";
29
- export * from "./materialPluginEvent";
30
- export * from "./material.detailMapConfiguration";
31
- export * from "./material.decalMapConfiguration";
32
- export * from "./materialPluginFactoryExport";
33
- export * from "./GreasedLine/greasedLinePluginMaterial";
34
- export * from "./GreasedLine/greasedLineSimpleMaterial";
35
- export * from "./GreasedLine/greasedLineMaterialInterfaces";
36
- export * from "./GreasedLine/greasedLineMaterialDefaults";
37
- export * from "./meshDebugPluginMaterial";
38
- export * from "./GaussianSplatting/gaussianSplattingMaterial";
39
- export * from "./materialHelper.functions";
40
- export * from "./materialHelper.geometryrendering";
41
- import "./material.decalMap";
42
- export * from "../Shaders/default.fragment";
43
- export * from "../Shaders/default.vertex";
44
- export * from "../ShadersWGSL/default.fragment";
45
- export * from "../ShadersWGSL/default.vertex";
46
- export * from "../Shaders/greasedLine.fragment";
47
- export * from "../Shaders/greasedLine.vertex";
48
- export * from "../ShadersWGSL/greasedLine.fragment";
49
- export * from "../ShadersWGSL/greasedLine.vertex";
1
+ export * from "./Background/index.js";
2
+ export * from "./colorCurves.js";
3
+ export * from "./iEffectFallbacks.js";
4
+ export * from "./effectFallbacks.js";
5
+ export * from "./effect.js";
6
+ export * from "./fresnelParameters.js";
7
+ export * from "./imageProcessingConfiguration.js";
8
+ export * from "./material.js";
9
+ export * from "./materialDefines.js";
10
+ export * from "./clipPlaneMaterialHelper.js";
11
+ export * from "./materialHelper.js";
12
+ export * from "./multiMaterial.js";
13
+ export * from "./Occlusion/index.js";
14
+ export * from "./PBR/index.js";
15
+ export * from "./pushMaterial.js";
16
+ export * from "./shaderLanguage.js";
17
+ export * from "./shaderMaterial.js";
18
+ export * from "./standardMaterial.js";
19
+ export * from "./Textures/index.js";
20
+ export * from "./uniformBuffer.js";
21
+ export * from "./materialFlags.js";
22
+ export * from "./Node/index.js";
23
+ export * from "./effectRenderer.js";
24
+ export * from "./shadowDepthWrapper.js";
25
+ export * from "./drawWrapper.functions.js";
26
+ export * from "./drawWrapper.js";
27
+ export * from "./materialPluginBase.js";
28
+ export * from "./materialPluginManager.js";
29
+ export * from "./materialPluginEvent.js";
30
+ export * from "./material.detailMapConfiguration.js";
31
+ export * from "./material.decalMapConfiguration.js";
32
+ export * from "./materialPluginFactoryExport.js";
33
+ export * from "./GreasedLine/greasedLinePluginMaterial.js";
34
+ export * from "./GreasedLine/greasedLineSimpleMaterial.js";
35
+ export * from "./GreasedLine/greasedLineMaterialInterfaces.js";
36
+ export * from "./GreasedLine/greasedLineMaterialDefaults.js";
37
+ export * from "./meshDebugPluginMaterial.js";
38
+ export * from "./GaussianSplatting/gaussianSplattingMaterial.js";
39
+ export * from "./materialHelper.functions.js";
40
+ export * from "./materialHelper.geometryrendering.js";
41
+ import "./material.decalMap.js";
42
+ export * from "../Shaders/default.fragment.js";
43
+ export * from "../Shaders/default.vertex.js";
44
+ export * from "../ShadersWGSL/default.fragment.js";
45
+ export * from "../ShadersWGSL/default.vertex.js";
46
+ export * from "../Shaders/greasedLine.fragment.js";
47
+ export * from "../Shaders/greasedLine.vertex.js";
48
+ export * from "../ShadersWGSL/greasedLine.fragment.js";
49
+ export * from "../ShadersWGSL/greasedLine.vertex.js";
@@ -1,29 +1,29 @@
1
- import type { IAnimatable } from "../Animations/animatable.interface";
2
- import type { SmartArray } from "../Misc/smartArray";
3
- import { Observable } from "../Misc/observable";
4
- import type { Nullable } from "../types";
5
- import type { Matrix } from "../Maths/math.vector";
6
- import { SubMesh } from "../Meshes/subMesh";
7
- import type { AbstractMesh } from "../Meshes/abstractMesh";
8
- import { UniformBuffer } from "./uniformBuffer";
9
- import type { Effect } from "./effect";
10
- import type { BaseTexture } from "../Materials/Textures/baseTexture";
11
- import type { RenderTargetTexture } from "../Materials/Textures/renderTargetTexture";
12
- import type { MaterialDefines } from "./materialDefines";
13
- import type { IInspectable } from "../Misc/iInspectable";
14
- import { Plane } from "../Maths/math.plane";
15
- import type { ShadowDepthWrapper } from "./shadowDepthWrapper";
16
- import type { IMaterialContext } from "../Engines/IMaterialContext";
17
- import { DrawWrapper } from "./drawWrapper";
18
- import { MaterialStencilState } from "./materialStencilState";
19
- import type { Scene } from "../scene";
20
- import type { MaterialPluginDisposed, MaterialPluginIsReadyForSubMesh, MaterialPluginGetDefineNames, MaterialPluginBindForSubMesh, MaterialPluginGetActiveTextures, MaterialPluginHasTexture, MaterialPluginGetAnimatables, MaterialPluginPrepareDefines, MaterialPluginPrepareEffect, MaterialPluginPrepareUniformBuffer, MaterialPluginCreated, MaterialPluginFillRenderTargetTextures, MaterialPluginHasRenderTargetTextures, MaterialPluginHardBindForSubMesh } from "./materialPluginEvent";
21
- import type { ShaderCustomProcessingFunction } from "../Engines/Processors/shaderProcessingOptions";
22
- import type { IClipPlanesHolder } from "../Misc/interfaces/iClipPlanesHolder";
23
- import type { PrePassRenderer } from "../Rendering/prePassRenderer";
24
- import type { Mesh } from "../Meshes/mesh";
25
- import type { Animation } from "../Animations/animation";
26
- import { ShaderLanguage } from "./shaderLanguage";
1
+ import type { IAnimatable } from "../Animations/animatable.interface.js";
2
+ import type { SmartArray } from "../Misc/smartArray.js";
3
+ import { Observable } from "../Misc/observable.js";
4
+ import type { Nullable } from "../types.js";
5
+ import type { Matrix } from "../Maths/math.vector.js";
6
+ import { SubMesh } from "../Meshes/subMesh.js";
7
+ import type { AbstractMesh } from "../Meshes/abstractMesh.js";
8
+ import { UniformBuffer } from "./uniformBuffer.js";
9
+ import type { Effect } from "./effect.js";
10
+ import type { BaseTexture } from "../Materials/Textures/baseTexture.js";
11
+ import type { RenderTargetTexture } from "../Materials/Textures/renderTargetTexture.js";
12
+ import type { MaterialDefines } from "./materialDefines.js";
13
+ import type { IInspectable } from "../Misc/iInspectable.js";
14
+ import { Plane } from "../Maths/math.plane.js";
15
+ import type { ShadowDepthWrapper } from "./shadowDepthWrapper.js";
16
+ import type { IMaterialContext } from "../Engines/IMaterialContext.js";
17
+ import { DrawWrapper } from "./drawWrapper.js";
18
+ import { MaterialStencilState } from "./materialStencilState.js";
19
+ import type { Scene } from "../scene.js";
20
+ import type { MaterialPluginDisposed, MaterialPluginIsReadyForSubMesh, MaterialPluginGetDefineNames, MaterialPluginBindForSubMesh, MaterialPluginGetActiveTextures, MaterialPluginHasTexture, MaterialPluginGetAnimatables, MaterialPluginPrepareDefines, MaterialPluginPrepareEffect, MaterialPluginPrepareUniformBuffer, MaterialPluginCreated, MaterialPluginFillRenderTargetTextures, MaterialPluginHasRenderTargetTextures, MaterialPluginHardBindForSubMesh } from "./materialPluginEvent.js";
21
+ import type { ShaderCustomProcessingFunction } from "../Engines/Processors/shaderProcessingOptions.js";
22
+ import type { IClipPlanesHolder } from "../Misc/interfaces/iClipPlanesHolder.js";
23
+ import type { PrePassRenderer } from "../Rendering/prePassRenderer.js";
24
+ import type { Mesh } from "../Meshes/mesh.js";
25
+ import type { Animation } from "../Animations/animation.js";
26
+ import { ShaderLanguage } from "./shaderLanguage.js";
27
27
  import type { IAssetContainer } from "../IAssetContainer.js";
28
28
  /**
29
29
  * Options for compiling materials.
@@ -1,3 +1,3 @@
1
- import "./standardMaterial.decalMap";
2
- import "./PBR/pbrMaterial.decalMap";
3
- import "../Meshes/abstractMesh.decalMap";
1
+ import "./standardMaterial.decalMap.js";
2
+ import "./PBR/pbrMaterial.decalMap.js";
3
+ import "../Meshes/abstractMesh.decalMap.js";
@@ -1,12 +1,12 @@
1
- import { MaterialDefines } from "./materialDefines";
2
- import { MaterialPluginBase } from "./materialPluginBase";
1
+ import { MaterialDefines } from "./materialDefines.js";
2
+ import { MaterialPluginBase } from "./materialPluginBase.js";
3
3
  import type { Scene } from "../scene.js";
4
4
  import type { Engine } from "../Engines/engine.js";
5
5
  import type { SubMesh } from "../Meshes/subMesh.js";
6
6
  import type { AbstractMesh } from "../Meshes/abstractMesh.js";
7
- import type { UniformBuffer } from "./uniformBuffer";
8
- import type { PBRBaseMaterial } from "./PBR/pbrBaseMaterial";
9
- import type { StandardMaterial } from "./standardMaterial";
7
+ import type { UniformBuffer } from "./uniformBuffer.js";
8
+ import type { PBRBaseMaterial } from "./PBR/pbrBaseMaterial.js";
9
+ import type { StandardMaterial } from "./standardMaterial.js";
10
10
  /**
11
11
  * @internal
12
12
  */
@@ -1,12 +1,12 @@
1
- import type { Nullable } from "../types";
2
- import type { BaseTexture } from "./Textures/baseTexture";
3
- import type { UniformBuffer } from "./uniformBuffer";
4
- import type { IAnimatable } from "../Animations/animatable.interface";
5
- import { MaterialDefines } from "./materialDefines";
6
- import { MaterialPluginBase } from "./materialPluginBase";
7
- import type { Scene } from "../scene";
8
- import type { StandardMaterial } from "./standardMaterial";
9
- import type { PBRBaseMaterial } from "./PBR/pbrBaseMaterial";
1
+ import type { Nullable } from "../types.js";
2
+ import type { BaseTexture } from "./Textures/baseTexture.js";
3
+ import type { UniformBuffer } from "./uniformBuffer.js";
4
+ import type { IAnimatable } from "../Animations/animatable.interface.js";
5
+ import { MaterialDefines } from "./materialDefines.js";
6
+ import { MaterialPluginBase } from "./materialPluginBase.js";
7
+ import type { Scene } from "../scene.js";
8
+ import type { StandardMaterial } from "./standardMaterial.js";
9
+ import type { PBRBaseMaterial } from "./PBR/pbrBaseMaterial.js";
10
10
  import type { AbstractEngine } from "../Engines/abstractEngine.js";
11
11
  /**
12
12
  * @internal
@@ -1,15 +1,15 @@
1
- import type { Nullable } from "../types";
2
- import type { Scene } from "../scene";
3
- import type { AbstractEngine } from "../Engines/abstractEngine";
4
- import type { AbstractMesh } from "../Meshes/abstractMesh";
5
- import type { Light } from "../Lights/light";
6
- import type { PrePassConfiguration } from "../Materials/prePassConfiguration";
7
- import type { UniformBuffer } from "./uniformBuffer";
8
- import type { Effect, IEffectCreationOptions } from "./effect";
9
- import type { BaseTexture } from "../Materials/Textures/baseTexture";
10
- import type { MaterialDefines } from "./materialDefines";
11
- import type { EffectFallbacks } from "./effectFallbacks";
12
- import type { Material } from "./material";
1
+ import type { Nullable } from "../types.js";
2
+ import type { Scene } from "../scene.js";
3
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
4
+ import type { AbstractMesh } from "../Meshes/abstractMesh.js";
5
+ import type { Light } from "../Lights/light.js";
6
+ import type { PrePassConfiguration } from "../Materials/prePassConfiguration.js";
7
+ import type { UniformBuffer } from "./uniformBuffer.js";
8
+ import type { Effect, IEffectCreationOptions } from "./effect.js";
9
+ import type { BaseTexture } from "../Materials/Textures/baseTexture.js";
10
+ import type { MaterialDefines } from "./materialDefines.js";
11
+ import type { EffectFallbacks } from "./effectFallbacks.js";
12
+ import type { Material } from "./material.js";
13
13
  /**
14
14
  * "Static Class" containing the most commonly used helper while dealing with material for rendering purpose.
15
15
  *
@@ -1,15 +1,15 @@
1
- import type { Scene } from "../scene";
2
- import type { Effect, IEffectCreationOptions } from "./effect";
3
- import type { AbstractMesh } from "../Meshes/abstractMesh";
4
- import type { UniformBuffer } from "./uniformBuffer";
5
- import type { BaseTexture } from "./Textures/baseTexture";
6
- import type { PrePassConfiguration } from "./prePassConfiguration";
7
- import type { Light } from "../Lights/light";
8
- import type { MaterialDefines } from "./materialDefines";
9
- import type { EffectFallbacks } from "./effectFallbacks";
10
- import type { AbstractEngine } from "../Engines/abstractEngine";
11
- import type { Material } from "./material";
12
- import type { Nullable } from "../types";
1
+ import type { Scene } from "../scene.js";
2
+ import type { Effect, IEffectCreationOptions } from "./effect.js";
3
+ import type { AbstractMesh } from "../Meshes/abstractMesh.js";
4
+ import type { UniformBuffer } from "./uniformBuffer.js";
5
+ import type { BaseTexture } from "./Textures/baseTexture.js";
6
+ import type { PrePassConfiguration } from "./prePassConfiguration.js";
7
+ import type { Light } from "../Lights/light.js";
8
+ import type { MaterialDefines } from "./materialDefines.js";
9
+ import type { EffectFallbacks } from "./effectFallbacks.js";
10
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
11
+ import type { Material } from "./material.js";
12
+ import type { Nullable } from "../types.js";
13
13
  import type { MorphTargetManager } from "../Morph/morphTargetManager.js";
14
14
  /**
15
15
  * Binds the logarithmic depth information from the scene to the effect for the given defines.
@@ -1,18 +1,18 @@
1
- import type { Nullable } from "../types";
2
- import { MaterialPluginManager } from "./materialPluginManager";
3
- import type { SmartArray } from "../Misc/smartArray";
4
- import type { AbstractEngine } from "../Engines/abstractEngine";
5
- import type { Scene } from "../scene";
6
- import type { AbstractMesh } from "../Meshes/abstractMesh";
7
- import type { SubMesh } from "../Meshes/subMesh";
8
- import type { IAnimatable } from "../Animations/animatable.interface";
9
- import type { UniformBuffer } from "./uniformBuffer";
10
- import type { EffectFallbacks } from "./effectFallbacks";
11
- import type { MaterialDefines } from "./materialDefines";
12
- import type { Material } from "./material";
13
- import type { BaseTexture } from "./Textures/baseTexture";
14
- import type { RenderTargetTexture } from "./Textures/renderTargetTexture";
15
- import { ShaderLanguage } from "./shaderLanguage";
1
+ import type { Nullable } from "../types.js";
2
+ import { MaterialPluginManager } from "./materialPluginManager.js";
3
+ import type { SmartArray } from "../Misc/smartArray.js";
4
+ import type { AbstractEngine } from "../Engines/abstractEngine.js";
5
+ import type { Scene } from "../scene.js";
6
+ import type { AbstractMesh } from "../Meshes/abstractMesh.js";
7
+ import type { SubMesh } from "../Meshes/subMesh.js";
8
+ import type { IAnimatable } from "../Animations/animatable.interface.js";
9
+ import type { UniformBuffer } from "./uniformBuffer.js";
10
+ import type { EffectFallbacks } from "./effectFallbacks.js";
11
+ import type { MaterialDefines } from "./materialDefines.js";
12
+ import type { Material } from "./material.js";
13
+ import type { BaseTexture } from "./Textures/baseTexture.js";
14
+ import type { RenderTargetTexture } from "./Textures/renderTargetTexture.js";
15
+ import { ShaderLanguage } from "./shaderLanguage.js";
16
16
  /**
17
17
  * Base class for material plugins.
18
18
  * @since 5.0