@babylonjs/core 7.2.2 → 7.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (620) hide show
  1. package/Animations/runtimeAnimation.d.ts +1 -0
  2. package/Animations/runtimeAnimation.js +12 -3
  3. package/Animations/runtimeAnimation.js.map +1 -1
  4. package/Audio/audioEngine.js +2 -2
  5. package/Audio/audioEngine.js.map +1 -1
  6. package/Bones/boneLookController.js +3 -0
  7. package/Bones/boneLookController.js.map +1 -1
  8. package/Buffers/buffer.d.ts +5 -5
  9. package/Buffers/buffer.js.map +1 -1
  10. package/Buffers/storageBuffer.d.ts +2 -2
  11. package/Buffers/storageBuffer.js.map +1 -1
  12. package/Cameras/Inputs/arcRotateCameraKeyboardMoveInput.js.map +1 -1
  13. package/Cameras/Inputs/flyCameraKeyboardInput.js.map +1 -1
  14. package/Cameras/Inputs/followCameraKeyboardMoveInput.js.map +1 -1
  15. package/Cameras/Inputs/freeCameraKeyboardMoveInput.js.map +1 -1
  16. package/Compute/computeEffect.d.ts +3 -3
  17. package/Compute/computeEffect.js.map +1 -1
  18. package/Compute/computeShader.d.ts +10 -2
  19. package/Compute/computeShader.js +53 -35
  20. package/Compute/computeShader.js.map +1 -1
  21. package/DeviceInput/InputDevices/deviceSourceManager.d.ts +2 -2
  22. package/DeviceInput/InputDevices/deviceSourceManager.js.map +1 -1
  23. package/DeviceInput/internalDeviceSourceManager.d.ts +4 -4
  24. package/DeviceInput/internalDeviceSourceManager.js.map +1 -1
  25. package/DeviceInput/webDeviceInputSystem.d.ts +2 -2
  26. package/DeviceInput/webDeviceInputSystem.js.map +1 -1
  27. package/Engines/AbstractEngine/abstractEngine.alpha.d.ts +10 -0
  28. package/Engines/AbstractEngine/abstractEngine.alpha.js +29 -0
  29. package/Engines/AbstractEngine/abstractEngine.alpha.js.map +1 -0
  30. package/Engines/AbstractEngine/abstractEngine.cubeTexture.d.ts +17 -0
  31. package/Engines/AbstractEngine/abstractEngine.cubeTexture.js +138 -0
  32. package/Engines/AbstractEngine/abstractEngine.cubeTexture.js.map +1 -0
  33. package/Engines/AbstractEngine/abstractEngine.dom.d.ts +61 -0
  34. package/Engines/AbstractEngine/abstractEngine.dom.js +27 -0
  35. package/Engines/AbstractEngine/abstractEngine.dom.js.map +1 -0
  36. package/Engines/AbstractEngine/abstractEngine.loadingScreen.d.ts +30 -0
  37. package/Engines/AbstractEngine/abstractEngine.loadingScreen.js +48 -0
  38. package/Engines/AbstractEngine/abstractEngine.loadingScreen.js.map +1 -0
  39. package/Engines/AbstractEngine/abstractEngine.query.d.ts +122 -0
  40. package/Engines/AbstractEngine/abstractEngine.query.js +175 -0
  41. package/Engines/AbstractEngine/abstractEngine.query.js.map +1 -0
  42. package/Engines/AbstractEngine/abstractEngine.renderPass.d.ts +26 -0
  43. package/Engines/AbstractEngine/abstractEngine.renderPass.js +29 -0
  44. package/Engines/AbstractEngine/abstractEngine.renderPass.js.map +1 -0
  45. package/Engines/AbstractEngine/abstractEngine.states.d.ts +162 -0
  46. package/Engines/AbstractEngine/abstractEngine.states.js +105 -0
  47. package/Engines/AbstractEngine/abstractEngine.states.js.map +1 -0
  48. package/Engines/AbstractEngine/abstractEngine.texture.d.ts +16 -0
  49. package/Engines/AbstractEngine/abstractEngine.texture.js +11 -0
  50. package/Engines/AbstractEngine/abstractEngine.texture.js.map +1 -0
  51. package/Engines/AbstractEngine/index.d.ts +8 -0
  52. package/Engines/AbstractEngine/index.js +10 -0
  53. package/Engines/AbstractEngine/index.js.map +1 -0
  54. package/Engines/Extensions/engine.alpha.d.ts +0 -24
  55. package/Engines/Extensions/engine.alpha.js +0 -35
  56. package/Engines/Extensions/engine.alpha.js.map +1 -1
  57. package/Engines/Extensions/engine.computeShader.d.ts +15 -2
  58. package/Engines/Extensions/engine.computeShader.js +5 -1
  59. package/Engines/Extensions/engine.computeShader.js.map +1 -1
  60. package/Engines/Extensions/engine.cubeTexture.d.ts +0 -8
  61. package/Engines/Extensions/engine.cubeTexture.js +2 -135
  62. package/Engines/Extensions/engine.cubeTexture.js.map +1 -1
  63. package/Engines/Extensions/engine.debugging.d.ts +2 -2
  64. package/Engines/Extensions/engine.debugging.js +5 -5
  65. package/Engines/Extensions/engine.debugging.js.map +1 -1
  66. package/Engines/Extensions/engine.dynamicTexture.js +3 -2
  67. package/Engines/Extensions/engine.dynamicTexture.js.map +1 -1
  68. package/Engines/Extensions/engine.multiview.js.map +1 -1
  69. package/Engines/Extensions/engine.query.d.ts +5 -120
  70. package/Engines/Extensions/engine.query.js +14 -150
  71. package/Engines/Extensions/engine.query.js.map +1 -1
  72. package/Engines/Extensions/engine.renderTarget.js +0 -9
  73. package/Engines/Extensions/engine.renderTarget.js.map +1 -1
  74. package/Engines/Extensions/engine.views.d.ts +3 -2
  75. package/Engines/Extensions/engine.views.js.map +1 -1
  76. package/Engines/Processors/iShaderProcessor.d.ts +2 -2
  77. package/Engines/Processors/iShaderProcessor.js.map +1 -1
  78. package/Engines/Processors/shaderProcessor.d.ts +3 -3
  79. package/Engines/Processors/shaderProcessor.js.map +1 -1
  80. package/Engines/WebGL/webGLRenderTargetWrapper.js +12 -9
  81. package/Engines/WebGL/webGLRenderTargetWrapper.js.map +1 -1
  82. package/Engines/WebGL/webGLShaderProcessors.d.ts +2 -2
  83. package/Engines/WebGL/webGLShaderProcessors.js.map +1 -1
  84. package/Engines/WebGPU/Extensions/engine.alpha.d.ts +35 -0
  85. package/Engines/WebGPU/Extensions/engine.alpha.js +4 -4
  86. package/Engines/WebGPU/Extensions/engine.alpha.js.map +1 -1
  87. package/Engines/WebGPU/Extensions/engine.computeShader.d.ts +9 -0
  88. package/Engines/WebGPU/Extensions/engine.computeShader.js +13 -2
  89. package/Engines/WebGPU/Extensions/engine.computeShader.js.map +1 -1
  90. package/Engines/WebGPU/Extensions/engine.cubeTexture.d.ts +78 -1
  91. package/Engines/WebGPU/Extensions/engine.cubeTexture.js.map +1 -1
  92. package/Engines/WebGPU/Extensions/engine.dynamicTexture.d.ts +27 -1
  93. package/Engines/WebGPU/Extensions/engine.dynamicTexture.js +3 -3
  94. package/Engines/WebGPU/Extensions/engine.dynamicTexture.js.map +1 -1
  95. package/Engines/WebGPU/Extensions/engine.externalTexture.d.ts +16 -0
  96. package/Engines/WebGPU/Extensions/engine.externalTexture.js.map +1 -1
  97. package/Engines/WebGPU/Extensions/engine.multiRender.d.ts +55 -1
  98. package/Engines/WebGPU/Extensions/engine.multiRender.js.map +1 -1
  99. package/Engines/WebGPU/Extensions/engine.query.d.ts +1 -1
  100. package/Engines/WebGPU/Extensions/engine.query.js +1 -0
  101. package/Engines/WebGPU/Extensions/engine.query.js.map +1 -1
  102. package/Engines/WebGPU/Extensions/engine.rawTexture.d.ts +185 -1
  103. package/Engines/WebGPU/Extensions/engine.rawTexture.js.map +1 -1
  104. package/Engines/WebGPU/Extensions/engine.readTexture.d.ts +10 -1
  105. package/Engines/WebGPU/Extensions/engine.readTexture.js.map +1 -1
  106. package/Engines/WebGPU/Extensions/engine.renderTarget.d.ts +38 -1
  107. package/Engines/WebGPU/Extensions/engine.renderTarget.js.map +1 -1
  108. package/Engines/WebGPU/Extensions/engine.renderTargetCube.d.ts +13 -1
  109. package/Engines/WebGPU/Extensions/engine.renderTargetCube.js.map +1 -1
  110. package/Engines/WebGPU/Extensions/engine.storageBuffer.d.ts +38 -1
  111. package/Engines/WebGPU/Extensions/engine.storageBuffer.js.map +1 -1
  112. package/Engines/WebGPU/Extensions/engine.textureSampler.d.ts +10 -0
  113. package/Engines/WebGPU/Extensions/engine.textureSampler.js.map +1 -1
  114. package/Engines/WebGPU/Extensions/engine.videoTexture.d.ts +14 -1
  115. package/Engines/WebGPU/Extensions/engine.videoTexture.js.map +1 -1
  116. package/Engines/WebGPU/webgpuShaderProcessorsGLSL.d.ts +2 -2
  117. package/Engines/WebGPU/webgpuShaderProcessorsGLSL.js.map +1 -1
  118. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.d.ts +2 -0
  119. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js +2 -0
  120. package/Engines/WebGPU/webgpuShaderProcessorsWGSL.js.map +1 -1
  121. package/Engines/abstractEngine.d.ts +1695 -0
  122. package/Engines/abstractEngine.js +1362 -0
  123. package/Engines/abstractEngine.js.map +1 -0
  124. package/Engines/engine.common.d.ts +39 -0
  125. package/Engines/engine.common.js +226 -0
  126. package/Engines/engine.common.js.map +1 -0
  127. package/Engines/engine.d.ts +40 -447
  128. package/Engines/engine.js +64 -810
  129. package/Engines/engine.js.map +1 -1
  130. package/Engines/engineFactory.d.ts +2 -2
  131. package/Engines/engineFactory.js.map +1 -1
  132. package/Engines/engineStore.d.ts +4 -4
  133. package/Engines/engineStore.js.map +1 -1
  134. package/Engines/index.d.ts +3 -0
  135. package/Engines/index.js +3 -0
  136. package/Engines/index.js.map +1 -1
  137. package/Engines/nativeEngine.d.ts +1 -1
  138. package/Engines/nativeEngine.js +2 -1
  139. package/Engines/nativeEngine.js.map +1 -1
  140. package/Engines/nullEngine.d.ts +2 -2
  141. package/Engines/nullEngine.js +2 -3
  142. package/Engines/nullEngine.js.map +1 -1
  143. package/Engines/renderTargetWrapper.d.ts +3 -3
  144. package/Engines/renderTargetWrapper.js.map +1 -1
  145. package/Engines/thinEngine.d.ts +34 -597
  146. package/Engines/thinEngine.js +85 -1143
  147. package/Engines/thinEngine.js.map +1 -1
  148. package/Engines/webgpuEngine.d.ts +147 -109
  149. package/Engines/webgpuEngine.js +249 -162
  150. package/Engines/webgpuEngine.js.map +1 -1
  151. package/Instrumentation/engineInstrumentation.d.ts +5 -4
  152. package/Instrumentation/engineInstrumentation.js.map +1 -1
  153. package/Layers/effectLayer.d.ts +2 -2
  154. package/Layers/effectLayer.js +3 -3
  155. package/Layers/effectLayer.js.map +1 -1
  156. package/Layers/effectLayerSceneComponent.js.map +1 -1
  157. package/Layers/glowLayer.js +3 -3
  158. package/Layers/glowLayer.js.map +1 -1
  159. package/Layers/highlightLayer.js +3 -3
  160. package/Layers/highlightLayer.js.map +1 -1
  161. package/Layers/layerSceneComponent.js.map +1 -1
  162. package/Loading/loadingScreen.js +2 -2
  163. package/Loading/loadingScreen.js.map +1 -1
  164. package/Loading/sceneLoader.d.ts +3 -3
  165. package/Loading/sceneLoader.js +1 -1
  166. package/Loading/sceneLoader.js.map +1 -1
  167. package/Materials/GreasedLine/greasedLinePluginMaterial.js.map +1 -1
  168. package/Materials/Node/Blocks/Dual/clipPlanesBlock.d.ts +1 -1
  169. package/Materials/Node/Blocks/Dual/clipPlanesBlock.js +6 -6
  170. package/Materials/Node/Blocks/Dual/clipPlanesBlock.js.map +1 -1
  171. package/Materials/Node/Blocks/Dual/currentScreenBlock.d.ts +2 -3
  172. package/Materials/Node/Blocks/Dual/currentScreenBlock.js +5 -5
  173. package/Materials/Node/Blocks/Dual/currentScreenBlock.js.map +1 -1
  174. package/Materials/Node/Blocks/Dual/fogBlock.d.ts +1 -1
  175. package/Materials/Node/Blocks/Dual/fogBlock.js +4 -4
  176. package/Materials/Node/Blocks/Dual/fogBlock.js.map +1 -1
  177. package/Materials/Node/Blocks/Dual/lightBlock.js +4 -4
  178. package/Materials/Node/Blocks/Dual/lightBlock.js.map +1 -1
  179. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.d.ts +1 -1
  180. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.js +8 -7
  181. package/Materials/Node/Blocks/Dual/reflectionTextureBaseBlock.js.map +1 -1
  182. package/Materials/Node/Blocks/Dual/sceneDepthBlock.d.ts +1 -1
  183. package/Materials/Node/Blocks/Dual/sceneDepthBlock.js +9 -5
  184. package/Materials/Node/Blocks/Dual/sceneDepthBlock.js.map +1 -1
  185. package/Materials/Node/Blocks/Dual/textureBlock.d.ts +4 -2
  186. package/Materials/Node/Blocks/Dual/textureBlock.js +43 -21
  187. package/Materials/Node/Blocks/Dual/textureBlock.js.map +1 -1
  188. package/Materials/Node/Blocks/Fragment/TBNBlock.js +3 -3
  189. package/Materials/Node/Blocks/Fragment/TBNBlock.js.map +1 -1
  190. package/Materials/Node/Blocks/Fragment/derivativeBlock.js +9 -2
  191. package/Materials/Node/Blocks/Fragment/derivativeBlock.js.map +1 -1
  192. package/Materials/Node/Blocks/Fragment/fragCoordBlock.js +1 -1
  193. package/Materials/Node/Blocks/Fragment/fragCoordBlock.js.map +1 -1
  194. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.d.ts +1 -1
  195. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js +16 -8
  196. package/Materials/Node/Blocks/Fragment/fragmentOutputBlock.js.map +1 -1
  197. package/Materials/Node/Blocks/Fragment/frontFacingBlock.js +1 -1
  198. package/Materials/Node/Blocks/Fragment/frontFacingBlock.js.map +1 -1
  199. package/Materials/Node/Blocks/Fragment/heightToNormalBlock.js +2 -2
  200. package/Materials/Node/Blocks/Fragment/heightToNormalBlock.js.map +1 -1
  201. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.js +3 -3
  202. package/Materials/Node/Blocks/Fragment/imageProcessingBlock.js.map +1 -1
  203. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.d.ts +1 -1
  204. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js +4 -4
  205. package/Materials/Node/Blocks/Fragment/perturbNormalBlock.js.map +1 -1
  206. package/Materials/Node/Blocks/Fragment/screenSizeBlock.d.ts +1 -1
  207. package/Materials/Node/Blocks/Fragment/screenSizeBlock.js +2 -2
  208. package/Materials/Node/Blocks/Fragment/screenSizeBlock.js.map +1 -1
  209. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.js +3 -3
  210. package/Materials/Node/Blocks/Fragment/screenSpaceBlock.js.map +1 -1
  211. package/Materials/Node/Blocks/Fragment/shadowMapBlock.d.ts +1 -1
  212. package/Materials/Node/Blocks/Fragment/shadowMapBlock.js +4 -4
  213. package/Materials/Node/Blocks/Fragment/shadowMapBlock.js.map +1 -1
  214. package/Materials/Node/Blocks/Fragment/twirlBlock.js +9 -9
  215. package/Materials/Node/Blocks/Fragment/twirlBlock.js.map +1 -1
  216. package/Materials/Node/Blocks/Input/inputBlock.d.ts +6 -1
  217. package/Materials/Node/Blocks/Input/inputBlock.js +36 -12
  218. package/Materials/Node/Blocks/Input/inputBlock.js.map +1 -1
  219. package/Materials/Node/Blocks/PBR/anisotropyBlock.d.ts +1 -1
  220. package/Materials/Node/Blocks/PBR/anisotropyBlock.js +1 -1
  221. package/Materials/Node/Blocks/PBR/anisotropyBlock.js.map +1 -1
  222. package/Materials/Node/Blocks/PBR/clearCoatBlock.d.ts +1 -1
  223. package/Materials/Node/Blocks/PBR/clearCoatBlock.js +3 -3
  224. package/Materials/Node/Blocks/PBR/clearCoatBlock.js.map +1 -1
  225. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.d.ts +1 -1
  226. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js +9 -9
  227. package/Materials/Node/Blocks/PBR/pbrMetallicRoughnessBlock.js.map +1 -1
  228. package/Materials/Node/Blocks/PBR/reflectionBlock.d.ts +1 -1
  229. package/Materials/Node/Blocks/PBR/reflectionBlock.js +21 -21
  230. package/Materials/Node/Blocks/PBR/reflectionBlock.js.map +1 -1
  231. package/Materials/Node/Blocks/PBR/refractionBlock.d.ts +1 -1
  232. package/Materials/Node/Blocks/PBR/refractionBlock.js +6 -6
  233. package/Materials/Node/Blocks/PBR/refractionBlock.js.map +1 -1
  234. package/Materials/Node/Blocks/PBR/subSurfaceBlock.js +5 -0
  235. package/Materials/Node/Blocks/PBR/subSurfaceBlock.js.map +1 -1
  236. package/Materials/Node/Blocks/Particle/particleBlendMultiplyBlock.js +2 -2
  237. package/Materials/Node/Blocks/Particle/particleBlendMultiplyBlock.js.map +1 -1
  238. package/Materials/Node/Blocks/Particle/particleRampGradientBlock.js +3 -3
  239. package/Materials/Node/Blocks/Particle/particleRampGradientBlock.js.map +1 -1
  240. package/Materials/Node/Blocks/Particle/particleTextureBlock.js +1 -1
  241. package/Materials/Node/Blocks/Particle/particleTextureBlock.js.map +1 -1
  242. package/Materials/Node/Blocks/Teleport/teleportOutBlock.js +1 -1
  243. package/Materials/Node/Blocks/Teleport/teleportOutBlock.js.map +1 -1
  244. package/Materials/Node/Blocks/Vertex/bonesBlock.js +2 -2
  245. package/Materials/Node/Blocks/Vertex/bonesBlock.js.map +1 -1
  246. package/Materials/Node/Blocks/Vertex/instancesBlock.js +5 -5
  247. package/Materials/Node/Blocks/Vertex/instancesBlock.js.map +1 -1
  248. package/Materials/Node/Blocks/Vertex/lightInformationBlock.d.ts +1 -1
  249. package/Materials/Node/Blocks/Vertex/lightInformationBlock.js +12 -12
  250. package/Materials/Node/Blocks/Vertex/lightInformationBlock.js.map +1 -1
  251. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.js +7 -7
  252. package/Materials/Node/Blocks/Vertex/morphTargetsBlock.js.map +1 -1
  253. package/Materials/Node/Blocks/Vertex/vertexOutputBlock.d.ts +1 -1
  254. package/Materials/Node/Blocks/Vertex/vertexOutputBlock.js +10 -3
  255. package/Materials/Node/Blocks/Vertex/vertexOutputBlock.js.map +1 -1
  256. package/Materials/Node/Blocks/addBlock.js +2 -1
  257. package/Materials/Node/Blocks/addBlock.js.map +1 -1
  258. package/Materials/Node/Blocks/arcTan2Block.js +3 -1
  259. package/Materials/Node/Blocks/arcTan2Block.js.map +1 -1
  260. package/Materials/Node/Blocks/clampBlock.js +1 -1
  261. package/Materials/Node/Blocks/clampBlock.js.map +1 -1
  262. package/Materials/Node/Blocks/cloudBlock.js +1 -1
  263. package/Materials/Node/Blocks/cloudBlock.js.map +1 -1
  264. package/Materials/Node/Blocks/colorMergerBlock.js +9 -7
  265. package/Materials/Node/Blocks/colorMergerBlock.js.map +1 -1
  266. package/Materials/Node/Blocks/colorSplitterBlock.js +5 -5
  267. package/Materials/Node/Blocks/colorSplitterBlock.js.map +1 -1
  268. package/Materials/Node/Blocks/conditionalBlock.js +18 -12
  269. package/Materials/Node/Blocks/conditionalBlock.js.map +1 -1
  270. package/Materials/Node/Blocks/crossBlock.js +1 -1
  271. package/Materials/Node/Blocks/crossBlock.js.map +1 -1
  272. package/Materials/Node/Blocks/curveBlock.js +48 -53
  273. package/Materials/Node/Blocks/curveBlock.js.map +1 -1
  274. package/Materials/Node/Blocks/customBlock.js +1 -1
  275. package/Materials/Node/Blocks/customBlock.js.map +1 -1
  276. package/Materials/Node/Blocks/desaturateBlock.js +5 -4
  277. package/Materials/Node/Blocks/desaturateBlock.js.map +1 -1
  278. package/Materials/Node/Blocks/distanceBlock.js +1 -1
  279. package/Materials/Node/Blocks/distanceBlock.js.map +1 -1
  280. package/Materials/Node/Blocks/divideBlock.js +2 -1
  281. package/Materials/Node/Blocks/divideBlock.js.map +1 -1
  282. package/Materials/Node/Blocks/dotBlock.js +1 -1
  283. package/Materials/Node/Blocks/dotBlock.js.map +1 -1
  284. package/Materials/Node/Blocks/elbowBlock.js +1 -1
  285. package/Materials/Node/Blocks/elbowBlock.js.map +1 -1
  286. package/Materials/Node/Blocks/fresnelBlock.js +1 -1
  287. package/Materials/Node/Blocks/fresnelBlock.js.map +1 -1
  288. package/Materials/Node/Blocks/gradientBlock.js +8 -7
  289. package/Materials/Node/Blocks/gradientBlock.js.map +1 -1
  290. package/Materials/Node/Blocks/lengthBlock.js +1 -1
  291. package/Materials/Node/Blocks/lengthBlock.js.map +1 -1
  292. package/Materials/Node/Blocks/lerpBlock.js +1 -1
  293. package/Materials/Node/Blocks/lerpBlock.js.map +1 -1
  294. package/Materials/Node/Blocks/matrixBuilderBlock.js +1 -1
  295. package/Materials/Node/Blocks/matrixBuilderBlock.js.map +1 -1
  296. package/Materials/Node/Blocks/matrixDeterminantBlock.js +1 -1
  297. package/Materials/Node/Blocks/matrixDeterminantBlock.js.map +1 -1
  298. package/Materials/Node/Blocks/matrixTransposeBlock.js +1 -1
  299. package/Materials/Node/Blocks/matrixTransposeBlock.js.map +1 -1
  300. package/Materials/Node/Blocks/maxBlock.js +1 -1
  301. package/Materials/Node/Blocks/maxBlock.js.map +1 -1
  302. package/Materials/Node/Blocks/meshAttributeExistsBlock.js +1 -1
  303. package/Materials/Node/Blocks/meshAttributeExistsBlock.js.map +1 -1
  304. package/Materials/Node/Blocks/minBlock.js +1 -1
  305. package/Materials/Node/Blocks/minBlock.js.map +1 -1
  306. package/Materials/Node/Blocks/modBlock.js +1 -1
  307. package/Materials/Node/Blocks/modBlock.js.map +1 -1
  308. package/Materials/Node/Blocks/multiplyBlock.js +2 -1
  309. package/Materials/Node/Blocks/multiplyBlock.js.map +1 -1
  310. package/Materials/Node/Blocks/nLerpBlock.js +1 -1
  311. package/Materials/Node/Blocks/nLerpBlock.js.map +1 -1
  312. package/Materials/Node/Blocks/negateBlock.js +1 -1
  313. package/Materials/Node/Blocks/negateBlock.js.map +1 -1
  314. package/Materials/Node/Blocks/normalBlendBlock.js +1 -1
  315. package/Materials/Node/Blocks/normalBlendBlock.js.map +1 -1
  316. package/Materials/Node/Blocks/normalizeBlock.js +1 -1
  317. package/Materials/Node/Blocks/normalizeBlock.js.map +1 -1
  318. package/Materials/Node/Blocks/oneMinusBlock.js +1 -1
  319. package/Materials/Node/Blocks/oneMinusBlock.js.map +1 -1
  320. package/Materials/Node/Blocks/posterizeBlock.js +1 -1
  321. package/Materials/Node/Blocks/posterizeBlock.js.map +1 -1
  322. package/Materials/Node/Blocks/powBlock.js +1 -1
  323. package/Materials/Node/Blocks/powBlock.js.map +1 -1
  324. package/Materials/Node/Blocks/randomNumberBlock.js +1 -1
  325. package/Materials/Node/Blocks/randomNumberBlock.js.map +1 -1
  326. package/Materials/Node/Blocks/reciprocalBlock.js +2 -2
  327. package/Materials/Node/Blocks/reciprocalBlock.js.map +1 -1
  328. package/Materials/Node/Blocks/reflectBlock.js +1 -1
  329. package/Materials/Node/Blocks/reflectBlock.js.map +1 -1
  330. package/Materials/Node/Blocks/refractBlock.js +1 -1
  331. package/Materials/Node/Blocks/refractBlock.js.map +1 -1
  332. package/Materials/Node/Blocks/remapBlock.js +1 -1
  333. package/Materials/Node/Blocks/remapBlock.js.map +1 -1
  334. package/Materials/Node/Blocks/replaceColorBlock.js +1 -1
  335. package/Materials/Node/Blocks/replaceColorBlock.js.map +1 -1
  336. package/Materials/Node/Blocks/rotate2dBlock.js +1 -1
  337. package/Materials/Node/Blocks/rotate2dBlock.js.map +1 -1
  338. package/Materials/Node/Blocks/scaleBlock.js +1 -1
  339. package/Materials/Node/Blocks/scaleBlock.js.map +1 -1
  340. package/Materials/Node/Blocks/simplexPerlin3DBlock.js +1 -1
  341. package/Materials/Node/Blocks/simplexPerlin3DBlock.js.map +1 -1
  342. package/Materials/Node/Blocks/smoothStepBlock.js +3 -2
  343. package/Materials/Node/Blocks/smoothStepBlock.js.map +1 -1
  344. package/Materials/Node/Blocks/stepBlock.js +1 -1
  345. package/Materials/Node/Blocks/stepBlock.js.map +1 -1
  346. package/Materials/Node/Blocks/subtractBlock.js +2 -1
  347. package/Materials/Node/Blocks/subtractBlock.js.map +1 -1
  348. package/Materials/Node/Blocks/transformBlock.js +18 -10
  349. package/Materials/Node/Blocks/transformBlock.js.map +1 -1
  350. package/Materials/Node/Blocks/triPlanarBlock.d.ts +1 -1
  351. package/Materials/Node/Blocks/triPlanarBlock.js +2 -2
  352. package/Materials/Node/Blocks/triPlanarBlock.js.map +1 -1
  353. package/Materials/Node/Blocks/trigonometryBlock.js +1 -1
  354. package/Materials/Node/Blocks/trigonometryBlock.js.map +1 -1
  355. package/Materials/Node/Blocks/vectorMergerBlock.js +30 -27
  356. package/Materials/Node/Blocks/vectorMergerBlock.js.map +1 -1
  357. package/Materials/Node/Blocks/vectorSplitterBlock.js +9 -8
  358. package/Materials/Node/Blocks/vectorSplitterBlock.js.map +1 -1
  359. package/Materials/Node/Blocks/viewDirectionBlock.js +1 -1
  360. package/Materials/Node/Blocks/viewDirectionBlock.js.map +1 -1
  361. package/Materials/Node/Blocks/voronoiNoiseBlock.js +19 -8
  362. package/Materials/Node/Blocks/voronoiNoiseBlock.js.map +1 -1
  363. package/Materials/Node/Blocks/waveBlock.js +3 -3
  364. package/Materials/Node/Blocks/waveBlock.js.map +1 -1
  365. package/Materials/Node/Blocks/worleyNoise3DBlock.js +3 -3
  366. package/Materials/Node/Blocks/worleyNoise3DBlock.js.map +1 -1
  367. package/Materials/Node/nodeMaterial.d.ts +9 -3
  368. package/Materials/Node/nodeMaterial.js +29 -4
  369. package/Materials/Node/nodeMaterial.js.map +1 -1
  370. package/Materials/Node/nodeMaterialBlock.d.ts +0 -1
  371. package/Materials/Node/nodeMaterialBlock.js +6 -6
  372. package/Materials/Node/nodeMaterialBlock.js.map +1 -1
  373. package/Materials/Node/nodeMaterialBlockConnectionPoint.d.ts +4 -0
  374. package/Materials/Node/nodeMaterialBlockConnectionPoint.js +12 -0
  375. package/Materials/Node/nodeMaterialBlockConnectionPoint.js.map +1 -1
  376. package/Materials/Node/nodeMaterialBuildState.d.ts +35 -3
  377. package/Materials/Node/nodeMaterialBuildState.js +169 -16
  378. package/Materials/Node/nodeMaterialBuildState.js.map +1 -1
  379. package/Materials/PBR/pbrSubSurfaceConfiguration.d.ts +18 -4
  380. package/Materials/PBR/pbrSubSurfaceConfiguration.js +60 -9
  381. package/Materials/PBR/pbrSubSurfaceConfiguration.js.map +1 -1
  382. package/Materials/Textures/Filtering/hdrFiltering.d.ts +2 -2
  383. package/Materials/Textures/Filtering/hdrFiltering.js.map +1 -1
  384. package/Materials/Textures/Loaders/basisTextureLoader.js +2 -2
  385. package/Materials/Textures/Loaders/basisTextureLoader.js.map +1 -1
  386. package/Materials/Textures/MultiviewRenderTarget.d.ts +1 -0
  387. package/Materials/Textures/MultiviewRenderTarget.js +1 -0
  388. package/Materials/Textures/MultiviewRenderTarget.js.map +1 -1
  389. package/Materials/Textures/Procedurals/proceduralTexture.js +1 -1
  390. package/Materials/Textures/Procedurals/proceduralTexture.js.map +1 -1
  391. package/Materials/Textures/baseTexture.d.ts +3 -3
  392. package/Materials/Textures/baseTexture.js.map +1 -1
  393. package/Materials/Textures/colorGradingTexture.d.ts +2 -2
  394. package/Materials/Textures/colorGradingTexture.js.map +1 -1
  395. package/Materials/Textures/cubeTexture.d.ts +3 -2
  396. package/Materials/Textures/cubeTexture.js +1 -0
  397. package/Materials/Textures/cubeTexture.js.map +1 -1
  398. package/Materials/Textures/hdrCubeTexture.d.ts +2 -2
  399. package/Materials/Textures/hdrCubeTexture.js.map +1 -1
  400. package/Materials/Textures/htmlElementTexture.d.ts +2 -2
  401. package/Materials/Textures/htmlElementTexture.js.map +1 -1
  402. package/Materials/Textures/internalTexture.d.ts +3 -3
  403. package/Materials/Textures/internalTexture.js.map +1 -1
  404. package/Materials/Textures/rawTexture.d.ts +10 -10
  405. package/Materials/Textures/rawTexture.js.map +1 -1
  406. package/Materials/Textures/renderTargetTexture.d.ts +4 -4
  407. package/Materials/Textures/renderTargetTexture.js +4 -4
  408. package/Materials/Textures/renderTargetTexture.js.map +1 -1
  409. package/Materials/Textures/texture.d.ts +2 -2
  410. package/Materials/Textures/texture.js.map +1 -1
  411. package/Materials/Textures/thinTexture.d.ts +3 -3
  412. package/Materials/Textures/thinTexture.js +1 -1
  413. package/Materials/Textures/thinTexture.js.map +1 -1
  414. package/Materials/drawWrapper.d.ts +2 -3
  415. package/Materials/drawWrapper.functions.d.ts +8 -0
  416. package/Materials/drawWrapper.functions.js +9 -0
  417. package/Materials/drawWrapper.functions.js.map +1 -0
  418. package/Materials/drawWrapper.js +0 -3
  419. package/Materials/drawWrapper.js.map +1 -1
  420. package/Materials/effect.d.ts +4 -5
  421. package/Materials/effect.js.map +1 -1
  422. package/Materials/effectRenderer.d.ts +4 -4
  423. package/Materials/effectRenderer.js.map +1 -1
  424. package/Materials/index.d.ts +1 -0
  425. package/Materials/index.js +1 -0
  426. package/Materials/index.js.map +1 -1
  427. package/Materials/materialFlags.d.ts +6 -0
  428. package/Materials/materialFlags.js +15 -1
  429. package/Materials/materialFlags.js.map +1 -1
  430. package/Materials/materialHelper.functions.d.ts +2 -2
  431. package/Materials/materialHelper.functions.js.map +1 -1
  432. package/Materials/materialPluginBase.d.ts +4 -4
  433. package/Materials/materialPluginBase.js.map +1 -1
  434. package/Materials/materialPluginManager.d.ts +2 -2
  435. package/Materials/materialPluginManager.js.map +1 -1
  436. package/Materials/meshDebugPluginMaterial.js +1 -1
  437. package/Materials/meshDebugPluginMaterial.js.map +1 -1
  438. package/Materials/uniformBuffer.d.ts +2 -2
  439. package/Materials/uniformBuffer.js.map +1 -1
  440. package/Meshes/Builders/greasedLineBuilder.d.ts +6 -0
  441. package/Meshes/Builders/greasedLineBuilder.js +15 -8
  442. package/Meshes/Builders/greasedLineBuilder.js.map +1 -1
  443. package/Meshes/Compression/meshoptCompression.js +4 -3
  444. package/Meshes/Compression/meshoptCompression.js.map +1 -1
  445. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js +1 -1
  446. package/Meshes/GaussianSplatting/gaussianSplattingMesh.js.map +1 -1
  447. package/Meshes/GreasedLine/greasedLineBaseMesh.d.ts +2 -2
  448. package/Meshes/GreasedLine/greasedLineBaseMesh.js.map +1 -1
  449. package/Meshes/GreasedLine/greasedLineMesh.js +1 -1
  450. package/Meshes/GreasedLine/greasedLineMesh.js.map +1 -1
  451. package/Meshes/geometry.d.ts +2 -2
  452. package/Meshes/geometry.js +3 -2
  453. package/Meshes/geometry.js.map +1 -1
  454. package/Meshes/instancedMesh.js.map +1 -1
  455. package/Meshes/mesh.d.ts +3 -3
  456. package/Meshes/mesh.js.map +1 -1
  457. package/Meshes/subMesh.d.ts +2 -2
  458. package/Meshes/subMesh.js.map +1 -1
  459. package/Misc/PerformanceViewer/performanceViewerCollectionStrategies.js.map +1 -1
  460. package/Misc/copyTextureToTexture.d.ts +2 -2
  461. package/Misc/copyTextureToTexture.js.map +1 -1
  462. package/Misc/dds.d.ts +3 -2
  463. package/Misc/dds.js +2 -1
  464. package/Misc/dds.js.map +1 -1
  465. package/Misc/dumpTools.d.ts +2 -2
  466. package/Misc/dumpTools.js.map +1 -1
  467. package/Misc/fileTools.js +3 -3
  468. package/Misc/fileTools.js.map +1 -1
  469. package/Misc/filesInput.d.ts +2 -2
  470. package/Misc/filesInput.js.map +1 -1
  471. package/Misc/khronosTextureContainer2.d.ts +8 -2
  472. package/Misc/khronosTextureContainer2.js +3 -2
  473. package/Misc/khronosTextureContainer2.js.map +1 -1
  474. package/Misc/minMaxReducer.d.ts +2 -2
  475. package/Misc/minMaxReducer.js.map +1 -1
  476. package/Misc/screenshotTools.d.ts +6 -6
  477. package/Misc/screenshotTools.js.map +1 -1
  478. package/Misc/textureTools.js.map +1 -1
  479. package/Misc/tools.d.ts +7 -7
  480. package/Misc/tools.functions.d.ts +26 -0
  481. package/Misc/tools.functions.js +62 -0
  482. package/Misc/tools.functions.js.map +1 -1
  483. package/Misc/tools.js.map +1 -1
  484. package/Misc/videoRecorder.d.ts +3 -3
  485. package/Misc/videoRecorder.js.map +1 -1
  486. package/Particles/baseParticleSystem.d.ts +2 -2
  487. package/Particles/baseParticleSystem.js.map +1 -1
  488. package/Particles/computeShaderParticleSystem.d.ts +2 -2
  489. package/Particles/computeShaderParticleSystem.js.map +1 -1
  490. package/Particles/gpuParticleSystem.d.ts +3 -3
  491. package/Particles/gpuParticleSystem.js +2 -2
  492. package/Particles/gpuParticleSystem.js.map +1 -1
  493. package/Particles/particle.js +1 -1
  494. package/Particles/particle.js.map +1 -1
  495. package/Particles/particleSystem.d.ts +3 -3
  496. package/Particles/particleSystem.js +3 -3
  497. package/Particles/particleSystem.js.map +1 -1
  498. package/Particles/particleSystemComponent.d.ts +2 -2
  499. package/Particles/particleSystemComponent.js +2 -2
  500. package/Particles/particleSystemComponent.js.map +1 -1
  501. package/Particles/subEmitter.d.ts +3 -3
  502. package/Particles/subEmitter.js.map +1 -1
  503. package/Particles/thinParticleSystem.d.ts +2 -2
  504. package/Particles/thinParticleSystem.js.map +1 -1
  505. package/Physics/v2/physicsBody.js +3 -3
  506. package/Physics/v2/physicsBody.js.map +1 -1
  507. package/PostProcesses/RenderPipeline/Pipelines/defaultRenderingPipeline.js.map +1 -1
  508. package/PostProcesses/RenderPipeline/postProcessRenderEffect.d.ts +2 -2
  509. package/PostProcesses/RenderPipeline/postProcessRenderEffect.js.map +1 -1
  510. package/PostProcesses/RenderPipeline/postProcessRenderPipeline.d.ts +2 -2
  511. package/PostProcesses/RenderPipeline/postProcessRenderPipeline.js.map +1 -1
  512. package/PostProcesses/blackAndWhitePostProcess.d.ts +2 -2
  513. package/PostProcesses/blackAndWhitePostProcess.js.map +1 -1
  514. package/PostProcesses/bloomMergePostProcess.d.ts +2 -2
  515. package/PostProcesses/bloomMergePostProcess.js.map +1 -1
  516. package/PostProcesses/blurPostProcess.d.ts +2 -2
  517. package/PostProcesses/blurPostProcess.js.map +1 -1
  518. package/PostProcesses/chromaticAberrationPostProcess.d.ts +2 -2
  519. package/PostProcesses/chromaticAberrationPostProcess.js.map +1 -1
  520. package/PostProcesses/circleOfConfusionPostProcess.d.ts +2 -2
  521. package/PostProcesses/circleOfConfusionPostProcess.js.map +1 -1
  522. package/PostProcesses/colorCorrectionPostProcess.d.ts +2 -2
  523. package/PostProcesses/colorCorrectionPostProcess.js.map +1 -1
  524. package/PostProcesses/convolutionPostProcess.d.ts +2 -2
  525. package/PostProcesses/convolutionPostProcess.js.map +1 -1
  526. package/PostProcesses/depthOfFieldBlurPostProcess.d.ts +2 -2
  527. package/PostProcesses/depthOfFieldBlurPostProcess.js.map +1 -1
  528. package/PostProcesses/depthOfFieldEffect.js +1 -1
  529. package/PostProcesses/depthOfFieldEffect.js.map +1 -1
  530. package/PostProcesses/depthOfFieldMergePostProcess.d.ts +2 -2
  531. package/PostProcesses/depthOfFieldMergePostProcess.js.map +1 -1
  532. package/PostProcesses/displayPassPostProcess.d.ts +2 -2
  533. package/PostProcesses/displayPassPostProcess.js.map +1 -1
  534. package/PostProcesses/extractHighlightsPostProcess.d.ts +2 -2
  535. package/PostProcesses/extractHighlightsPostProcess.js.map +1 -1
  536. package/PostProcesses/filterPostProcess.d.ts +2 -2
  537. package/PostProcesses/filterPostProcess.js.map +1 -1
  538. package/PostProcesses/fxaaPostProcess.d.ts +2 -2
  539. package/PostProcesses/fxaaPostProcess.js +2 -2
  540. package/PostProcesses/fxaaPostProcess.js.map +1 -1
  541. package/PostProcesses/grainPostProcess.d.ts +2 -2
  542. package/PostProcesses/grainPostProcess.js.map +1 -1
  543. package/PostProcesses/imageProcessingPostProcess.d.ts +2 -2
  544. package/PostProcesses/imageProcessingPostProcess.js.map +1 -1
  545. package/PostProcesses/motionBlurPostProcess.d.ts +2 -2
  546. package/PostProcesses/motionBlurPostProcess.js.map +1 -1
  547. package/PostProcesses/passPostProcess.d.ts +3 -3
  548. package/PostProcesses/passPostProcess.js +2 -2
  549. package/PostProcesses/passPostProcess.js.map +1 -1
  550. package/PostProcesses/postProcess.d.ts +4 -5
  551. package/PostProcesses/postProcess.js +3 -3
  552. package/PostProcesses/postProcess.js.map +1 -1
  553. package/PostProcesses/refractionPostProcess.d.ts +2 -2
  554. package/PostProcesses/refractionPostProcess.js.map +1 -1
  555. package/PostProcesses/screenSpaceCurvaturePostProcess.d.ts +2 -2
  556. package/PostProcesses/screenSpaceCurvaturePostProcess.js.map +1 -1
  557. package/PostProcesses/screenSpaceReflectionPostProcess.d.ts +2 -2
  558. package/PostProcesses/screenSpaceReflectionPostProcess.js.map +1 -1
  559. package/PostProcesses/sharpenPostProcess.d.ts +2 -2
  560. package/PostProcesses/sharpenPostProcess.js.map +1 -1
  561. package/PostProcesses/subSurfaceScatteringPostProcess.d.ts +2 -2
  562. package/PostProcesses/subSurfaceScatteringPostProcess.js.map +1 -1
  563. package/PostProcesses/volumetricLightScatteringPostProcess.d.ts +2 -2
  564. package/PostProcesses/volumetricLightScatteringPostProcess.js.map +1 -1
  565. package/Rendering/GlobalIllumination/giRSMManager.js.map +1 -1
  566. package/Rendering/depthPeelingRenderer.js.map +1 -1
  567. package/Rendering/fluidRenderer/fluidRenderer.js.map +1 -1
  568. package/Rendering/fluidRenderer/fluidRenderingDepthTextureCopy.d.ts +2 -2
  569. package/Rendering/fluidRenderer/fluidRenderingDepthTextureCopy.js.map +1 -1
  570. package/Rendering/fluidRenderer/fluidRenderingObject.d.ts +2 -2
  571. package/Rendering/fluidRenderer/fluidRenderingObject.js.map +1 -1
  572. package/Rendering/fluidRenderer/fluidRenderingTargetRenderer.d.ts +2 -2
  573. package/Rendering/fluidRenderer/fluidRenderingTargetRenderer.js.map +1 -1
  574. package/Rendering/fluidRenderer/fluidRenderingTextures.d.ts +2 -2
  575. package/Rendering/fluidRenderer/fluidRenderingTextures.js.map +1 -1
  576. package/Rendering/geometryBufferRenderer.js +24 -18
  577. package/Rendering/geometryBufferRenderer.js.map +1 -1
  578. package/Rendering/outlineRenderer.js.map +1 -1
  579. package/Rendering/prePassRenderer.js.map +1 -1
  580. package/Shaders/ShadersInclude/pbrBlockSubSurface.js +19 -3
  581. package/Shaders/ShadersInclude/pbrBlockSubSurface.js.map +1 -1
  582. package/Shaders/ShadersInclude/pbrFragmentDeclaration.js +4 -1
  583. package/Shaders/ShadersInclude/pbrFragmentDeclaration.js.map +1 -1
  584. package/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.js +1 -0
  585. package/Shaders/ShadersInclude/pbrFragmentSamplersDeclaration.js.map +1 -1
  586. package/Shaders/ShadersInclude/pbrVertexDeclaration.js +3 -0
  587. package/Shaders/ShadersInclude/pbrVertexDeclaration.js.map +1 -1
  588. package/Shaders/pbr.fragment.js +7 -0
  589. package/Shaders/pbr.fragment.js.map +1 -1
  590. package/Shaders/pbr.vertex.js +2 -0
  591. package/Shaders/pbr.vertex.js.map +1 -1
  592. package/ShadersWGSL/ShadersInclude/fresnelFunction.d.ts +5 -0
  593. package/ShadersWGSL/ShadersInclude/fresnelFunction.js +13 -0
  594. package/ShadersWGSL/ShadersInclude/fresnelFunction.js.map +1 -0
  595. package/ShadersWGSL/ShadersInclude/helperFunctions.d.ts +5 -0
  596. package/ShadersWGSL/ShadersInclude/helperFunctions.js +68 -0
  597. package/ShadersWGSL/ShadersInclude/helperFunctions.js.map +1 -0
  598. package/Sprites/spriteRenderer.d.ts +2 -2
  599. package/Sprites/spriteRenderer.js.map +1 -1
  600. package/XR/features/WebXRDepthSensing.js.map +1 -1
  601. package/XR/features/WebXRImageTracking.js.map +1 -1
  602. package/XR/features/WebXRLayers.d.ts +2 -2
  603. package/XR/features/WebXRLayers.js.map +1 -1
  604. package/XR/features/WebXRLightEstimation.js.map +1 -1
  605. package/XR/features/WebXRRawCameraAccess.d.ts +1 -1
  606. package/XR/features/WebXRRawCameraAccess.js.map +1 -1
  607. package/XR/features/WebXRSpaceWarp.js +1 -3
  608. package/XR/features/WebXRSpaceWarp.js.map +1 -1
  609. package/XR/features/WebXRWalkingLocomotion.js.map +1 -1
  610. package/XR/webXRExperienceHelper.js.map +1 -1
  611. package/XR/webXRManagedOutputCanvas.d.ts +2 -2
  612. package/XR/webXRManagedOutputCanvas.js.map +1 -1
  613. package/XR/webXRRenderTargetTextureProvider.js.map +1 -1
  614. package/XR/webXRSessionManager.js.map +1 -1
  615. package/assetContainer.js.map +1 -1
  616. package/node.d.ts +2 -2
  617. package/node.js.map +1 -1
  618. package/package.json +1 -1
  619. package/scene.d.ts +3 -3
  620. package/scene.js.map +1 -1
@@ -1,5 +1,4 @@
1
1
 
2
- import { Observable } from "../Misc/observable";
3
2
  import type { Nullable } from "../types";
4
3
  import type { Scene } from "../scene";
5
4
  import { InternalTexture } from "../Materials/Textures/internalTexture";
@@ -14,23 +13,19 @@ import type { IViewportLike, IColor4Like } from "../Maths/math.like";
14
13
  import type { RenderTargetTexture } from "../Materials/Textures/renderTargetTexture";
15
14
  import { PerformanceMonitor } from "../Misc/performanceMonitor";
16
15
  import type { DataBuffer } from "../Buffers/dataBuffer";
17
- import { PerfCounter } from "../Misc/perfCounter";
18
16
  import type { RenderTargetWrapper } from "./renderTargetWrapper";
19
17
  import "./Extensions/engine.alpha";
20
18
  import "./Extensions/engine.readTexture";
21
19
  import "./Extensions/engine.dynamicBuffer";
22
- import type { IAudioEngine } from "../Audio/Interfaces/IAudioEngine";
20
+ import "./AbstractEngine/abstractEngine.loadingScreen";
21
+ import "./AbstractEngine/abstractEngine.dom";
22
+ import "./AbstractEngine/abstractEngine.states";
23
+ import "./AbstractEngine/abstractEngine.renderPass";
24
+ import "./AbstractEngine/abstractEngine.texture";
23
25
  import type { Material } from "../Materials/material";
24
26
  import type { PostProcess } from "../PostProcesses/postProcess";
25
- /**
26
- * Defines the interface used by objects containing a viewport (like a camera)
27
- */
28
- interface IViewportOwnerLike {
29
- /**
30
- * Gets or sets the viewport
31
- */
32
- viewport: IViewportLike;
33
- }
27
+ import { AbstractEngine } from "./abstractEngine";
28
+ import "../Audio/audioEngine";
34
29
  /**
35
30
  * The engine class is responsible for interfacing with all lower-level APIs such as WebGL and Audio
36
31
  */
@@ -232,38 +227,16 @@ export declare class Engine extends ThinEngine {
232
227
  */
233
228
  static get Version(): string;
234
229
  /** Gets the list of created engines */
235
- static get Instances(): Engine[];
230
+ static get Instances(): AbstractEngine[];
236
231
  /**
237
232
  * Gets the latest created engine
238
233
  */
239
- static get LastCreatedEngine(): Nullable<Engine>;
234
+ static get LastCreatedEngine(): Nullable<AbstractEngine>;
240
235
  /**
241
236
  * Gets the latest created scene
242
237
  */
243
238
  static get LastCreatedScene(): Nullable<Scene>;
244
239
  /** @internal */
245
- /**
246
- * Engine abstraction for loading and creating an image bitmap from a given source string.
247
- * @param imageSource source to load the image from.
248
- * @param options An object that sets options for the image's extraction.
249
- * @returns ImageBitmap.
250
- */
251
- _createImageBitmapFromSource(imageSource: string, options?: ImageBitmapOptions): Promise<ImageBitmap>;
252
- /**
253
- * Engine abstraction for createImageBitmap
254
- * @param image source for image
255
- * @param options An object that sets options for the image's extraction.
256
- * @returns ImageBitmap
257
- */
258
- createImageBitmap(image: ImageBitmapSource, options?: ImageBitmapOptions): Promise<ImageBitmap>;
259
- /**
260
- * Resize an image and returns the image data as an uint8array
261
- * @param image image to resize
262
- * @param bufferWidth destination buffer width
263
- * @param bufferHeight destination buffer height
264
- * @returns an uint8array containing RGBA values of bufferWidth * bufferHeight size
265
- */
266
- resizeImageBitmap(image: HTMLImageElement | ImageBitmap, bufferWidth: number, bufferHeight: number): Uint8Array;
267
240
  /**
268
241
  * Will flag all materials in all scenes in all engines as dirty to trigger new shader compilation
269
242
  * @param flag defines which part of the materials must be marked as dirty
@@ -277,136 +250,19 @@ export declare class Engine extends ThinEngine {
277
250
  * @returns The loading screen
278
251
  */
279
252
  static DefaultLoadingScreenFactory(canvas: HTMLCanvasElement): ILoadingScreen;
280
- /**
281
- * Method called to create the default rescale post process on each engine.
282
- */
283
- static _RescalePostProcessFactory: Nullable<(engine: Engine) => PostProcess>;
284
- /**
285
- * Gets or sets a boolean to enable/disable IndexedDB support and avoid XHR on .manifest
286
- **/
287
- enableOfflineSupport: boolean;
288
- /**
289
- * Gets or sets a boolean to enable/disable checking manifest if IndexedDB support is enabled (js will always consider the database is up to date)
290
- **/
291
- disableManifestCheck: boolean;
292
- /**
293
- * Gets or sets a boolean to enable/disable the context menu (right-click) from appearing on the main canvas
294
- */
295
- disableContextMenu: boolean;
296
- /**
297
- * Gets the list of created scenes
298
- */
299
- scenes: Scene[];
300
- /** @internal */
301
- _virtualScenes: Scene[];
302
- /**
303
- * Event raised when a new scene is created
304
- */
305
- onNewSceneAddedObservable: Observable<Scene>;
306
- /**
307
- * Gets the list of created postprocesses
308
- */
309
- postProcesses: PostProcess[];
310
- /**
311
- * Gets a boolean indicating if the pointer is currently locked
312
- */
313
- isPointerLock: boolean;
314
- /**
315
- * Observable event triggered each time the rendering canvas is resized
316
- */
317
- onResizeObservable: Observable<Engine>;
318
- /**
319
- * Observable event triggered each time the canvas loses focus
320
- */
321
- onCanvasBlurObservable: Observable<Engine>;
322
- /**
323
- * Observable event triggered each time the canvas gains focus
324
- */
325
- onCanvasFocusObservable: Observable<Engine>;
326
- /**
327
- * Observable event triggered each time the canvas receives pointerout event
328
- */
329
- onCanvasPointerOutObservable: Observable<PointerEvent>;
330
- /**
331
- * Observable raised when the engine begins a new frame
332
- */
333
- onBeginFrameObservable: Observable<Engine>;
334
253
  /**
335
254
  * If set, will be used to request the next animation frame for the render loop
336
255
  */
337
256
  customAnimationFrameRequester: Nullable<ICustomAnimationFrameRequester>;
338
- /**
339
- * Observable raised when the engine ends the current frame
340
- */
341
- onEndFrameObservable: Observable<Engine>;
342
- /**
343
- * Observable raised when the engine is about to compile a shader
344
- */
345
- onBeforeShaderCompilationObservable: Observable<Engine>;
346
- /**
347
- * Observable raised when the engine has just compiled a shader
348
- */
349
- onAfterShaderCompilationObservable: Observable<Engine>;
350
- /**
351
- * Gets the audio engine
352
- * @see https://doc.babylonjs.com/features/featuresDeepDive/audio/playingSoundsMusic
353
- * @ignorenaming
354
- */
355
- static audioEngine: Nullable<IAudioEngine>;
356
- /**
357
- * Default AudioEngine factory responsible of creating the Audio Engine.
358
- * By default, this will create a BabylonJS Audio Engine if the workload has been embedded.
359
- */
360
- static AudioEngineFactory: (hostElement: Nullable<HTMLElement>, audioContext: Nullable<AudioContext>, audioDestination: Nullable<AudioDestinationNode | MediaStreamAudioDestinationNode>) => IAudioEngine;
361
- /**
362
- * Default offline support factory responsible of creating a tool used to store data locally.
363
- * By default, this will create a Database object if the workload has been embedded.
364
- */
365
- static OfflineProviderFactory: (urlToScene: string, callbackManifestChecked: (checked: boolean) => any, disableManifestCheck: boolean) => IOfflineProvider;
366
- private _loadingScreen;
367
- private _pointerLockRequested;
368
257
  private _rescalePostProcess;
369
- protected _deterministicLockstep: boolean;
370
- protected _lockstepMaxSteps: number;
371
- protected _timeStep: number;
372
258
  protected get _supportsHardwareTextureRescaling(): boolean;
373
- private _fps;
374
- private _deltaTime;
375
- /** @internal */
376
- _drawCalls: PerfCounter;
377
- /** Gets or sets the tab index to set to the rendering canvas. 1 is the minimum value to set to be able to capture keyboard events */
378
- canvasTabIndex: number;
379
- /**
380
- * Turn this value on if you want to pause FPS computation when in background
381
- */
382
- disablePerformanceMonitorInBackground: boolean;
259
+ private _measureFps;
383
260
  private _performanceMonitor;
384
261
  /**
385
262
  * Gets the performance monitor attached to this engine
386
263
  * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/optimize_your_scene#engineinstrumentation
387
264
  */
388
265
  get performanceMonitor(): PerformanceMonitor;
389
- private _onFocus;
390
- private _onBlur;
391
- private _onCanvasPointerOut;
392
- private _onCanvasBlur;
393
- private _onCanvasFocus;
394
- private _onCanvasContextMenu;
395
- private _onFullscreenChange;
396
- private _onPointerLockChange;
397
- protected _compatibilityMode: boolean;
398
- /**
399
- * (WebGPU only) True (default) to be in compatibility mode, meaning rendering all existing scenes without artifacts (same rendering than WebGL).
400
- * Setting the property to false will improve performances but may not work in some scenes if some precautions are not taken.
401
- * See https://doc.babylonjs.com/setup/support/webGPU/webGPUOptimization/webGPUNonCompatibilityMode for more details
402
- */
403
- get compatibilityMode(): boolean;
404
- set compatibilityMode(mode: boolean);
405
- /**
406
- * Gets the HTML element used to attach event listeners
407
- * @returns a HTML element
408
- */
409
- getInputElement(): Nullable<HTMLElement>;
410
266
  /**
411
267
  * Creates a new engine
412
268
  * @param canvasOrContext defines the canvas or WebGL context to use for rendering. If you provide a WebGL context, Babylon.js will not hook events on the canvas (like pointers, keyboards, etc...) so no event observables will be available. This is mostly used when Babylon.js is used as a plugin on a system which already used the WebGL context
@@ -421,144 +277,37 @@ export declare class Engine extends ThinEngine {
421
277
  * @param canvas The canvas associated with this instance of the engine.
422
278
  */
423
279
  protected _sharedInit(canvas: HTMLCanvasElement): void;
424
- /** @internal */
425
- _verifyPointerLock(): void;
426
280
  /**
427
- * Gets current aspect ratio
428
- * @param viewportOwner defines the camera to use to get the aspect ratio
429
- * @param useScreen defines if screen size must be used (or the current render target if any)
430
- * @returns a number defining the aspect ratio
431
- */
432
- getAspectRatio(viewportOwner: IViewportOwnerLike, useScreen?: boolean): number;
433
- /**
434
- * Gets current screen aspect ratio
435
- * @returns a number defining the aspect ratio
436
- */
437
- getScreenAspectRatio(): number;
438
- /**
439
- * Gets the client rect of the HTML canvas attached with the current webGL context
440
- * @returns a client rectangle
441
- */
442
- getRenderingCanvasClientRect(): Nullable<ClientRect>;
443
- /**
444
- * Gets the client rect of the HTML element used for events
445
- * @returns a client rectangle
281
+ * Resize an image and returns the image data as an uint8array
282
+ * @param image image to resize
283
+ * @param bufferWidth destination buffer width
284
+ * @param bufferHeight destination buffer height
285
+ * @returns an uint8array containing RGBA values of bufferWidth * bufferHeight size
446
286
  */
447
- getInputElementClientRect(): Nullable<ClientRect>;
287
+ resizeImageBitmap(image: HTMLImageElement | ImageBitmap, bufferWidth: number, bufferHeight: number): Uint8Array;
448
288
  /**
449
- * Gets a boolean indicating that the engine is running in deterministic lock step mode
450
- * @see https://doc.babylonjs.com/features/featuresDeepDive/animation/advanced_animations#deterministic-lockstep
451
- * @returns true if engine is in deterministic lock step mode
289
+ * Engine abstraction for loading and creating an image bitmap from a given source string.
290
+ * @param imageSource source to load the image from.
291
+ * @param options An object that sets options for the image's extraction.
292
+ * @returns ImageBitmap
452
293
  */
453
- isDeterministicLockStep(): boolean;
294
+ _createImageBitmapFromSource(imageSource: string, options?: ImageBitmapOptions): Promise<ImageBitmap>;
454
295
  /**
455
- * Gets the max steps when engine is running in deterministic lock step
456
- * @see https://doc.babylonjs.com/features/featuresDeepDive/animation/advanced_animations#deterministic-lockstep
457
- * @returns the max steps
296
+ * Toggle full screen mode
297
+ * @param requestPointerLock defines if a pointer lock should be requested from the user
458
298
  */
459
- getLockstepMaxSteps(): number;
299
+ switchFullscreen(requestPointerLock: boolean): void;
460
300
  /**
461
- * Returns the time in ms between steps when using deterministic lock step.
462
- * @returns time step in (ms)
301
+ * Enters full screen mode
302
+ * @param requestPointerLock defines if a pointer lock should be requested from the user
463
303
  */
464
- getTimeStep(): number;
304
+ enterFullscreen(requestPointerLock: boolean): void;
465
305
  /**
466
- * Force the mipmap generation for the given render target texture
467
- * @param texture defines the render target texture to use
468
- * @param unbind defines whether or not to unbind the texture after generation. Defaults to true.
306
+ * Exits full screen mode
469
307
  */
308
+ exitFullscreen(): void;
470
309
  generateMipMapsForCubemap(texture: InternalTexture, unbind?: boolean): void;
471
310
  /** States */
472
- /**
473
- * Gets a boolean indicating if depth writing is enabled
474
- * @returns the current depth writing state
475
- */
476
- getDepthWrite(): boolean;
477
- /**
478
- * Enable or disable depth writing
479
- * @param enable defines the state to set
480
- */
481
- setDepthWrite(enable: boolean): void;
482
- /**
483
- * Gets a boolean indicating if stencil buffer is enabled
484
- * @returns the current stencil buffer state
485
- */
486
- getStencilBuffer(): boolean;
487
- /**
488
- * Enable or disable the stencil buffer
489
- * @param enable defines if the stencil buffer must be enabled or disabled
490
- */
491
- setStencilBuffer(enable: boolean): void;
492
- /**
493
- * Gets the current stencil mask
494
- * @returns a number defining the new stencil mask to use
495
- */
496
- getStencilMask(): number;
497
- /**
498
- * Sets the current stencil mask
499
- * @param mask defines the new stencil mask to use
500
- */
501
- setStencilMask(mask: number): void;
502
- /**
503
- * Gets the current stencil function
504
- * @returns a number defining the stencil function to use
505
- */
506
- getStencilFunction(): number;
507
- /**
508
- * Gets the current stencil reference value
509
- * @returns a number defining the stencil reference value to use
510
- */
511
- getStencilFunctionReference(): number;
512
- /**
513
- * Gets the current stencil mask
514
- * @returns a number defining the stencil mask to use
515
- */
516
- getStencilFunctionMask(): number;
517
- /**
518
- * Sets the current stencil function
519
- * @param stencilFunc defines the new stencil function to use
520
- */
521
- setStencilFunction(stencilFunc: number): void;
522
- /**
523
- * Sets the current stencil reference
524
- * @param reference defines the new stencil reference to use
525
- */
526
- setStencilFunctionReference(reference: number): void;
527
- /**
528
- * Sets the current stencil mask
529
- * @param mask defines the new stencil mask to use
530
- */
531
- setStencilFunctionMask(mask: number): void;
532
- /**
533
- * Gets the current stencil operation when stencil fails
534
- * @returns a number defining stencil operation to use when stencil fails
535
- */
536
- getStencilOperationFail(): number;
537
- /**
538
- * Gets the current stencil operation when depth fails
539
- * @returns a number defining stencil operation to use when depth fails
540
- */
541
- getStencilOperationDepthFail(): number;
542
- /**
543
- * Gets the current stencil operation when stencil passes
544
- * @returns a number defining stencil operation to use when stencil passes
545
- */
546
- getStencilOperationPass(): number;
547
- /**
548
- * Sets the stencil operation to use when stencil fails
549
- * @param operation defines the stencil operation to use when stencil fails
550
- */
551
- setStencilOperationFail(operation: number): void;
552
- /**
553
- * Sets the stencil operation to use when depth fails
554
- * @param operation defines the stencil operation to use when depth fails
555
- */
556
- setStencilOperationDepthFail(operation: number): void;
557
- /**
558
- * Sets the stencil operation to use when stencil passes
559
- * @param operation defines the stencil operation to use when stencil passes
560
- */
561
- setStencilOperationPass(operation: number): void;
562
311
  /**
563
312
  * Sets a boolean indicating if the dithering state is enabled or disabled
564
313
  * @param value defines the dithering state
@@ -569,47 +318,6 @@ export declare class Engine extends ThinEngine {
569
318
  * @param value defines the rasterizer state
570
319
  */
571
320
  setRasterizerState(value: boolean): void;
572
- /**
573
- * Gets the current depth function
574
- * @returns a number defining the depth function
575
- */
576
- getDepthFunction(): Nullable<number>;
577
- /**
578
- * Sets the current depth function
579
- * @param depthFunc defines the function to use
580
- */
581
- setDepthFunction(depthFunc: number): void;
582
- /**
583
- * Sets the current depth function to GREATER
584
- */
585
- setDepthFunctionToGreater(): void;
586
- /**
587
- * Sets the current depth function to GEQUAL
588
- */
589
- setDepthFunctionToGreaterOrEqual(): void;
590
- /**
591
- * Sets the current depth function to LESS
592
- */
593
- setDepthFunctionToLess(): void;
594
- /**
595
- * Sets the current depth function to LEQUAL
596
- */
597
- setDepthFunctionToLessOrEqual(): void;
598
- private _cachedStencilBuffer;
599
- private _cachedStencilFunction;
600
- private _cachedStencilMask;
601
- private _cachedStencilOperationPass;
602
- private _cachedStencilOperationFail;
603
- private _cachedStencilOperationDepthFail;
604
- private _cachedStencilReference;
605
- /**
606
- * Caches the state of the stencil buffer
607
- */
608
- cacheStencilState(): void;
609
- /**
610
- * Restores the state of the stencil buffer
611
- */
612
- restoreStencilState(): void;
613
321
  /**
614
322
  * Directly set the WebGL Viewport
615
323
  * @param x defines the x coordinate of the viewport (in screen space)
@@ -643,7 +351,6 @@ export declare class Engine extends ThinEngine {
643
351
  /**
644
352
  * @internal
645
353
  */
646
- _reportDrawCall(numDrawCalls?: number): void;
647
354
  _loadFileAsync(url: string, offlineProvider?: IOfflineProvider, useArrayBuffer?: false): Promise<string>;
648
355
  _loadFileAsync(url: string, offlineProvider?: IOfflineProvider, useArrayBuffer?: true): Promise<ArrayBuffer>;
649
356
  /**
@@ -667,7 +374,7 @@ export declare class Engine extends ThinEngine {
667
374
  */
668
375
  setDepthStencilTexture(channel: number, uniform: Nullable<WebGLUniformLocation>, texture: Nullable<RenderTargetTexture>, name?: string): void;
669
376
  /**
670
- * Sets a texture to the webGL context from a postprocess
377
+ * Sets a texture to the context from a postprocess
671
378
  * @param channel defines the channel to use
672
379
  * @param postProcess defines the source postprocess
673
380
  * @param name name of the channel
@@ -690,27 +397,22 @@ export declare class Engine extends ThinEngine {
690
397
  framebufferHeight: number;
691
398
  }>);
692
399
  protected _rebuildBuffers(): void;
693
- protected _rebuildTextures(): void;
400
+ /**
401
+ * Get Font size information
402
+ * @param font font name
403
+ * @returns an object containing ascent, height and descent
404
+ */
405
+ getFontOffset(font: string): {
406
+ ascent: number;
407
+ height: number;
408
+ descent: number;
409
+ };
694
410
  /** @internal */
695
411
  _renderFrame(): void;
696
412
  protected _cancelFrame(): void;
697
413
  _renderLoop(): void;
698
414
  /** @internal */
699
415
  _renderViews(): boolean;
700
- /**
701
- * Toggle full screen mode
702
- * @param requestPointerLock defines if a pointer lock should be requested from the user
703
- */
704
- switchFullscreen(requestPointerLock: boolean): void;
705
- /**
706
- * Enters full screen mode
707
- * @param requestPointerLock defines if a pointer lock should be requested from the user
708
- */
709
- enterFullscreen(requestPointerLock: boolean): void;
710
- /**
711
- * Exits full screen mode
712
- */
713
- exitFullscreen(): void;
714
416
  /**
715
417
  * Enters Pointerlock mode
716
418
  */
@@ -723,10 +425,6 @@ export declare class Engine extends ThinEngine {
723
425
  * Begin a new frame
724
426
  */
725
427
  beginFrame(): void;
726
- /**
727
- * End the current frame
728
- */
729
- endFrame(): void;
730
428
  /**
731
429
  * Force a specific size of the canvas
732
430
  * @param width defines the new canvas' width
@@ -746,33 +444,6 @@ export declare class Engine extends ThinEngine {
746
444
  * @internal
747
445
  */
748
446
  _releaseRenderTargetWrapper(rtWrapper: RenderTargetWrapper): void;
749
- protected static _RenderPassIdCounter: number;
750
- /**
751
- * Gets or sets the current render pass id
752
- */
753
- currentRenderPassId: number;
754
- private _renderPassNames;
755
- /**
756
- * Gets the names of the render passes that are currently created
757
- * @returns list of the render pass names
758
- */
759
- getRenderPassNames(): string[];
760
- /**
761
- * Gets the name of the current render pass
762
- * @returns name of the current render pass
763
- */
764
- getCurrentRenderPassName(): string;
765
- /**
766
- * Creates a render pass id
767
- * @param name Name of the render pass (for debug purpose only)
768
- * @returns the id of the new render pass
769
- */
770
- createRenderPassId(name?: string): number;
771
- /**
772
- * Releases a render pass id
773
- * @param id id of the render pass to release
774
- */
775
- releaseRenderPassId(id: number): void;
776
447
  /**
777
448
  * @internal
778
449
  * Rescales a texture
@@ -783,17 +454,6 @@ export declare class Engine extends ThinEngine {
783
454
  * @param onComplete callback to be called when resize has completed
784
455
  */
785
456
  _rescaleTexture(source: InternalTexture, destination: InternalTexture, scene: Nullable<any>, internalFormat: number, onComplete: () => void): void;
786
- /**
787
- * Gets the current framerate
788
- * @returns a number representing the framerate
789
- */
790
- getFps(): number;
791
- /**
792
- * Gets the time spent between current and previous frame
793
- * @returns a number representing the delta time in ms
794
- */
795
- getDeltaTime(): number;
796
- private _measureFps;
797
457
  /**
798
458
  * Wraps an external web gl texture in a Babylon texture.
799
459
  * @param texture defines the external texture
@@ -833,74 +493,7 @@ export declare class Engine extends ThinEngine {
833
493
  */
834
494
  _readPixelsAsync(x: number, y: number, w: number, h: number, format: number, type: number, outputBuffer: ArrayBufferView): Promise<ArrayBufferView> | null;
835
495
  dispose(): void;
836
- private _disableTouchAction;
837
- /**
838
- * Display the loading screen
839
- * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen
840
- */
841
- displayLoadingUI(): void;
842
- /**
843
- * Hide the loading screen
844
- * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen
845
- */
846
- hideLoadingUI(): void;
847
- /**
848
- * Gets the current loading screen object
849
- * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen
850
- */
851
- get loadingScreen(): ILoadingScreen;
852
- /**
853
- * Sets the current loading screen object
854
- * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen
855
- */
856
- set loadingScreen(loadingScreen: ILoadingScreen);
857
- /**
858
- * Sets the current loading screen text
859
- * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen
860
- */
861
- set loadingUIText(text: string);
862
- /**
863
- * Sets the current loading screen background color
864
- * @see https://doc.babylonjs.com/features/featuresDeepDive/scene/customLoadingScreen
865
- */
866
- set loadingUIBackgroundColor(color: string);
867
- /**
868
- * creates and returns a new video element
869
- * @param constraints video constraints
870
- * @returns video element
871
- */
872
- createVideoElement(constraints: MediaTrackConstraints): any;
873
- /** Pointerlock and fullscreen */
874
- /**
875
- * Ask the browser to promote the current element to pointerlock mode
876
- * @param element defines the DOM element to promote
877
- */
878
- static _RequestPointerlock(element: HTMLElement): void;
879
- /**
880
- * Asks the browser to exit pointerlock mode
881
- */
882
- static _ExitPointerlock(): void;
883
- /**
884
- * Ask the browser to promote the current element to fullscreen rendering mode
885
- * @param element defines the DOM element to promote
886
- */
887
- static _RequestFullscreen(element: HTMLElement): void;
888
- /**
889
- * Asks the browser to exit fullscreen mode
890
- */
891
- static _ExitFullscreen(): void;
892
- /**
893
- * Get Font size information
894
- * @param font font name
895
- * @returns an object containing ascent, height and descent
896
- */
897
- getFontOffset(font: string): {
898
- ascent: number;
899
- height: number;
900
- descent: number;
901
- };
902
496
  }
903
- export {};
904
497
 
905
498
  // Mixins
906
499
  declare global{