@babylonjs/viewer 7.36.0 → 7.37.0-alpha

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 (599) hide show
  1. package/assets/photoStudio.env +0 -0
  2. package/dist/babylon-viewer.esm.js +2 -0
  3. package/dist/babylon-viewer.esm.js.map +1 -0
  4. package/dist/babylon-viewer.esm.min.js +2 -0
  5. package/dist/babylon-viewer.esm.min.js.map +1 -0
  6. package/dist/chunks/EXT_lights_image_based-B3i_v86N.esm.js +171 -0
  7. package/dist/chunks/EXT_lights_image_based-B3i_v86N.esm.js.map +1 -0
  8. package/dist/chunks/EXT_lights_image_based-F9_9oKGw.esm.min.js +2 -0
  9. package/dist/chunks/EXT_lights_image_based-F9_9oKGw.esm.min.js.map +1 -0
  10. package/dist/chunks/EXT_mesh_gpu_instancing-BUGJNTuv.esm.js +86 -0
  11. package/dist/chunks/EXT_mesh_gpu_instancing-BUGJNTuv.esm.js.map +1 -0
  12. package/dist/chunks/EXT_mesh_gpu_instancing-ouu-sC4v.esm.min.js +2 -0
  13. package/dist/chunks/EXT_mesh_gpu_instancing-ouu-sC4v.esm.min.js.map +1 -0
  14. package/dist/chunks/EXT_meshopt_compression-BoFlIVIo.esm.js +134 -0
  15. package/dist/chunks/EXT_meshopt_compression-BoFlIVIo.esm.js.map +1 -0
  16. package/dist/chunks/EXT_meshopt_compression-CBHVR9-g.esm.min.js +2 -0
  17. package/dist/chunks/EXT_meshopt_compression-CBHVR9-g.esm.min.js.map +1 -0
  18. package/dist/chunks/EXT_texture_avif-BiDJEaYr.esm.js +44 -0
  19. package/dist/chunks/EXT_texture_avif-BiDJEaYr.esm.js.map +1 -0
  20. package/dist/chunks/EXT_texture_avif-CpcKIP2U.esm.min.js +2 -0
  21. package/dist/chunks/EXT_texture_avif-CpcKIP2U.esm.min.js.map +1 -0
  22. package/dist/chunks/EXT_texture_webp-9-weZ5t9.esm.js +43 -0
  23. package/dist/chunks/EXT_texture_webp-9-weZ5t9.esm.js.map +1 -0
  24. package/dist/chunks/EXT_texture_webp-BEzvwccL.esm.min.js +2 -0
  25. package/dist/chunks/EXT_texture_webp-BEzvwccL.esm.min.js.map +1 -0
  26. package/dist/chunks/ExtrasAsMetadata-2fKDjP-P.esm.min.js +2 -0
  27. package/dist/chunks/ExtrasAsMetadata-2fKDjP-P.esm.min.js.map +1 -0
  28. package/dist/chunks/ExtrasAsMetadata-DGBpP5kO.esm.js +64 -0
  29. package/dist/chunks/ExtrasAsMetadata-DGBpP5kO.esm.js.map +1 -0
  30. package/dist/chunks/KHR_animation_pointer-BGUym5aA.esm.min.js +2 -0
  31. package/dist/chunks/KHR_animation_pointer-BGUym5aA.esm.min.js.map +1 -0
  32. package/dist/chunks/KHR_animation_pointer-Bs26S___.esm.js +343 -0
  33. package/dist/chunks/KHR_animation_pointer-Bs26S___.esm.js.map +1 -0
  34. package/dist/chunks/KHR_draco_mesh_compression-BgmSGmi8.esm.min.js +2 -0
  35. package/dist/chunks/KHR_draco_mesh_compression-BgmSGmi8.esm.min.js.map +1 -0
  36. package/dist/chunks/KHR_draco_mesh_compression-sPxRDkD2.esm.js +617 -0
  37. package/dist/chunks/KHR_draco_mesh_compression-sPxRDkD2.esm.js.map +1 -0
  38. package/dist/chunks/KHR_interactivity-DDWPhJ-6.esm.js +4033 -0
  39. package/dist/chunks/KHR_interactivity-DDWPhJ-6.esm.js.map +1 -0
  40. package/dist/chunks/KHR_interactivity-DE92WJwh.esm.min.js +2 -0
  41. package/dist/chunks/KHR_interactivity-DE92WJwh.esm.min.js.map +1 -0
  42. package/dist/chunks/KHR_lights_punctual-C_akUY-5.esm.js +1253 -0
  43. package/dist/chunks/KHR_lights_punctual-C_akUY-5.esm.js.map +1 -0
  44. package/dist/chunks/KHR_lights_punctual-D-NJr9sx.esm.min.js +2 -0
  45. package/dist/chunks/KHR_lights_punctual-D-NJr9sx.esm.min.js.map +1 -0
  46. package/dist/chunks/KHR_materials_anisotropy-DuBZh7v4.esm.js +65 -0
  47. package/dist/chunks/KHR_materials_anisotropy-DuBZh7v4.esm.js.map +1 -0
  48. package/dist/chunks/KHR_materials_anisotropy-XJzw4SB7.esm.min.js +2 -0
  49. package/dist/chunks/KHR_materials_anisotropy-XJzw4SB7.esm.min.js.map +1 -0
  50. package/dist/chunks/KHR_materials_clearcoat-BjeqEjMn.esm.min.js +2 -0
  51. package/dist/chunks/KHR_materials_clearcoat-BjeqEjMn.esm.min.js.map +1 -0
  52. package/dist/chunks/KHR_materials_clearcoat-C_mF7kgI.esm.js +96 -0
  53. package/dist/chunks/KHR_materials_clearcoat-C_mF7kgI.esm.js.map +1 -0
  54. package/dist/chunks/KHR_materials_diffuse_transmission-B5xJ8gLo.esm.min.js +2 -0
  55. package/dist/chunks/KHR_materials_diffuse_transmission-B5xJ8gLo.esm.min.js.map +1 -0
  56. package/dist/chunks/KHR_materials_diffuse_transmission-BvtuXbx8.esm.js +97 -0
  57. package/dist/chunks/KHR_materials_diffuse_transmission-BvtuXbx8.esm.js.map +1 -0
  58. package/dist/chunks/KHR_materials_dispersion-DceW_6jg.esm.min.js +2 -0
  59. package/dist/chunks/KHR_materials_dispersion-DceW_6jg.esm.min.js.map +1 -0
  60. package/dist/chunks/KHR_materials_dispersion-DnMdHuwS.esm.js +62 -0
  61. package/dist/chunks/KHR_materials_dispersion-DnMdHuwS.esm.js.map +1 -0
  62. package/dist/chunks/KHR_materials_emissive_strength-BJxrDXxa.esm.js +55 -0
  63. package/dist/chunks/KHR_materials_emissive_strength-BJxrDXxa.esm.js.map +1 -0
  64. package/dist/chunks/KHR_materials_emissive_strength-T7Ioofbj.esm.min.js +2 -0
  65. package/dist/chunks/KHR_materials_emissive_strength-T7Ioofbj.esm.min.js.map +1 -0
  66. package/dist/chunks/KHR_materials_ior-BebDlrzl.esm.js +64 -0
  67. package/dist/chunks/KHR_materials_ior-BebDlrzl.esm.js.map +1 -0
  68. package/dist/chunks/KHR_materials_ior-BiXD3wbo.esm.min.js +2 -0
  69. package/dist/chunks/KHR_materials_ior-BiXD3wbo.esm.min.js.map +1 -0
  70. package/dist/chunks/KHR_materials_iridescence-BG0uvS2K.esm.min.js +2 -0
  71. package/dist/chunks/KHR_materials_iridescence-BG0uvS2K.esm.min.js.map +1 -0
  72. package/dist/chunks/KHR_materials_iridescence-DQz8GQbO.esm.js +72 -0
  73. package/dist/chunks/KHR_materials_iridescence-DQz8GQbO.esm.js.map +1 -0
  74. package/dist/chunks/KHR_materials_pbrSpecularGlossiness-B3r0Mafb.esm.js +81 -0
  75. package/dist/chunks/KHR_materials_pbrSpecularGlossiness-B3r0Mafb.esm.js.map +1 -0
  76. package/dist/chunks/KHR_materials_pbrSpecularGlossiness-_lN5X8jS.esm.min.js +2 -0
  77. package/dist/chunks/KHR_materials_pbrSpecularGlossiness-_lN5X8jS.esm.min.js.map +1 -0
  78. package/dist/chunks/KHR_materials_sheen-BtnO_FAS.esm.min.js +2 -0
  79. package/dist/chunks/KHR_materials_sheen-BtnO_FAS.esm.min.js.map +1 -0
  80. package/dist/chunks/KHR_materials_sheen-Ca0m-FCR.esm.js +85 -0
  81. package/dist/chunks/KHR_materials_sheen-Ca0m-FCR.esm.js.map +1 -0
  82. package/dist/chunks/KHR_materials_specular-Coku-eWK.esm.js +75 -0
  83. package/dist/chunks/KHR_materials_specular-Coku-eWK.esm.js.map +1 -0
  84. package/dist/chunks/KHR_materials_specular-DV0Eoetb.esm.min.js +2 -0
  85. package/dist/chunks/KHR_materials_specular-DV0Eoetb.esm.min.js.map +1 -0
  86. package/dist/chunks/KHR_materials_transmission-Ca9E-UZ-.esm.min.js +2 -0
  87. package/dist/chunks/KHR_materials_transmission-Ca9E-UZ-.esm.min.js.map +1 -0
  88. package/dist/chunks/KHR_materials_transmission-CuudPQVC.esm.js +307 -0
  89. package/dist/chunks/KHR_materials_transmission-CuudPQVC.esm.js.map +1 -0
  90. package/dist/chunks/KHR_materials_unlit-BAGBsUkU.esm.min.js +2 -0
  91. package/dist/chunks/KHR_materials_unlit-BAGBsUkU.esm.min.js.map +1 -0
  92. package/dist/chunks/KHR_materials_unlit-Buu1Z1HL.esm.js +74 -0
  93. package/dist/chunks/KHR_materials_unlit-Buu1Z1HL.esm.js.map +1 -0
  94. package/dist/chunks/KHR_materials_variants-CMcKgGG2.esm.min.js +2 -0
  95. package/dist/chunks/KHR_materials_variants-CMcKgGG2.esm.min.js.map +1 -0
  96. package/dist/chunks/KHR_materials_variants-DFu4FrrH.esm.js +238 -0
  97. package/dist/chunks/KHR_materials_variants-DFu4FrrH.esm.js.map +1 -0
  98. package/dist/chunks/KHR_materials_volume-CQMEAbf4.esm.js +87 -0
  99. package/dist/chunks/KHR_materials_volume-CQMEAbf4.esm.js.map +1 -0
  100. package/dist/chunks/KHR_materials_volume-ClGrFvKp.esm.min.js +2 -0
  101. package/dist/chunks/KHR_materials_volume-ClGrFvKp.esm.min.js.map +1 -0
  102. package/dist/chunks/KHR_mesh_quantization-Cbejp093.esm.js +26 -0
  103. package/dist/chunks/KHR_mesh_quantization-Cbejp093.esm.js.map +1 -0
  104. package/dist/chunks/KHR_mesh_quantization-DRPaTiWR.esm.min.js +2 -0
  105. package/dist/chunks/KHR_mesh_quantization-DRPaTiWR.esm.min.js.map +1 -0
  106. package/dist/chunks/KHR_node_visibility-BjfB0zna.esm.js +46 -0
  107. package/dist/chunks/KHR_node_visibility-BjfB0zna.esm.js.map +1 -0
  108. package/dist/chunks/KHR_node_visibility-CBw8B38Q.esm.min.js +2 -0
  109. package/dist/chunks/KHR_node_visibility-CBw8B38Q.esm.min.js.map +1 -0
  110. package/dist/chunks/KHR_texture_basisu-DBjIO7B4.esm.js +43 -0
  111. package/dist/chunks/KHR_texture_basisu-DBjIO7B4.esm.js.map +1 -0
  112. package/dist/chunks/KHR_texture_basisu-DKylW8Yx.esm.min.js +2 -0
  113. package/dist/chunks/KHR_texture_basisu-DKylW8Yx.esm.min.js.map +1 -0
  114. package/dist/chunks/KHR_texture_transform-D6mg2ZiK.esm.js +63 -0
  115. package/dist/chunks/KHR_texture_transform-D6mg2ZiK.esm.js.map +1 -0
  116. package/dist/chunks/KHR_texture_transform-htHBWqOc.esm.min.js +2 -0
  117. package/dist/chunks/KHR_texture_transform-htHBWqOc.esm.min.js.map +1 -0
  118. package/dist/chunks/KHR_xmp_json_ld-CvW3Ai8F.esm.js +51 -0
  119. package/dist/chunks/KHR_xmp_json_ld-CvW3Ai8F.esm.js.map +1 -0
  120. package/dist/chunks/KHR_xmp_json_ld-uYsLxYOz.esm.min.js +2 -0
  121. package/dist/chunks/KHR_xmp_json_ld-uYsLxYOz.esm.min.js.map +1 -0
  122. package/dist/chunks/MSFT_audio_emitter-DTJWk2eV.esm.min.js +2 -0
  123. package/dist/chunks/MSFT_audio_emitter-DTJWk2eV.esm.min.js.map +1 -0
  124. package/dist/chunks/MSFT_audio_emitter-oPM3iu4F.esm.js +2207 -0
  125. package/dist/chunks/MSFT_audio_emitter-oPM3iu4F.esm.js.map +1 -0
  126. package/dist/chunks/MSFT_lod-CuSynNTS.esm.js +337 -0
  127. package/dist/chunks/MSFT_lod-CuSynNTS.esm.js.map +1 -0
  128. package/dist/chunks/MSFT_lod-PjlomwUl.esm.min.js +2 -0
  129. package/dist/chunks/MSFT_lod-PjlomwUl.esm.min.js.map +1 -0
  130. package/dist/chunks/MSFT_minecraftMesh-BRBTW8ta.esm.min.js +2 -0
  131. package/dist/chunks/MSFT_minecraftMesh-BRBTW8ta.esm.min.js.map +1 -0
  132. package/dist/chunks/MSFT_minecraftMesh-DDlu3iRW.esm.js +46 -0
  133. package/dist/chunks/MSFT_minecraftMesh-DDlu3iRW.esm.js.map +1 -0
  134. package/dist/chunks/MSFT_sRGBFactors-BIOzrPxY.esm.min.js +2 -0
  135. package/dist/chunks/MSFT_sRGBFactors-BIOzrPxY.esm.min.js.map +1 -0
  136. package/dist/chunks/MSFT_sRGBFactors-CspQlvZh.esm.js +47 -0
  137. package/dist/chunks/MSFT_sRGBFactors-CspQlvZh.esm.js.map +1 -0
  138. package/dist/chunks/animationGroup-CL3Oz5Z0.esm.min.js +2 -0
  139. package/dist/chunks/animationGroup-CL3Oz5Z0.esm.min.js.map +1 -0
  140. package/dist/chunks/animationGroup-DRKiD9h6.esm.js +2482 -0
  141. package/dist/chunks/animationGroup-DRKiD9h6.esm.js.map +1 -0
  142. package/dist/chunks/assetContainer-D_8hiZKA.esm.js +1720 -0
  143. package/dist/chunks/assetContainer-D_8hiZKA.esm.js.map +1 -0
  144. package/dist/chunks/assetContainer-FA9ojI1I.esm.min.js +2 -0
  145. package/dist/chunks/assetContainer-FA9ojI1I.esm.min.js.map +1 -0
  146. package/dist/chunks/audioEngine-C-sKz5RP.esm.min.js +2 -0
  147. package/dist/chunks/audioEngine-C-sKz5RP.esm.min.js.map +1 -0
  148. package/dist/chunks/audioEngine-CvJDx4Q8.esm.js +305 -0
  149. package/dist/chunks/audioEngine-CvJDx4Q8.esm.js.map +1 -0
  150. package/dist/chunks/bakedVertexAnimation-BsPKKHjr.esm.min.js +2 -0
  151. package/dist/chunks/bakedVertexAnimation-BsPKKHjr.esm.min.js.map +1 -0
  152. package/dist/chunks/bakedVertexAnimation-DulpQEBV.esm.js +114 -0
  153. package/dist/chunks/bakedVertexAnimation-DulpQEBV.esm.js.map +1 -0
  154. package/dist/chunks/basisTextureLoader-B_r12OUF.esm.min.js +2 -0
  155. package/dist/chunks/basisTextureLoader-B_r12OUF.esm.min.js.map +1 -0
  156. package/dist/chunks/basisTextureLoader-Drw-ZVC0.esm.js +600 -0
  157. package/dist/chunks/basisTextureLoader-Drw-ZVC0.esm.js.map +1 -0
  158. package/dist/chunks/dds-BXiJypJ7.esm.js +540 -0
  159. package/dist/chunks/dds-BXiJypJ7.esm.js.map +1 -0
  160. package/dist/chunks/dds-C6ZHg-Bp.esm.min.js +2 -0
  161. package/dist/chunks/dds-C6ZHg-Bp.esm.min.js.map +1 -0
  162. package/dist/chunks/ddsTextureLoader-DgfGb80Z.esm.js +88 -0
  163. package/dist/chunks/ddsTextureLoader-DgfGb80Z.esm.js.map +1 -0
  164. package/dist/chunks/ddsTextureLoader-bPQ4ZVv4.esm.min.js +2 -0
  165. package/dist/chunks/ddsTextureLoader-bPQ4ZVv4.esm.min.js.map +1 -0
  166. package/dist/chunks/decalFragment-BpOnZOVp.esm.js +18 -0
  167. package/dist/chunks/decalFragment-BpOnZOVp.esm.js.map +1 -0
  168. package/dist/chunks/decalFragment-DbkDUo1S.esm.min.js +2 -0
  169. package/dist/chunks/decalFragment-DbkDUo1S.esm.min.js.map +1 -0
  170. package/dist/chunks/default.fragment-Crru0QNN.esm.min.js +2 -0
  171. package/dist/chunks/default.fragment-Crru0QNN.esm.min.js.map +1 -0
  172. package/dist/chunks/default.fragment-CxCyfbls.esm.js +433 -0
  173. package/dist/chunks/default.fragment-CxCyfbls.esm.js.map +1 -0
  174. package/dist/chunks/default.fragment-DA6kjpAQ.esm.min.js +2 -0
  175. package/dist/chunks/default.fragment-DA6kjpAQ.esm.min.js.map +1 -0
  176. package/dist/chunks/default.fragment-DWYF0Ivm.esm.js +497 -0
  177. package/dist/chunks/default.fragment-DWYF0Ivm.esm.js.map +1 -0
  178. package/dist/chunks/default.vertex-Bpzr6sJq.esm.min.js +2 -0
  179. package/dist/chunks/default.vertex-Bpzr6sJq.esm.min.js.map +1 -0
  180. package/dist/chunks/default.vertex-C5owo_r2.esm.js +181 -0
  181. package/dist/chunks/default.vertex-C5owo_r2.esm.js.map +1 -0
  182. package/dist/chunks/default.vertex-ClbZq87W.esm.min.js +2 -0
  183. package/dist/chunks/default.vertex-ClbZq87W.esm.min.js.map +1 -0
  184. package/dist/chunks/default.vertex-DvfVsBbt.esm.js +201 -0
  185. package/dist/chunks/default.vertex-DvfVsBbt.esm.js.map +1 -0
  186. package/dist/chunks/defaultUboDeclaration-BCpFsRl0.esm.js +13 -0
  187. package/dist/chunks/defaultUboDeclaration-BCpFsRl0.esm.js.map +1 -0
  188. package/dist/chunks/defaultUboDeclaration-BkPkSkeR.esm.min.js +2 -0
  189. package/dist/chunks/defaultUboDeclaration-BkPkSkeR.esm.min.js.map +1 -0
  190. package/dist/chunks/defaultUboDeclaration-CBkzLqUL.esm.js +15 -0
  191. package/dist/chunks/defaultUboDeclaration-CBkzLqUL.esm.js.map +1 -0
  192. package/dist/chunks/defaultUboDeclaration-DM6YTmmJ.esm.min.js +2 -0
  193. package/dist/chunks/defaultUboDeclaration-DM6YTmmJ.esm.min.js.map +1 -0
  194. package/dist/chunks/drawWrapper.functions-CKg3_9x4.esm.js +11 -0
  195. package/dist/chunks/drawWrapper.functions-CKg3_9x4.esm.js.map +1 -0
  196. package/dist/chunks/drawWrapper.functions-ng7lvueZ.esm.min.js +2 -0
  197. package/dist/chunks/drawWrapper.functions-ng7lvueZ.esm.min.js.map +1 -0
  198. package/dist/chunks/dumpTools-DEE0JNhe.esm.js +200 -0
  199. package/dist/chunks/dumpTools-DEE0JNhe.esm.js.map +1 -0
  200. package/dist/chunks/dumpTools-Dq65RGnm.esm.min.js +2 -0
  201. package/dist/chunks/dumpTools-Dq65RGnm.esm.min.js.map +1 -0
  202. package/dist/chunks/engine-CeL5Q4lw.esm.js +2220 -0
  203. package/dist/chunks/engine-CeL5Q4lw.esm.js.map +1 -0
  204. package/dist/chunks/engine-DT2G_lds.esm.min.js +2 -0
  205. package/dist/chunks/engine-DT2G_lds.esm.min.js.map +1 -0
  206. package/dist/chunks/engine.common-C9H9gh9W.esm.js +1162 -0
  207. package/dist/chunks/engine.common-C9H9gh9W.esm.js.map +1 -0
  208. package/dist/chunks/engine.common-CdhJvxwm.esm.min.js +2 -0
  209. package/dist/chunks/engine.common-CdhJvxwm.esm.min.js.map +1 -0
  210. package/dist/chunks/envTextureLoader-74tnifoT.esm.js +64 -0
  211. package/dist/chunks/envTextureLoader-74tnifoT.esm.js.map +1 -0
  212. package/dist/chunks/envTextureLoader-Dl937sIO.esm.min.js +2 -0
  213. package/dist/chunks/envTextureLoader-Dl937sIO.esm.min.js.map +1 -0
  214. package/dist/chunks/environmentTextureTools-ClEgwgya.esm.js +382 -0
  215. package/dist/chunks/environmentTextureTools-ClEgwgya.esm.js.map +1 -0
  216. package/dist/chunks/environmentTextureTools-DURIVP9U.esm.min.js +2 -0
  217. package/dist/chunks/environmentTextureTools-DURIVP9U.esm.min.js.map +1 -0
  218. package/dist/chunks/exrTextureLoader-BGXbJGBe.esm.js +1682 -0
  219. package/dist/chunks/exrTextureLoader-BGXbJGBe.esm.js.map +1 -0
  220. package/dist/chunks/exrTextureLoader-ZRs_EAQa.esm.min.js +2 -0
  221. package/dist/chunks/exrTextureLoader-ZRs_EAQa.esm.min.js.map +1 -0
  222. package/dist/chunks/fogFragment-BFKmSOC6.esm.js +102 -0
  223. package/dist/chunks/fogFragment-BFKmSOC6.esm.js.map +1 -0
  224. package/dist/chunks/fogFragment-BPVmPyK6.esm.js +101 -0
  225. package/dist/chunks/fogFragment-BPVmPyK6.esm.js.map +1 -0
  226. package/dist/chunks/fogFragment-DfLgusf7.esm.min.js +2 -0
  227. package/dist/chunks/fogFragment-DfLgusf7.esm.min.js.map +1 -0
  228. package/dist/chunks/fogFragment-uKmBf3r6.esm.min.js +2 -0
  229. package/dist/chunks/fogFragment-uKmBf3r6.esm.min.js.map +1 -0
  230. package/dist/chunks/fresnelFunction-69xZoG8U.esm.min.js +2 -0
  231. package/dist/chunks/fresnelFunction-69xZoG8U.esm.min.js.map +1 -0
  232. package/dist/chunks/fresnelFunction-piF4l7eF.esm.js +12 -0
  233. package/dist/chunks/fresnelFunction-piF4l7eF.esm.js.map +1 -0
  234. package/dist/chunks/glTFLoader-C1ef0xPc.esm.min.js +2 -0
  235. package/dist/chunks/glTFLoader-C1ef0xPc.esm.min.js.map +1 -0
  236. package/dist/chunks/glTFLoader-UTdbOHEt.esm.js +7606 -0
  237. package/dist/chunks/glTFLoader-UTdbOHEt.esm.js.map +1 -0
  238. package/dist/chunks/glTFLoaderAnimation-CapCmtyI.esm.js +77 -0
  239. package/dist/chunks/glTFLoaderAnimation-CapCmtyI.esm.js.map +1 -0
  240. package/dist/chunks/glTFLoaderAnimation-D31eUw-v.esm.min.js +2 -0
  241. package/dist/chunks/glTFLoaderAnimation-D31eUw-v.esm.min.js.map +1 -0
  242. package/dist/chunks/gltfPathToObjectConverter-Dyt_Y9jE.esm.min.js +2 -0
  243. package/dist/chunks/gltfPathToObjectConverter-Dyt_Y9jE.esm.min.js.map +1 -0
  244. package/dist/chunks/gltfPathToObjectConverter-GcUmfOyo.esm.js +67 -0
  245. package/dist/chunks/gltfPathToObjectConverter-GcUmfOyo.esm.js.map +1 -0
  246. package/dist/chunks/harmonicsFunctions-BOh29Gl-.esm.min.js +2 -0
  247. package/dist/chunks/harmonicsFunctions-BOh29Gl-.esm.min.js.map +1 -0
  248. package/dist/chunks/harmonicsFunctions-CPE4kiHw.esm.js +35 -0
  249. package/dist/chunks/harmonicsFunctions-CPE4kiHw.esm.js.map +1 -0
  250. package/dist/chunks/harmonicsFunctions-RPeiDmS4.esm.js +34 -0
  251. package/dist/chunks/harmonicsFunctions-RPeiDmS4.esm.js.map +1 -0
  252. package/dist/chunks/harmonicsFunctions-rQv4s0QP.esm.min.js +2 -0
  253. package/dist/chunks/harmonicsFunctions-rQv4s0QP.esm.min.js.map +1 -0
  254. package/dist/chunks/hdrTextureLoader-Dd17jp9W.esm.min.js +2 -0
  255. package/dist/chunks/hdrTextureLoader-Dd17jp9W.esm.min.js.map +1 -0
  256. package/dist/chunks/hdrTextureLoader-DsR_wESy.esm.js +252 -0
  257. package/dist/chunks/hdrTextureLoader-DsR_wESy.esm.js.map +1 -0
  258. package/dist/chunks/helperFunctions-Ce53D1y-.esm.min.js +2 -0
  259. package/dist/chunks/helperFunctions-Ce53D1y-.esm.min.js.map +1 -0
  260. package/dist/chunks/helperFunctions-D2c1ru49.esm.js +80 -0
  261. package/dist/chunks/helperFunctions-D2c1ru49.esm.js.map +1 -0
  262. package/dist/chunks/helperFunctions-VmMN0Mna.esm.js +108 -0
  263. package/dist/chunks/helperFunctions-VmMN0Mna.esm.js.map +1 -0
  264. package/dist/chunks/helperFunctions-zdjEtnRv.esm.min.js +2 -0
  265. package/dist/chunks/helperFunctions-zdjEtnRv.esm.min.js.map +1 -0
  266. package/dist/chunks/index-DBm7fzXf.esm.js +74321 -0
  267. package/dist/chunks/index-DBm7fzXf.esm.js.map +1 -0
  268. package/dist/chunks/index-jZFAQQur.esm.min.js +57 -0
  269. package/dist/chunks/index-jZFAQQur.esm.min.js.map +1 -0
  270. package/dist/chunks/ktxTextureLoader-9vfBC6UL.esm.js +814 -0
  271. package/dist/chunks/ktxTextureLoader-9vfBC6UL.esm.js.map +1 -0
  272. package/dist/chunks/ktxTextureLoader-B7knlkAj.esm.min.js +2 -0
  273. package/dist/chunks/ktxTextureLoader-B7knlkAj.esm.min.js.map +1 -0
  274. package/dist/chunks/logDepthDeclaration-BftGsCo7.esm.js +11 -0
  275. package/dist/chunks/logDepthDeclaration-BftGsCo7.esm.js.map +1 -0
  276. package/dist/chunks/logDepthDeclaration-Bm8zN8U1.esm.js +35 -0
  277. package/dist/chunks/logDepthDeclaration-Bm8zN8U1.esm.js.map +1 -0
  278. package/dist/chunks/logDepthDeclaration-D73_rPEp.esm.min.js +2 -0
  279. package/dist/chunks/logDepthDeclaration-D73_rPEp.esm.min.js.map +1 -0
  280. package/dist/chunks/logDepthDeclaration-Dine9EAs.esm.min.js +2 -0
  281. package/dist/chunks/logDepthDeclaration-Dine9EAs.esm.min.js.map +1 -0
  282. package/dist/chunks/logDepthVertex-3p3eoh78.esm.min.js +2 -0
  283. package/dist/chunks/logDepthVertex-3p3eoh78.esm.min.js.map +1 -0
  284. package/dist/chunks/logDepthVertex-CQfs32P9.esm.js +77 -0
  285. package/dist/chunks/logDepthVertex-CQfs32P9.esm.js.map +1 -0
  286. package/dist/chunks/logDepthVertex-Dr2Pw6AH.esm.js +77 -0
  287. package/dist/chunks/logDepthVertex-Dr2Pw6AH.esm.js.map +1 -0
  288. package/dist/chunks/logDepthVertex-Duy4jBoh.esm.min.js +2 -0
  289. package/dist/chunks/logDepthVertex-Duy4jBoh.esm.min.js.map +1 -0
  290. package/dist/chunks/mainUVVaryingDeclaration-63j_hdLk.esm.min.js +2 -0
  291. package/dist/chunks/mainUVVaryingDeclaration-63j_hdLk.esm.min.js.map +1 -0
  292. package/dist/chunks/mainUVVaryingDeclaration-BYMyGmMe.esm.js +11 -0
  293. package/dist/chunks/mainUVVaryingDeclaration-BYMyGmMe.esm.js.map +1 -0
  294. package/dist/chunks/mainUVVaryingDeclaration-D1G2R6CM.esm.min.js +2 -0
  295. package/dist/chunks/mainUVVaryingDeclaration-D1G2R6CM.esm.min.js.map +1 -0
  296. package/dist/chunks/mainUVVaryingDeclaration-DmvpmbUk.esm.js +11 -0
  297. package/dist/chunks/mainUVVaryingDeclaration-DmvpmbUk.esm.js.map +1 -0
  298. package/dist/chunks/meshUboDeclaration-BJv8KmAx.esm.min.js +2 -0
  299. package/dist/chunks/meshUboDeclaration-BJv8KmAx.esm.min.js.map +1 -0
  300. package/dist/chunks/meshUboDeclaration-yc1dSO0t.esm.js +24 -0
  301. package/dist/chunks/meshUboDeclaration-yc1dSO0t.esm.js.map +1 -0
  302. package/dist/chunks/objFileLoader-BMu0qrzr.esm.js +1338 -0
  303. package/dist/chunks/objFileLoader-BMu0qrzr.esm.js.map +1 -0
  304. package/dist/chunks/objFileLoader-i02qqOmW.esm.min.js +2 -0
  305. package/dist/chunks/objFileLoader-i02qqOmW.esm.min.js.map +1 -0
  306. package/dist/chunks/oitFragment-CH-SMl3Y.esm.js +1051 -0
  307. package/dist/chunks/oitFragment-CH-SMl3Y.esm.js.map +1 -0
  308. package/dist/chunks/oitFragment-Dv1eSAch.esm.min.js +2 -0
  309. package/dist/chunks/oitFragment-Dv1eSAch.esm.min.js.map +1 -0
  310. package/dist/chunks/oitFragment-Dy4y_3Q1.esm.min.js +2 -0
  311. package/dist/chunks/oitFragment-Dy4y_3Q1.esm.min.js.map +1 -0
  312. package/dist/chunks/oitFragment-gO2AJPMS.esm.js +1210 -0
  313. package/dist/chunks/oitFragment-gO2AJPMS.esm.js.map +1 -0
  314. package/dist/chunks/pass.fragment-3MBFymab.esm.js +15 -0
  315. package/dist/chunks/pass.fragment-3MBFymab.esm.js.map +1 -0
  316. package/dist/chunks/pass.fragment-9DV47zDM.esm.min.js +2 -0
  317. package/dist/chunks/pass.fragment-9DV47zDM.esm.min.js.map +1 -0
  318. package/dist/chunks/pass.fragment-CjPVw0cM.esm.js +15 -0
  319. package/dist/chunks/pass.fragment-CjPVw0cM.esm.js.map +1 -0
  320. package/dist/chunks/pass.fragment-DniCNtXz.esm.min.js +2 -0
  321. package/dist/chunks/pass.fragment-DniCNtXz.esm.min.js.map +1 -0
  322. package/dist/chunks/pbr.fragment-BfcLIVzL.esm.js +3218 -0
  323. package/dist/chunks/pbr.fragment-BfcLIVzL.esm.js.map +1 -0
  324. package/dist/chunks/pbr.fragment-C3w-Umr6.esm.js +3165 -0
  325. package/dist/chunks/pbr.fragment-C3w-Umr6.esm.js.map +1 -0
  326. package/dist/chunks/pbr.fragment-COVEAvqz.esm.min.js +2 -0
  327. package/dist/chunks/pbr.fragment-COVEAvqz.esm.min.js.map +1 -0
  328. package/dist/chunks/pbr.fragment-CYaflBNP.esm.min.js +2 -0
  329. package/dist/chunks/pbr.fragment-CYaflBNP.esm.min.js.map +1 -0
  330. package/dist/chunks/pbr.vertex-Bplm1RvR.esm.min.js +2 -0
  331. package/dist/chunks/pbr.vertex-Bplm1RvR.esm.min.js.map +1 -0
  332. package/dist/chunks/pbr.vertex-CJ6LxTam.esm.min.js +2 -0
  333. package/dist/chunks/pbr.vertex-CJ6LxTam.esm.min.js.map +1 -0
  334. package/dist/chunks/pbr.vertex-aEZZaJVy.esm.js +214 -0
  335. package/dist/chunks/pbr.vertex-aEZZaJVy.esm.js.map +1 -0
  336. package/dist/chunks/pbr.vertex-yjDKBRFi.esm.js +338 -0
  337. package/dist/chunks/pbr.vertex-yjDKBRFi.esm.js.map +1 -0
  338. package/dist/chunks/postprocess.vertex-DkSqDp_B.esm.js +20 -0
  339. package/dist/chunks/postprocess.vertex-DkSqDp_B.esm.js.map +1 -0
  340. package/dist/chunks/postprocess.vertex-jcsw-UdE.esm.min.js +2 -0
  341. package/dist/chunks/postprocess.vertex-jcsw-UdE.esm.min.js.map +1 -0
  342. package/dist/chunks/rawTexture-CYKKtww2.esm.min.js +2 -0
  343. package/dist/chunks/rawTexture-CYKKtww2.esm.min.js.map +1 -0
  344. package/dist/chunks/rawTexture-Dincgc4_.esm.js +191 -0
  345. package/dist/chunks/rawTexture-Dincgc4_.esm.js.map +1 -0
  346. package/dist/chunks/rgbdDecode.fragment-B1L0EyYQ.esm.js +17 -0
  347. package/dist/chunks/rgbdDecode.fragment-B1L0EyYQ.esm.js.map +1 -0
  348. package/dist/chunks/rgbdDecode.fragment-Bf3XkJ56.esm.js +17 -0
  349. package/dist/chunks/rgbdDecode.fragment-Bf3XkJ56.esm.js.map +1 -0
  350. package/dist/chunks/rgbdDecode.fragment-DehfVUqU.esm.min.js +2 -0
  351. package/dist/chunks/rgbdDecode.fragment-DehfVUqU.esm.min.js.map +1 -0
  352. package/dist/chunks/rgbdDecode.fragment-ObclIREU.esm.min.js +2 -0
  353. package/dist/chunks/rgbdDecode.fragment-ObclIREU.esm.min.js.map +1 -0
  354. package/dist/chunks/rgbdEncode.fragment-BUFNbMJl.esm.js +17 -0
  355. package/dist/chunks/rgbdEncode.fragment-BUFNbMJl.esm.js.map +1 -0
  356. package/dist/chunks/rgbdEncode.fragment-C5eGI_F7.esm.min.js +2 -0
  357. package/dist/chunks/rgbdEncode.fragment-C5eGI_F7.esm.min.js.map +1 -0
  358. package/dist/chunks/rgbdEncode.fragment-Cv2rZN9H.esm.js +17 -0
  359. package/dist/chunks/rgbdEncode.fragment-Cv2rZN9H.esm.js.map +1 -0
  360. package/dist/chunks/rgbdEncode.fragment-a2UFva1K.esm.min.js +2 -0
  361. package/dist/chunks/rgbdEncode.fragment-a2UFva1K.esm.min.js.map +1 -0
  362. package/dist/chunks/splatFileLoader-Ci35-grq.esm.js +3948 -0
  363. package/dist/chunks/splatFileLoader-Ci35-grq.esm.js.map +1 -0
  364. package/dist/chunks/splatFileLoader-D6TovORe.esm.min.js +2 -0
  365. package/dist/chunks/splatFileLoader-D6TovORe.esm.min.js.map +1 -0
  366. package/dist/chunks/standardMaterial-CWe_HbM8.esm.js +1805 -0
  367. package/dist/chunks/standardMaterial-CWe_HbM8.esm.js.map +1 -0
  368. package/dist/chunks/standardMaterial-S43MSA6g.esm.min.js +2 -0
  369. package/dist/chunks/standardMaterial-S43MSA6g.esm.min.js.map +1 -0
  370. package/dist/chunks/stlFileLoader-BKWCF44z.esm.min.js +2 -0
  371. package/dist/chunks/stlFileLoader-BKWCF44z.esm.min.js.map +1 -0
  372. package/dist/chunks/stlFileLoader-yX9YZMTi.esm.js +238 -0
  373. package/dist/chunks/stlFileLoader-yX9YZMTi.esm.js.map +1 -0
  374. package/dist/chunks/tgaTextureLoader-Cplo6n3C.esm.min.js +2 -0
  375. package/dist/chunks/tgaTextureLoader-Cplo6n3C.esm.min.js.map +1 -0
  376. package/dist/chunks/tgaTextureLoader-Ih4TItIE.esm.js +349 -0
  377. package/dist/chunks/tgaTextureLoader-Ih4TItIE.esm.js.map +1 -0
  378. package/dist/chunks/thinEngine-CxcDG6-R.esm.min.js +2 -0
  379. package/dist/chunks/thinEngine-CxcDG6-R.esm.min.js.map +1 -0
  380. package/dist/chunks/thinEngine-vHy0Qu0Z.esm.js +3842 -0
  381. package/dist/chunks/thinEngine-vHy0Qu0Z.esm.js.map +1 -0
  382. package/dist/chunks/thinInstanceMesh-CfVH9qgD.esm.js +314 -0
  383. package/dist/chunks/thinInstanceMesh-CfVH9qgD.esm.js.map +1 -0
  384. package/dist/chunks/thinInstanceMesh-DsyDWStO.esm.min.js +2 -0
  385. package/dist/chunks/thinInstanceMesh-DsyDWStO.esm.min.js.map +1 -0
  386. package/dist/chunks/vertexColorMixing-BTsACspH.esm.min.js +2 -0
  387. package/dist/chunks/vertexColorMixing-BTsACspH.esm.min.js.map +1 -0
  388. package/dist/chunks/vertexColorMixing-C7lCJCs9.esm.js +412 -0
  389. package/dist/chunks/vertexColorMixing-C7lCJCs9.esm.js.map +1 -0
  390. package/dist/chunks/vertexColorMixing-CtbEZ5C1.esm.js +522 -0
  391. package/dist/chunks/vertexColorMixing-CtbEZ5C1.esm.js.map +1 -0
  392. package/dist/chunks/vertexColorMixing-mccpwG_C.esm.min.js +2 -0
  393. package/dist/chunks/vertexColorMixing-mccpwG_C.esm.min.js.map +1 -0
  394. package/dist/chunks/webgpuEngine-B8X6Ca_-.esm.min.js +2 -0
  395. package/dist/chunks/webgpuEngine-B8X6Ca_-.esm.min.js.map +1 -0
  396. package/dist/chunks/webgpuEngine-BnnNyU1U.esm.js +11533 -0
  397. package/dist/chunks/webgpuEngine-BnnNyU1U.esm.js.map +1 -0
  398. package/dist/chunks/workerPool-BUOov2K1.esm.js +122 -0
  399. package/dist/chunks/workerPool-BUOov2K1.esm.js.map +1 -0
  400. package/dist/chunks/workerPool-BWHiDmEZ.esm.min.js +2 -0
  401. package/dist/chunks/workerPool-BWHiDmEZ.esm.min.js.map +1 -0
  402. package/docs/ViewerDefault.jpg +0 -0
  403. package/docs/ViewerParts.jpg +0 -0
  404. package/docs/ViewerSlots.jpg +0 -0
  405. package/docs/ViewerStyled.jpg +0 -0
  406. package/lib/index.d.ts +534 -0
  407. package/lib/index.js +1939 -0
  408. package/lib/index.js.map +1 -0
  409. package/package.json +18 -27
  410. package/readme.md +145 -21
  411. package/configuration/configuration.d.ts +0 -107
  412. package/configuration/configuration.js +0 -16
  413. package/configuration/configuration.js.map +0 -1
  414. package/configuration/configurationCompatibility.d.ts +0 -8
  415. package/configuration/configurationCompatibility.js +0 -66
  416. package/configuration/configurationCompatibility.js.map +0 -1
  417. package/configuration/configurationContainer.d.ts +0 -10
  418. package/configuration/configurationContainer.js +0 -10
  419. package/configuration/configurationContainer.js.map +0 -1
  420. package/configuration/globals.d.ts +0 -6
  421. package/configuration/globals.js +0 -18
  422. package/configuration/globals.js.map +0 -1
  423. package/configuration/index.d.ts +0 -2
  424. package/configuration/index.js +0 -4
  425. package/configuration/index.js.map +0 -1
  426. package/configuration/interfaces/cameraConfiguration.d.ts +0 -31
  427. package/configuration/interfaces/cameraConfiguration.js +0 -2
  428. package/configuration/interfaces/cameraConfiguration.js.map +0 -1
  429. package/configuration/interfaces/colorGradingConfiguration.d.ts +0 -81
  430. package/configuration/interfaces/colorGradingConfiguration.js +0 -2
  431. package/configuration/interfaces/colorGradingConfiguration.js.map +0 -1
  432. package/configuration/interfaces/defaultRenderingPipelineConfiguration.d.ts +0 -20
  433. package/configuration/interfaces/defaultRenderingPipelineConfiguration.js +0 -2
  434. package/configuration/interfaces/defaultRenderingPipelineConfiguration.js.map +0 -1
  435. package/configuration/interfaces/environmentMapConfiguration.d.ts +0 -22
  436. package/configuration/interfaces/environmentMapConfiguration.js +0 -2
  437. package/configuration/interfaces/environmentMapConfiguration.js.map +0 -1
  438. package/configuration/interfaces/groundConfiguration.d.ts +0 -24
  439. package/configuration/interfaces/groundConfiguration.js +0 -2
  440. package/configuration/interfaces/groundConfiguration.js.map +0 -1
  441. package/configuration/interfaces/imageProcessingConfiguration.d.ts +0 -45
  442. package/configuration/interfaces/imageProcessingConfiguration.js +0 -2
  443. package/configuration/interfaces/imageProcessingConfiguration.js.map +0 -1
  444. package/configuration/interfaces/index.d.ts +0 -15
  445. package/configuration/interfaces/index.js +0 -16
  446. package/configuration/interfaces/index.js.map +0 -1
  447. package/configuration/interfaces/lightConfiguration.d.ts +0 -60
  448. package/configuration/interfaces/lightConfiguration.js +0 -2
  449. package/configuration/interfaces/lightConfiguration.js.map +0 -1
  450. package/configuration/interfaces/modelAnimationConfiguration.d.ts +0 -26
  451. package/configuration/interfaces/modelAnimationConfiguration.js +0 -2
  452. package/configuration/interfaces/modelAnimationConfiguration.js.map +0 -1
  453. package/configuration/interfaces/modelConfiguration.d.ts +0 -65
  454. package/configuration/interfaces/modelConfiguration.js +0 -2
  455. package/configuration/interfaces/modelConfiguration.js.map +0 -1
  456. package/configuration/interfaces/observersConfiguration.d.ts +0 -5
  457. package/configuration/interfaces/observersConfiguration.js +0 -2
  458. package/configuration/interfaces/observersConfiguration.js.map +0 -1
  459. package/configuration/interfaces/sceneConfiguration.d.ts +0 -48
  460. package/configuration/interfaces/sceneConfiguration.js +0 -2
  461. package/configuration/interfaces/sceneConfiguration.js.map +0 -1
  462. package/configuration/interfaces/sceneOptimizerConfiguration.d.ts +0 -23
  463. package/configuration/interfaces/sceneOptimizerConfiguration.js +0 -2
  464. package/configuration/interfaces/sceneOptimizerConfiguration.js.map +0 -1
  465. package/configuration/interfaces/skyboxConfiguration.d.ts +0 -21
  466. package/configuration/interfaces/skyboxConfiguration.js +0 -2
  467. package/configuration/interfaces/skyboxConfiguration.js.map +0 -1
  468. package/configuration/interfaces/templateConfiguration.d.ts +0 -67
  469. package/configuration/interfaces/templateConfiguration.js +0 -2
  470. package/configuration/interfaces/templateConfiguration.js.map +0 -1
  471. package/configuration/interfaces/vrConfiguration.d.ts +0 -16
  472. package/configuration/interfaces/vrConfiguration.js +0 -2
  473. package/configuration/interfaces/vrConfiguration.js.map +0 -1
  474. package/configuration/loader.d.ts +0 -4
  475. package/configuration/loader.js +0 -17
  476. package/configuration/loader.js.map +0 -1
  477. package/configuration/mappers.d.ts +0 -43
  478. package/configuration/mappers.js +0 -193
  479. package/configuration/mappers.js.map +0 -1
  480. package/configuration/renderOnlyLoader.d.ts +0 -33
  481. package/configuration/renderOnlyLoader.js +0 -162
  482. package/configuration/renderOnlyLoader.js.map +0 -1
  483. package/configuration/types/default.d.ts +0 -6
  484. package/configuration/types/default.js +0 -121
  485. package/configuration/types/default.js.map +0 -1
  486. package/configuration/types/environmentMap.d.ts +0 -5
  487. package/configuration/types/environmentMap.js +0 -14
  488. package/configuration/types/environmentMap.js.map +0 -1
  489. package/configuration/types/extended.d.ts +0 -6
  490. package/configuration/types/extended.js +0 -317
  491. package/configuration/types/extended.js.map +0 -1
  492. package/configuration/types/index.d.ts +0 -14
  493. package/configuration/types/index.js +0 -51
  494. package/configuration/types/index.js.map +0 -1
  495. package/configuration/types/minimal.d.ts +0 -6
  496. package/configuration/types/minimal.js +0 -43
  497. package/configuration/types/minimal.js.map +0 -1
  498. package/configuration/types/renderOnlyDefault.d.ts +0 -30
  499. package/configuration/types/renderOnlyDefault.js +0 -31
  500. package/configuration/types/renderOnlyDefault.js.map +0 -1
  501. package/configuration/types/shadowLight.d.ts +0 -9
  502. package/configuration/types/shadowLight.js +0 -64
  503. package/configuration/types/shadowLight.js.map +0 -1
  504. package/helper/index.d.ts +0 -29
  505. package/helper/index.js +0 -66
  506. package/helper/index.js.map +0 -1
  507. package/index.d.ts +0 -30
  508. package/index.js +0 -46
  509. package/index.js.map +0 -1
  510. package/initializer.d.ts +0 -11
  511. package/initializer.js +0 -35
  512. package/initializer.js.map +0 -1
  513. package/interfaces.d.ts +0 -5
  514. package/interfaces.js +0 -7
  515. package/interfaces.js.map +0 -1
  516. package/labs/environmentSerializer.d.ts +0 -126
  517. package/labs/environmentSerializer.js +0 -191
  518. package/labs/environmentSerializer.js.map +0 -1
  519. package/labs/texture.d.ts +0 -183
  520. package/labs/texture.js +0 -351
  521. package/labs/texture.js.map +0 -1
  522. package/labs/viewerLabs.d.ts +0 -51
  523. package/labs/viewerLabs.js +0 -134
  524. package/labs/viewerLabs.js.map +0 -1
  525. package/loader/modelLoader.d.ts +0 -56
  526. package/loader/modelLoader.js +0 -202
  527. package/loader/modelLoader.js.map +0 -1
  528. package/loader/plugins/applyMaterialConfig.d.ts +0 -12
  529. package/loader/plugins/applyMaterialConfig.js +0 -16
  530. package/loader/plugins/applyMaterialConfig.js.map +0 -1
  531. package/loader/plugins/extendedMaterialLoaderPlugin.d.ts +0 -9
  532. package/loader/plugins/extendedMaterialLoaderPlugin.js +0 -16
  533. package/loader/plugins/extendedMaterialLoaderPlugin.js.map +0 -1
  534. package/loader/plugins/index.d.ts +0 -19
  535. package/loader/plugins/index.js +0 -44
  536. package/loader/plugins/index.js.map +0 -1
  537. package/loader/plugins/loaderPlugin.d.ts +0 -24
  538. package/loader/plugins/loaderPlugin.js +0 -2
  539. package/loader/plugins/loaderPlugin.js.map +0 -1
  540. package/loader/plugins/msftLodLoaderPlugin.d.ts +0 -12
  541. package/loader/plugins/msftLodLoaderPlugin.js +0 -21
  542. package/loader/plugins/msftLodLoaderPlugin.js.map +0 -1
  543. package/loader/plugins/telemetryLoaderPlugin.d.ts +0 -12
  544. package/loader/plugins/telemetryLoaderPlugin.js +0 -36
  545. package/loader/plugins/telemetryLoaderPlugin.js.map +0 -1
  546. package/managers/observablesManager.d.ts +0 -66
  547. package/managers/observablesManager.js +0 -35
  548. package/managers/observablesManager.js.map +0 -1
  549. package/managers/sceneManager.d.ts +0 -245
  550. package/managers/sceneManager.js +0 -1375
  551. package/managers/sceneManager.js.map +0 -1
  552. package/managers/telemetryManager.d.ts +0 -78
  553. package/managers/telemetryManager.js +0 -117
  554. package/managers/telemetryManager.js.map +0 -1
  555. package/model/modelAnimation.d.ts +0 -215
  556. package/model/modelAnimation.js +0 -237
  557. package/model/modelAnimation.js.map +0 -1
  558. package/model/viewerModel.d.ts +0 -233
  559. package/model/viewerModel.js +0 -673
  560. package/model/viewerModel.js.map +0 -1
  561. package/optimizer/custom/extended.d.ts +0 -13
  562. package/optimizer/custom/extended.js +0 -101
  563. package/optimizer/custom/extended.js.map +0 -1
  564. package/optimizer/custom/index.d.ts +0 -9
  565. package/optimizer/custom/index.js +0 -26
  566. package/optimizer/custom/index.js.map +0 -1
  567. package/renderOnlyIndex.d.ts +0 -11
  568. package/renderOnlyIndex.js +0 -18
  569. package/renderOnlyIndex.js.map +0 -1
  570. package/templating/eventManager.d.ts +0 -35
  571. package/templating/eventManager.js +0 -66
  572. package/templating/eventManager.js.map +0 -1
  573. package/templating/plugins/hdButtonPlugin.d.ts +0 -9
  574. package/templating/plugins/hdButtonPlugin.js +0 -22
  575. package/templating/plugins/hdButtonPlugin.js.map +0 -1
  576. package/templating/plugins/printButton.d.ts +0 -9
  577. package/templating/plugins/printButton.js +0 -41
  578. package/templating/plugins/printButton.js.map +0 -1
  579. package/templating/templateManager.d.ts +0 -197
  580. package/templating/templateManager.js +0 -561
  581. package/templating/templateManager.js.map +0 -1
  582. package/templating/viewerTemplatePlugin.d.ts +0 -21
  583. package/templating/viewerTemplatePlugin.js +0 -69
  584. package/templating/viewerTemplatePlugin.js.map +0 -1
  585. package/viewer/defaultViewer.d.ts +0 -130
  586. package/viewer/defaultViewer.js +0 -672
  587. package/viewer/defaultViewer.js.map +0 -1
  588. package/viewer/renderOnlyViewer.d.ts +0 -9
  589. package/viewer/renderOnlyViewer.js +0 -46
  590. package/viewer/renderOnlyViewer.js.map +0 -1
  591. package/viewer/viewer.d.ts +0 -258
  592. package/viewer/viewer.js +0 -783
  593. package/viewer/viewer.js.map +0 -1
  594. package/viewer/viewerManager.d.ts +0 -58
  595. package/viewer/viewerManager.js +0 -91
  596. package/viewer/viewerManager.js.map +0 -1
  597. package/viewer/viewerWithTemplate.d.ts +0 -9
  598. package/viewer/viewerWithTemplate.js +0 -20
  599. package/viewer/viewerWithTemplate.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ import{i as e}from"./index-jZFAQQur.esm.min.js";const n="postprocessVertexShader",t="attribute position: vec2<f32>;uniform scale: vec2<f32>;varying vUV: vec2<f32>;const madd=vec2(0.5,0.5);\n#define CUSTOM_VERTEX_DEFINITIONS\n@vertex\nfn main(input : VertexInputs)->FragmentInputs {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvertexOutputs.vUV=(vertexInputs.position*madd+madd)*uniforms.scale;vertexOutputs.position=vec4(vertexInputs.position,0.0,1.0);\n#define CUSTOM_VERTEX_MAIN_END\n}\n";e.ShadersStoreWGSL[n]=t;const s={name:n,shader:t};export{s as postprocessVertexShaderWGSL};
2
+ //# sourceMappingURL=postprocess.vertex-jcsw-UdE.esm.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postprocess.vertex-jcsw-UdE.esm.min.js","sources":["../../../../../dev/core/dist/ShadersWGSL/postprocess.vertex.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nconst name = \"postprocessVertexShader\";\nconst shader = `attribute position: vec2<f32>;uniform scale: vec2<f32>;varying vUV: vec2<f32>;const madd=vec2(0.5,0.5);\n#define CUSTOM_VERTEX_DEFINITIONS\n@vertex\nfn main(input : VertexInputs)->FragmentInputs {\n#define CUSTOM_VERTEX_MAIN_BEGIN\nvertexOutputs.vUV=(vertexInputs.position*madd+madd)*uniforms.scale;vertexOutputs.position=vec4(vertexInputs.position,0.0,1.0);\n#define CUSTOM_VERTEX_MAIN_END\n}\n`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const postprocessVertexShaderWGSL = { name, shader };\n//# sourceMappingURL=postprocess.vertex.js.map"],"names":["name","shader","ShaderStore","ShadersStoreWGSL","postprocessVertexShaderWGSL"],"mappings":"gDAEA,MAAMA,EAAO,0BACPC,EAAS,8YAUfC,EAAYC,iBAAiBH,GAAQC,EAEzB,MAACG,EAA8B,CAAEJ,OAAMC"}
@@ -0,0 +1,2 @@
1
+ import{t as e,C as t}from"./index-jZFAQQur.esm.min.js";class E extends e{constructor(E,T,r,R,_,i=!0,n=!1,A=t.TEXTURE_TRILINEAR_SAMPLINGMODE,s=t.TEXTURETYPE_UNSIGNED_BYTE,u,a){super(null,_,!i,n,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,u),this.format=R,this._engine&&(this._engine._caps.textureFloatLinearFiltering||s!==t.TEXTURETYPE_FLOAT||(A=t.TEXTURE_NEAREST_SAMPLINGMODE),this._engine._caps.textureHalfFloatLinearFiltering||s!==t.TEXTURETYPE_HALF_FLOAT||(A=t.TEXTURE_NEAREST_SAMPLINGMODE),this._texture=this._engine.createRawTexture(E,T,r,R,i,n,A,null,s,u??0,a??!1),this.wrapU=e.CLAMP_ADDRESSMODE,this.wrapV=e.CLAMP_ADDRESSMODE)}update(e){this._getEngine().updateRawTexture(this._texture,e,this._texture.format,this._texture.invertY,null,this._texture.type,this._texture._useSRGBBuffer)}clone(){if(!this._texture)return super.clone();const e=new E(null,this.getSize().width,this.getSize().height,this.format,this.getScene(),this._texture.generateMipMaps,this._invertY,this.samplingMode,this._texture.type,this._texture._creationFlags,this._useSRGBBuffer);return e._texture=this._texture,this._texture.incrementReferences(),e}static CreateLuminanceTexture(e,T,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE){return new E(e,T,r,t.TEXTUREFORMAT_LUMINANCE,R,_,i,n)}static CreateLuminanceAlphaTexture(e,T,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE){return new E(e,T,r,t.TEXTUREFORMAT_LUMINANCE_ALPHA,R,_,i,n)}static CreateAlphaTexture(e,T,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE){return new E(e,T,r,t.TEXTUREFORMAT_ALPHA,R,_,i,n)}static CreateRGBTexture(e,T,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE,A=t.TEXTURETYPE_UNSIGNED_BYTE,s=0,u=!1){return new E(e,T,r,t.TEXTUREFORMAT_RGB,R,_,i,n,A,s,u)}static CreateRGBATexture(e,T,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE,A=t.TEXTURETYPE_UNSIGNED_BYTE,s=0,u=!1){return new E(e,T,r,t.TEXTUREFORMAT_RGBA,R,_,i,n,A,s,u)}static CreateRGBAStorageTexture(e,T,r,R,_=!0,i=!1,n=t.TEXTURE_TRILINEAR_SAMPLINGMODE,A=t.TEXTURETYPE_UNSIGNED_BYTE,s=!1){return new E(e,T,r,t.TEXTUREFORMAT_RGBA,R,_,i,n,A,t.TEXTURE_CREATIONFLAG_STORAGE,s)}static CreateRTexture(T,r,R,_,i=!0,n=!1,A=e.TRILINEAR_SAMPLINGMODE,s=t.TEXTURETYPE_FLOAT){return new E(T,r,R,t.TEXTUREFORMAT_R,_,i,n,A,s)}static CreateRStorageTexture(T,r,R,_,i=!0,n=!1,A=e.TRILINEAR_SAMPLINGMODE,s=t.TEXTURETYPE_FLOAT){return new E(T,r,R,t.TEXTUREFORMAT_R,_,i,n,A,s,t.TEXTURE_CREATIONFLAG_STORAGE)}}export{E as R};
2
+ //# sourceMappingURL=rawTexture-CYKKtww2.esm.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rawTexture-CYKKtww2.esm.min.js","sources":["../../../../../dev/core/dist/Materials/Textures/rawTexture.js"],"sourcesContent":["import { Texture } from \"./texture\";\nimport { Constants } from \"../../Engines/constants\";\n/**\n * Raw texture can help creating a texture directly from an array of data.\n * This can be super useful if you either get the data from an uncompressed source or\n * if you wish to create your texture pixel by pixel.\n */\nexport class RawTexture extends Texture {\n /**\n * Instantiates a new RawTexture.\n * Raw texture can help creating a texture directly from an array of data.\n * This can be super useful if you either get the data from an uncompressed source or\n * if you wish to create your texture pixel by pixel.\n * @param data define the array of data to use to create the texture (null to create an empty texture)\n * @param width define the width of the texture\n * @param height define the height of the texture\n * @param format define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps define whether mip maps should be generated or not\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n */\n constructor(data, width, height, \n /**\n * Define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)\n */\n format, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags, useSRGBBuffer) {\n super(null, sceneOrEngine, !generateMipMaps, invertY, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, creationFlags);\n this.format = format;\n if (!this._engine) {\n return;\n }\n if (!this._engine._caps.textureFloatLinearFiltering && type === Constants.TEXTURETYPE_FLOAT) {\n samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;\n }\n if (!this._engine._caps.textureHalfFloatLinearFiltering && type === Constants.TEXTURETYPE_HALF_FLOAT) {\n samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;\n }\n this._texture = this._engine.createRawTexture(data, width, height, format, generateMipMaps, invertY, samplingMode, null, type, creationFlags ?? 0, useSRGBBuffer ?? false);\n this.wrapU = Texture.CLAMP_ADDRESSMODE;\n this.wrapV = Texture.CLAMP_ADDRESSMODE;\n }\n /**\n * Updates the texture underlying data.\n * @param data Define the new data of the texture\n */\n update(data) {\n this._getEngine().updateRawTexture(this._texture, data, this._texture.format, this._texture.invertY, null, this._texture.type, this._texture._useSRGBBuffer);\n }\n /**\n * Clones the texture.\n * @returns the cloned texture\n */\n clone() {\n if (!this._texture) {\n return super.clone();\n }\n const rawTexture = new RawTexture(null, this.getSize().width, this.getSize().height, this.format, this.getScene(), this._texture.generateMipMaps, this._invertY, this.samplingMode, this._texture.type, this._texture._creationFlags, this._useSRGBBuffer);\n rawTexture._texture = this._texture;\n this._texture.incrementReferences();\n return rawTexture;\n }\n /**\n * Creates a luminance texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the luminance texture\n */\n static CreateLuminanceTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates a luminance alpha texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the luminance alpha texture\n */\n static CreateLuminanceAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates an alpha texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the alpha texture\n */\n static CreateAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates a RGB texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGB alpha texture\n */\n static CreateRGBTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags = 0, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGB, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);\n }\n /**\n * Creates a RGBA texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGBA texture\n */\n static CreateRGBATexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags = 0, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);\n }\n /**\n * Creates a RGBA storage texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGBA texture\n */\n static CreateRGBAStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE, useSRGBBuffer);\n }\n /**\n * Creates a R texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @returns the R texture\n */\n static CreateRTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type);\n }\n /**\n * Creates a R storage texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @returns the R texture\n */\n static CreateRStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE);\n }\n}\n//# sourceMappingURL=rawTexture.js.map"],"names":["RawTexture","Texture","constructor","data","width","height","format","sceneOrEngine","generateMipMaps","invertY","samplingMode","Constants","TEXTURE_TRILINEAR_SAMPLINGMODE","type","TEXTURETYPE_UNSIGNED_BYTE","creationFlags","useSRGBBuffer","super","undefined","this","_engine","_caps","textureFloatLinearFiltering","TEXTURETYPE_FLOAT","TEXTURE_NEAREST_SAMPLINGMODE","textureHalfFloatLinearFiltering","TEXTURETYPE_HALF_FLOAT","_texture","createRawTexture","wrapU","CLAMP_ADDRESSMODE","wrapV","update","_getEngine","updateRawTexture","_useSRGBBuffer","clone","rawTexture","getSize","getScene","_invertY","_creationFlags","incrementReferences","CreateLuminanceTexture","TEXTUREFORMAT_LUMINANCE","CreateLuminanceAlphaTexture","TEXTUREFORMAT_LUMINANCE_ALPHA","CreateAlphaTexture","TEXTUREFORMAT_ALPHA","CreateRGBTexture","TEXTUREFORMAT_RGB","CreateRGBATexture","TEXTUREFORMAT_RGBA","CreateRGBAStorageTexture","TEXTURE_CREATIONFLAG_STORAGE","CreateRTexture","TRILINEAR_SAMPLINGMODE","TEXTUREFORMAT_R","CreateRStorageTexture"],"mappings":"uDAOO,MAAMA,UAAmBC,EAkB5B,WAAAC,CAAYC,EAAMC,EAAOC,EAIzBC,EAAQC,EAAeC,GAAkB,EAAMC,GAAU,EAAOC,EAAeC,EAAUC,+BAAgCC,EAAOF,EAAUG,0BAA2BC,EAAeC,GAChLC,MAAM,KAAMV,GAAg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EAAMC,GAAU,EAAOC,EAAeT,EAAQuD,uBAAwB3C,EAAOF,EAAUY,mBAC/J,OAAO,IAAIvB,EAAWG,EAAMC,EAAOC,EAAQM,EAAU8C,gBAAiBlD,EAAeC,EAAiBC,EAASC,EAAcG,EACrI,CAaI,4BAAO6C,CAAsBvD,EAAMC,EAAOC,EAAQE,EAAeC,GAAkB,EAAMC,GAAU,EAAOC,EAAeT,EAAQuD,uBAAwB3C,EAAOF,EAAUY,mBACtK,OAAO,IAAIvB,EAAWG,EAAMC,EAAOC,EAAQM,EAAU8C,gBAAiBlD,EAAeC,EAAiBC,EAASC,EAAcG,EAAMF,EAAU2C,6BACrJ"}
@@ -0,0 +1,191 @@
1
+ import { t as Texture, C as Constants } from './index-DBm7fzXf.esm.js';
2
+
3
+ /**
4
+ * Raw texture can help creating a texture directly from an array of data.
5
+ * This can be super useful if you either get the data from an uncompressed source or
6
+ * if you wish to create your texture pixel by pixel.
7
+ */
8
+ class RawTexture extends Texture {
9
+ /**
10
+ * Instantiates a new RawTexture.
11
+ * Raw texture can help creating a texture directly from an array of data.
12
+ * This can be super useful if you either get the data from an uncompressed source or
13
+ * if you wish to create your texture pixel by pixel.
14
+ * @param data define the array of data to use to create the texture (null to create an empty texture)
15
+ * @param width define the width of the texture
16
+ * @param height define the height of the texture
17
+ * @param format define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)
18
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
19
+ * @param generateMipMaps define whether mip maps should be generated or not
20
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
21
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
22
+ * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
23
+ * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)
24
+ * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).
25
+ */
26
+ constructor(data, width, height,
27
+ /**
28
+ * Define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)
29
+ */
30
+ format, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags, useSRGBBuffer) {
31
+ super(null, sceneOrEngine, !generateMipMaps, invertY, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, creationFlags);
32
+ this.format = format;
33
+ if (!this._engine) {
34
+ return;
35
+ }
36
+ if (!this._engine._caps.textureFloatLinearFiltering && type === Constants.TEXTURETYPE_FLOAT) {
37
+ samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;
38
+ }
39
+ if (!this._engine._caps.textureHalfFloatLinearFiltering && type === Constants.TEXTURETYPE_HALF_FLOAT) {
40
+ samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;
41
+ }
42
+ this._texture = this._engine.createRawTexture(data, width, height, format, generateMipMaps, invertY, samplingMode, null, type, creationFlags ?? 0, useSRGBBuffer ?? false);
43
+ this.wrapU = Texture.CLAMP_ADDRESSMODE;
44
+ this.wrapV = Texture.CLAMP_ADDRESSMODE;
45
+ }
46
+ /**
47
+ * Updates the texture underlying data.
48
+ * @param data Define the new data of the texture
49
+ */
50
+ update(data) {
51
+ this._getEngine().updateRawTexture(this._texture, data, this._texture.format, this._texture.invertY, null, this._texture.type, this._texture._useSRGBBuffer);
52
+ }
53
+ /**
54
+ * Clones the texture.
55
+ * @returns the cloned texture
56
+ */
57
+ clone() {
58
+ if (!this._texture) {
59
+ return super.clone();
60
+ }
61
+ const rawTexture = new RawTexture(null, this.getSize().width, this.getSize().height, this.format, this.getScene(), this._texture.generateMipMaps, this._invertY, this.samplingMode, this._texture.type, this._texture._creationFlags, this._useSRGBBuffer);
62
+ rawTexture._texture = this._texture;
63
+ this._texture.incrementReferences();
64
+ return rawTexture;
65
+ }
66
+ /**
67
+ * Creates a luminance texture from some data.
68
+ * @param data Define the texture data
69
+ * @param width Define the width of the texture
70
+ * @param height Define the height of the texture
71
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
72
+ * @param generateMipMaps Define whether or not to create mip maps for the texture
73
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
74
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
75
+ * @returns the luminance texture
76
+ */
77
+ static CreateLuminanceTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {
78
+ return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE, sceneOrEngine, generateMipMaps, invertY, samplingMode);
79
+ }
80
+ /**
81
+ * Creates a luminance alpha texture from some data.
82
+ * @param data Define the texture data
83
+ * @param width Define the width of the texture
84
+ * @param height Define the height of the texture
85
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
86
+ * @param generateMipMaps Define whether or not to create mip maps for the texture
87
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
88
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
89
+ * @returns the luminance alpha texture
90
+ */
91
+ static CreateLuminanceAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {
92
+ return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);
93
+ }
94
+ /**
95
+ * Creates an alpha texture from some data.
96
+ * @param data Define the texture data
97
+ * @param width Define the width of the texture
98
+ * @param height Define the height of the texture
99
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
100
+ * @param generateMipMaps Define whether or not to create mip maps for the texture
101
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
102
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
103
+ * @returns the alpha texture
104
+ */
105
+ static CreateAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {
106
+ return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);
107
+ }
108
+ /**
109
+ * Creates a RGB texture from some data.
110
+ * @param data Define the texture data
111
+ * @param width Define the width of the texture
112
+ * @param height Define the height of the texture
113
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
114
+ * @param generateMipMaps Define whether or not to create mip maps for the texture
115
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
116
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
117
+ * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
118
+ * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)
119
+ * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).
120
+ * @returns the RGB alpha texture
121
+ */
122
+ static CreateRGBTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags = 0, useSRGBBuffer = false) {
123
+ return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGB, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);
124
+ }
125
+ /**
126
+ * Creates a RGBA texture from some data.
127
+ * @param data Define the texture data
128
+ * @param width Define the width of the texture
129
+ * @param height Define the height of the texture
130
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
131
+ * @param generateMipMaps Define whether or not to create mip maps for the texture
132
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
133
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
134
+ * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
135
+ * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)
136
+ * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).
137
+ * @returns the RGBA texture
138
+ */
139
+ static CreateRGBATexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags = 0, useSRGBBuffer = false) {
140
+ return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);
141
+ }
142
+ /**
143
+ * Creates a RGBA storage texture from some data.
144
+ * @param data Define the texture data
145
+ * @param width Define the width of the texture
146
+ * @param height Define the height of the texture
147
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
148
+ * @param generateMipMaps Define whether or not to create mip maps for the texture
149
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
150
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
151
+ * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
152
+ * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).
153
+ * @returns the RGBA texture
154
+ */
155
+ static CreateRGBAStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, useSRGBBuffer = false) {
156
+ return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE, useSRGBBuffer);
157
+ }
158
+ /**
159
+ * Creates a R texture from some data.
160
+ * @param data Define the texture data
161
+ * @param width Define the width of the texture
162
+ * @param height Define the height of the texture
163
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
164
+ * @param generateMipMaps Define whether or not to create mip maps for the texture
165
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
166
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
167
+ * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
168
+ * @returns the R texture
169
+ */
170
+ static CreateRTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {
171
+ return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type);
172
+ }
173
+ /**
174
+ * Creates a R storage texture from some data.
175
+ * @param data Define the texture data
176
+ * @param width Define the width of the texture
177
+ * @param height Define the height of the texture
178
+ * @param sceneOrEngine defines the scene or engine the texture will belong to
179
+ * @param generateMipMaps Define whether or not to create mip maps for the texture
180
+ * @param invertY define if the data should be flipped on Y when uploaded to the GPU
181
+ * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)
182
+ * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)
183
+ * @returns the R texture
184
+ */
185
+ static CreateRStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {
186
+ return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE);
187
+ }
188
+ }
189
+
190
+ export { RawTexture as R };
191
+ //# sourceMappingURL=rawTexture-Dincgc4_.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rawTexture-Dincgc4_.esm.js","sources":["../../../../../dev/core/dist/Materials/Textures/rawTexture.js"],"sourcesContent":["import { Texture } from \"./texture\";\nimport { Constants } from \"../../Engines/constants\";\n/**\n * Raw texture can help creating a texture directly from an array of data.\n * This can be super useful if you either get the data from an uncompressed source or\n * if you wish to create your texture pixel by pixel.\n */\nexport class RawTexture extends Texture {\n /**\n * Instantiates a new RawTexture.\n * Raw texture can help creating a texture directly from an array of data.\n * This can be super useful if you either get the data from an uncompressed source or\n * if you wish to create your texture pixel by pixel.\n * @param data define the array of data to use to create the texture (null to create an empty texture)\n * @param width define the width of the texture\n * @param height define the height of the texture\n * @param format define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps define whether mip maps should be generated or not\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n */\n constructor(data, width, height, \n /**\n * Define the format of the data (RGB, RGBA... Engine.TEXTUREFORMAT_xxx)\n */\n format, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags, useSRGBBuffer) {\n super(null, sceneOrEngine, !generateMipMaps, invertY, undefined, undefined, undefined, undefined, undefined, undefined, undefined, undefined, creationFlags);\n this.format = format;\n if (!this._engine) {\n return;\n }\n if (!this._engine._caps.textureFloatLinearFiltering && type === Constants.TEXTURETYPE_FLOAT) {\n samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;\n }\n if (!this._engine._caps.textureHalfFloatLinearFiltering && type === Constants.TEXTURETYPE_HALF_FLOAT) {\n samplingMode = Constants.TEXTURE_NEAREST_SAMPLINGMODE;\n }\n this._texture = this._engine.createRawTexture(data, width, height, format, generateMipMaps, invertY, samplingMode, null, type, creationFlags ?? 0, useSRGBBuffer ?? false);\n this.wrapU = Texture.CLAMP_ADDRESSMODE;\n this.wrapV = Texture.CLAMP_ADDRESSMODE;\n }\n /**\n * Updates the texture underlying data.\n * @param data Define the new data of the texture\n */\n update(data) {\n this._getEngine().updateRawTexture(this._texture, data, this._texture.format, this._texture.invertY, null, this._texture.type, this._texture._useSRGBBuffer);\n }\n /**\n * Clones the texture.\n * @returns the cloned texture\n */\n clone() {\n if (!this._texture) {\n return super.clone();\n }\n const rawTexture = new RawTexture(null, this.getSize().width, this.getSize().height, this.format, this.getScene(), this._texture.generateMipMaps, this._invertY, this.samplingMode, this._texture.type, this._texture._creationFlags, this._useSRGBBuffer);\n rawTexture._texture = this._texture;\n this._texture.incrementReferences();\n return rawTexture;\n }\n /**\n * Creates a luminance texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the luminance texture\n */\n static CreateLuminanceTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates a luminance alpha texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the luminance alpha texture\n */\n static CreateLuminanceAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_LUMINANCE_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates an alpha texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @returns the alpha texture\n */\n static CreateAlphaTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_ALPHA, sceneOrEngine, generateMipMaps, invertY, samplingMode);\n }\n /**\n * Creates a RGB texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGB alpha texture\n */\n static CreateRGBTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags = 0, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGB, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);\n }\n /**\n * Creates a RGBA texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param creationFlags specific flags to use when creating the texture (Constants.TEXTURE_CREATIONFLAG_STORAGE for storage textures, for eg)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGBA texture\n */\n static CreateRGBATexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, creationFlags = 0, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, creationFlags, useSRGBBuffer);\n }\n /**\n * Creates a RGBA storage texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @param useSRGBBuffer defines if the texture must be loaded in a sRGB GPU buffer (if supported by the GPU).\n * @returns the RGBA texture\n */\n static CreateRGBAStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Constants.TEXTURE_TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_UNSIGNED_BYTE, useSRGBBuffer = false) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_RGBA, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE, useSRGBBuffer);\n }\n /**\n * Creates a R texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @returns the R texture\n */\n static CreateRTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type);\n }\n /**\n * Creates a R storage texture from some data.\n * @param data Define the texture data\n * @param width Define the width of the texture\n * @param height Define the height of the texture\n * @param sceneOrEngine defines the scene or engine the texture will belong to\n * @param generateMipMaps Define whether or not to create mip maps for the texture\n * @param invertY define if the data should be flipped on Y when uploaded to the GPU\n * @param samplingMode define the texture sampling mode (Texture.xxx_SAMPLINGMODE)\n * @param type define the format of the data (int, float... Engine.TEXTURETYPE_xxx)\n * @returns the R texture\n */\n static CreateRStorageTexture(data, width, height, sceneOrEngine, generateMipMaps = true, invertY = false, samplingMode = Texture.TRILINEAR_SAMPLINGMODE, type = Constants.TEXTURETYPE_FLOAT) {\n return new RawTexture(data, width, height, Constants.TEXTUREFORMAT_R, sceneOrEngine, generateMipMaps, invertY, samplingMode, type, Constants.TEXTURE_CREATIONFLAG_STORAGE);\n }\n}\n//# sourceMappingURL=rawTexture.js.map"],"names":[],"mappings":";;AAEA;AACA;AACA;AACA;AACA;AACO,MAAM,UAAU,SAAS,OAAO,CAAC;AACxC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,WAAW,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM;AACnC;AACA;AACA;AACA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AE,eAAe,GAAG,IAAI,EAAE,OAAO,GAAG,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,sBAAsB,EAAE,IAAI,GAAG,SAAS,CAAC,iBAAiB,EAAE;AAC1L,QAAQ,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,CAAC;AAC1I;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,OAAO,qBAAqB,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,aAAa,EAAE,eAAe,GAAG,IAAI,EAAE,OAAO,GAAG,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,sBAAsB,EAAE,IAAI,GAAG,SAAS,CAAC,iBAAiB,EAAE;AACjM,QAAQ,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,CAAC,eAAe,EAAE,aAAa,EAAE,eAAe,EAAE,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,SAAS,CAAC,4BAA4B,CAAC;AAClL;AACA;;;;"}
@@ -0,0 +1,17 @@
1
+ import { i as ShaderStore } from './index-DBm7fzXf.esm.js';
2
+ import './helperFunctions-VmMN0Mna.esm.js';
3
+
4
+ // Do not edit.
5
+ const name = "rgbdDecodePixelShader";
6
+ const shader = `varying vec2 vUV;uniform sampler2D textureSampler;
7
+ #include<helperFunctions>
8
+ #define CUSTOM_FRAGMENT_DEFINITIONS
9
+ void main(void)
10
+ {gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}`;
11
+ // Sideeffect
12
+ ShaderStore.ShadersStore[name] = shader;
13
+ /** @internal */
14
+ const rgbdDecodePixelShader = { name, shader };
15
+
16
+ export { rgbdDecodePixelShader };
17
+ //# sourceMappingURL=rgbdDecode.fragment-B1L0EyYQ.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rgbdDecode.fragment-B1L0EyYQ.esm.js","sources":["../../../../../dev/core/dist/Shaders/rgbdDecode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdDecodePixelShader\";\nconst shader = `varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const rgbdDecodePixelShader = { name, shader };\n//# sourceMappingURL=rgbdDecode.fragment.js.map"],"names":[],"mappings":";;;AAAA;AAGA,MAAM,IAAI,GAAG,uBAAuB;AACpC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA,iEAAiE,CAAC;AAClE;AACA,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,MAAM;AACvC;AACY,MAAC,qBAAqB,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}
@@ -0,0 +1,17 @@
1
+ import { i as ShaderStore } from './index-DBm7fzXf.esm.js';
2
+ import './helperFunctions-D2c1ru49.esm.js';
3
+
4
+ // Do not edit.
5
+ const name = "rgbdDecodePixelShader";
6
+ const shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
7
+ #include<helperFunctions>
8
+ #define CUSTOM_FRAGMENT_DEFINITIONS
9
+ @fragment
10
+ fn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}`;
11
+ // Sideeffect
12
+ ShaderStore.ShadersStoreWGSL[name] = shader;
13
+ /** @internal */
14
+ const rgbdDecodePixelShaderWGSL = { name, shader };
15
+
16
+ export { rgbdDecodePixelShaderWGSL };
17
+ //# sourceMappingURL=rgbdDecode.fragment-Bf3XkJ56.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rgbdDecode.fragment-Bf3XkJ56.esm.js","sources":["../../../../../dev/core/dist/ShadersWGSL/rgbdDecode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdDecodePixelShader\";\nconst shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const rgbdDecodePixelShaderWGSL = { name, shader };\n//# sourceMappingURL=rgbdDecode.fragment.js.map"],"names":[],"mappings":";;;AAAA;AAGA,MAAM,IAAI,GAAG,uBAAuB;AACpC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA,2JAA2J,CAAC;AAC5J;AACA,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,MAAM;AAC3C;AACY,MAAC,yBAAyB,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}
@@ -0,0 +1,2 @@
1
+ import{i as e}from"./index-jZFAQQur.esm.min.js";import"./helperFunctions-Ce53D1y-.esm.min.js";const r="rgbdDecodePixelShader",t="varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}";e.ShadersStoreWGSL[r]=t;const n={name:r,shader:t};export{n as rgbdDecodePixelShaderWGSL};
2
+ //# sourceMappingURL=rgbdDecode.fragment-DehfVUqU.esm.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rgbdDecode.fragment-DehfVUqU.esm.min.js","sources":["../../../../../dev/core/dist/ShadersWGSL/rgbdDecode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdDecodePixelShader\";\nconst shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=vec4f(fromRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV)),1.0);}`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const rgbdDecodePixelShaderWGSL = { name, shader };\n//# sourceMappingURL=rgbdDecode.fragment.js.map"],"names":["name","shader","ShaderStore","ShadersStoreWGSL","rgbdDecodePixelShaderWGSL"],"mappings":"8FAGA,MAAMA,EAAO,wBACPC,EAAS,qUAMfC,EAAYC,iBAAiBH,GAAQC,EAEzB,MAACG,EAA4B,CAAEJ,OAAMC"}
@@ -0,0 +1,2 @@
1
+ import{i as e}from"./index-jZFAQQur.esm.min.js";import"./helperFunctions-zdjEtnRv.esm.min.js";const r="rgbdDecodePixelShader",n="varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}";e.ShadersStore[r]=n;const i={name:r,shader:n};export{i as rgbdDecodePixelShader};
2
+ //# sourceMappingURL=rgbdDecode.fragment-ObclIREU.esm.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rgbdDecode.fragment-ObclIREU.esm.min.js","sources":["../../../../../dev/core/dist/Shaders/rgbdDecode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdDecodePixelShader\";\nconst shader = `varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=vec4(fromRGBD(texture2D(textureSampler,vUV)),1.0);}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const rgbdDecodePixelShader = { name, shader };\n//# sourceMappingURL=rgbdDecode.fragment.js.map"],"names":["name","shader","ShaderStore","ShadersStore","rgbdDecodePixelShader"],"mappings":"8FAGA,MAAMA,EAAO,wBACPC,EAAS,0MAMfC,EAAYC,aAAaH,GAAQC,EAErB,MAACG,EAAwB,CAAEJ,OAAMC"}
@@ -0,0 +1,17 @@
1
+ import { i as ShaderStore } from './index-DBm7fzXf.esm.js';
2
+ import './helperFunctions-D2c1ru49.esm.js';
3
+
4
+ // Do not edit.
5
+ const name = "rgbdEncodePixelShader";
6
+ const shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;
7
+ #include<helperFunctions>
8
+ #define CUSTOM_FRAGMENT_DEFINITIONS
9
+ @fragment
10
+ fn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=toRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV).rgb);}`;
11
+ // Sideeffect
12
+ ShaderStore.ShadersStoreWGSL[name] = shader;
13
+ /** @internal */
14
+ const rgbdEncodePixelShaderWGSL = { name, shader };
15
+
16
+ export { rgbdEncodePixelShaderWGSL };
17
+ //# sourceMappingURL=rgbdEncode.fragment-BUFNbMJl.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rgbdEncode.fragment-BUFNbMJl.esm.js","sources":["../../../../../dev/core/dist/ShadersWGSL/rgbdEncode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdEncodePixelShader\";\nconst shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=toRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV).rgb);}`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const rgbdEncodePixelShaderWGSL = { name, shader };\n//# sourceMappingURL=rgbdEncode.fragment.js.map"],"names":[],"mappings":";;;AAAA;AAGA,MAAM,IAAI,GAAG,uBAAuB;AACpC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA,kJAAkJ,CAAC;AACnJ;AACA,WAAW,CAAC,gBAAgB,CAAC,IAAI,CAAC,GAAG,MAAM;AAC3C;AACY,MAAC,yBAAyB,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}
@@ -0,0 +1,2 @@
1
+ import{i as e}from"./index-jZFAQQur.esm.min.js";import"./helperFunctions-Ce53D1y-.esm.min.js";const r="rgbdEncodePixelShader",t="varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=toRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV).rgb);}";e.ShadersStoreWGSL[r]=t;const n={name:r,shader:t};export{n as rgbdEncodePixelShaderWGSL};
2
+ //# sourceMappingURL=rgbdEncode.fragment-C5eGI_F7.esm.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rgbdEncode.fragment-C5eGI_F7.esm.min.js","sources":["../../../../../dev/core/dist/ShadersWGSL/rgbdEncode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdEncodePixelShader\";\nconst shader = `varying vUV: vec2f;var textureSamplerSampler: sampler;var textureSampler: texture_2d<f32>;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\n@fragment\nfn main(input: FragmentInputs)->FragmentOutputs {fragmentOutputs.color=toRGBD(textureSample(textureSampler,textureSamplerSampler,input.vUV).rgb);}`;\n// Sideeffect\nShaderStore.ShadersStoreWGSL[name] = shader;\n/** @internal */\nexport const rgbdEncodePixelShaderWGSL = { name, shader };\n//# sourceMappingURL=rgbdEncode.fragment.js.map"],"names":["name","shader","ShaderStore","ShadersStoreWGSL","rgbdEncodePixelShaderWGSL"],"mappings":"8FAGA,MAAMA,EAAO,wBACPC,EAAS,4TAMfC,EAAYC,iBAAiBH,GAAQC,EAEzB,MAACG,EAA4B,CAAEJ,OAAMC"}
@@ -0,0 +1,17 @@
1
+ import { i as ShaderStore } from './index-DBm7fzXf.esm.js';
2
+ import './helperFunctions-VmMN0Mna.esm.js';
3
+
4
+ // Do not edit.
5
+ const name = "rgbdEncodePixelShader";
6
+ const shader = `varying vec2 vUV;uniform sampler2D textureSampler;
7
+ #include<helperFunctions>
8
+ #define CUSTOM_FRAGMENT_DEFINITIONS
9
+ void main(void)
10
+ {gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}`;
11
+ // Sideeffect
12
+ ShaderStore.ShadersStore[name] = shader;
13
+ /** @internal */
14
+ const rgbdEncodePixelShader = { name, shader };
15
+
16
+ export { rgbdEncodePixelShader };
17
+ //# sourceMappingURL=rgbdEncode.fragment-Cv2rZN9H.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rgbdEncode.fragment-Cv2rZN9H.esm.js","sources":["../../../../../dev/core/dist/Shaders/rgbdEncode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdEncodePixelShader\";\nconst shader = `varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const rgbdEncodePixelShader = { name, shader };\n//# sourceMappingURL=rgbdEncode.fragment.js.map"],"names":[],"mappings":";;;AAAA;AAGA,MAAM,IAAI,GAAG,uBAAuB;AACpC,MAAM,MAAM,GAAG,CAAC;AAChB;AACA;AACA;AACA,yDAAyD,CAAC;AAC1D;AACA,WAAW,CAAC,YAAY,CAAC,IAAI,CAAC,GAAG,MAAM;AACvC;AACY,MAAC,qBAAqB,GAAG,EAAE,IAAI,EAAE,MAAM;;;;"}
@@ -0,0 +1,2 @@
1
+ import{i as e}from"./index-jZFAQQur.esm.min.js";import"./helperFunctions-zdjEtnRv.esm.min.js";const r="rgbdEncodePixelShader",n="varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}";e.ShadersStore[r]=n;const i={name:r,shader:n};export{i as rgbdEncodePixelShader};
2
+ //# sourceMappingURL=rgbdEncode.fragment-a2UFva1K.esm.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rgbdEncode.fragment-a2UFva1K.esm.min.js","sources":["../../../../../dev/core/dist/Shaders/rgbdEncode.fragment.js"],"sourcesContent":["// Do not edit.\nimport { ShaderStore } from \"../Engines/shaderStore\";\nimport \"./ShadersInclude/helperFunctions\";\nconst name = \"rgbdEncodePixelShader\";\nconst shader = `varying vec2 vUV;uniform sampler2D textureSampler;\n#include<helperFunctions>\n#define CUSTOM_FRAGMENT_DEFINITIONS\nvoid main(void) \n{gl_FragColor=toRGBD(texture2D(textureSampler,vUV).rgb);}`;\n// Sideeffect\nShaderStore.ShadersStore[name] = shader;\n/** @internal */\nexport const rgbdEncodePixelShader = { name, shader };\n//# sourceMappingURL=rgbdEncode.fragment.js.map"],"names":["name","shader","ShaderStore","ShadersStore","rgbdEncodePixelShader"],"mappings":"8FAGA,MAAMA,EAAO,wBACPC,EAAS,kMAMfC,EAAYC,aAAaH,GAAQC,EAErB,MAACG,EAAwB,CAAEJ,OAAMC"}