@loaders.gl/scene 5.0.0-beta.2 → 5.0.0-beta.5

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 (276) hide show
  1. package/DRACO-README.md +1 -1
  2. package/GLTF-README.md +1 -1
  3. package/OBJ-README.md +1 -1
  4. package/README.md +6 -1
  5. package/THIRD-PARTY-NOTICES.md +6 -0
  6. package/dist/dist.dev.js +6557 -1363
  7. package/dist/dist.min.js +24 -16
  8. package/dist/draco/draco-javascript-loader-with-parser.d.ts +2 -2
  9. package/dist/draco/draco-loader-types.cjs +3 -3
  10. package/dist/draco/draco-loader-types.cjs.map +2 -2
  11. package/dist/draco/draco-loader-types.d.ts +1 -1
  12. package/dist/draco/draco-loader-types.d.ts.map +1 -1
  13. package/dist/draco/draco-loader-types.js +1 -1
  14. package/dist/draco/draco-loader-types.js.map +1 -1
  15. package/dist/draco/draco-loader.d.ts +2 -2
  16. package/dist/draco/draco-wasm-loader-with-parser.d.ts +2 -2
  17. package/dist/draco/draco3d-loader-with-parser.d.ts +2 -2
  18. package/dist/draco/lib/utils/version.cjs +1 -1
  19. package/dist/draco/lib/utils/version.js +1 -1
  20. package/dist/draco-worker-node.js +806 -158
  21. package/dist/draco-worker-node.js.map +4 -4
  22. package/dist/draco-worker.js +775 -158
  23. package/dist/draco-worker.js.map +4 -4
  24. package/dist/draco-writer-worker-node.cjs +2122 -219
  25. package/dist/draco-writer-worker-node.cjs.map +4 -4
  26. package/dist/draco-writer-worker.js +2053 -220
  27. package/dist/draco-writer-worker.js.map +4 -4
  28. package/dist/gltf/gltf-loader-types.cjs.map +2 -2
  29. package/dist/gltf/gltf-loader-types.d.ts +6 -0
  30. package/dist/gltf/gltf-loader-types.d.ts.map +1 -1
  31. package/dist/gltf/gltf-loader-types.js.map +1 -1
  32. package/dist/gltf/index.cjs +2 -0
  33. package/dist/gltf/index.cjs.map +2 -2
  34. package/dist/gltf/index.d.ts +2 -2
  35. package/dist/gltf/index.d.ts.map +1 -1
  36. package/dist/gltf/index.js +1 -1
  37. package/dist/gltf/index.js.map +1 -1
  38. package/dist/gltf/lib/api/gltf-extensions.cjs +7 -2
  39. package/dist/gltf/lib/api/gltf-extensions.cjs.map +2 -2
  40. package/dist/gltf/lib/api/gltf-extensions.d.ts.map +1 -1
  41. package/dist/gltf/lib/api/gltf-extensions.js +7 -5
  42. package/dist/gltf/lib/api/gltf-extensions.js.map +1 -1
  43. package/dist/gltf/lib/extensions/EXT_texture_webp.cjs +1 -0
  44. package/dist/gltf/lib/extensions/EXT_texture_webp.cjs.map +2 -2
  45. package/dist/gltf/lib/extensions/EXT_texture_webp.d.ts.map +1 -1
  46. package/dist/gltf/lib/extensions/EXT_texture_webp.js +3 -0
  47. package/dist/gltf/lib/extensions/EXT_texture_webp.js.map +1 -1
  48. package/dist/gltf/lib/extensions/KHR_accessor_float64.cjs +45 -0
  49. package/dist/gltf/lib/extensions/KHR_accessor_float64.cjs.map +7 -0
  50. package/dist/gltf/lib/extensions/KHR_accessor_float64.d.ts +6 -0
  51. package/dist/gltf/lib/extensions/KHR_accessor_float64.d.ts.map +1 -0
  52. package/dist/gltf/lib/extensions/KHR_accessor_float64.js +20 -0
  53. package/dist/gltf/lib/extensions/KHR_accessor_float64.js.map +1 -0
  54. package/dist/gltf/lib/extensions/KHR_gaussian_splatting.cjs +23 -7
  55. package/dist/gltf/lib/extensions/KHR_gaussian_splatting.cjs.map +2 -2
  56. package/dist/gltf/lib/extensions/KHR_gaussian_splatting.d.ts +2 -1
  57. package/dist/gltf/lib/extensions/KHR_gaussian_splatting.d.ts.map +1 -1
  58. package/dist/gltf/lib/extensions/KHR_gaussian_splatting.js +21 -5
  59. package/dist/gltf/lib/extensions/KHR_gaussian_splatting.js.map +1 -1
  60. package/dist/gltf/lib/extensions/MSFT_texture_dds.cjs +64 -0
  61. package/dist/gltf/lib/extensions/MSFT_texture_dds.cjs.map +7 -0
  62. package/dist/gltf/lib/extensions/MSFT_texture_dds.d.ts +12 -0
  63. package/dist/gltf/lib/extensions/MSFT_texture_dds.d.ts.map +1 -0
  64. package/dist/gltf/lib/extensions/MSFT_texture_dds.js +39 -0
  65. package/dist/gltf/lib/extensions/MSFT_texture_dds.js.map +1 -0
  66. package/dist/gltf/lib/extensions/utils/3d-tiles-utils.cjs +1 -1
  67. package/dist/gltf/lib/extensions/utils/3d-tiles-utils.cjs.map +2 -2
  68. package/dist/gltf/lib/extensions/utils/3d-tiles-utils.d.ts.map +1 -1
  69. package/dist/gltf/lib/extensions/utils/3d-tiles-utils.js +3 -1
  70. package/dist/gltf/lib/extensions/utils/3d-tiles-utils.js.map +1 -1
  71. package/dist/gltf/lib/parsers/parse-gltf.cjs +25 -0
  72. package/dist/gltf/lib/parsers/parse-gltf.cjs.map +2 -2
  73. package/dist/gltf/lib/parsers/parse-gltf.d.ts +2 -0
  74. package/dist/gltf/lib/parsers/parse-gltf.d.ts.map +1 -1
  75. package/dist/gltf/lib/parsers/parse-gltf.js +18 -0
  76. package/dist/gltf/lib/parsers/parse-gltf.js.map +1 -1
  77. package/dist/gltf/lib/types/gltf-additional-extension-schemas.cjs +22 -0
  78. package/dist/gltf/lib/types/gltf-additional-extension-schemas.cjs.map +2 -2
  79. package/dist/gltf/lib/types/gltf-additional-extension-schemas.d.ts +23 -0
  80. package/dist/gltf/lib/types/gltf-additional-extension-schemas.d.ts.map +1 -1
  81. package/dist/gltf/lib/types/gltf-additional-extension-schemas.js +22 -0
  82. package/dist/gltf/lib/types/gltf-additional-extension-schemas.js.map +1 -1
  83. package/dist/gltf/lib/types/gltf-ext-gaussian-splatting-schema.cjs.map +1 -1
  84. package/dist/gltf/lib/types/gltf-ext-gaussian-splatting-schema.d.ts +1 -1
  85. package/dist/gltf/lib/types/gltf-ext-gaussian-splatting-schema.d.ts.map +1 -1
  86. package/dist/gltf/lib/types/gltf-extension-schemas.cjs +8 -0
  87. package/dist/gltf/lib/types/gltf-extension-schemas.cjs.map +2 -2
  88. package/dist/gltf/lib/types/gltf-extension-schemas.d.ts +27 -0
  89. package/dist/gltf/lib/types/gltf-extension-schemas.d.ts.map +1 -1
  90. package/dist/gltf/lib/types/gltf-extension-schemas.js +8 -1
  91. package/dist/gltf/lib/types/gltf-extension-schemas.js.map +1 -1
  92. package/dist/gltf/lib/types/gltf-json-schema.cjs.map +1 -1
  93. package/dist/gltf/lib/types/gltf-json-schema.d.ts +2 -2
  94. package/dist/gltf/lib/types/gltf-json-schema.d.ts.map +1 -1
  95. package/dist/gltf/lib/types/gltf-texture-procedurals.cjs +19 -0
  96. package/dist/gltf/lib/types/gltf-texture-procedurals.cjs.map +7 -0
  97. package/dist/gltf/lib/types/gltf-texture-procedurals.d.ts +45 -0
  98. package/dist/gltf/lib/types/gltf-texture-procedurals.d.ts.map +1 -0
  99. package/dist/gltf/lib/types/gltf-texture-procedurals.js +5 -0
  100. package/dist/gltf/lib/types/gltf-texture-procedurals.js.map +1 -0
  101. package/dist/gltf/lib/types/gltf-types.cjs.map +1 -1
  102. package/dist/gltf/lib/types/gltf-types.d.ts +7 -0
  103. package/dist/gltf/lib/types/gltf-types.d.ts.map +1 -1
  104. package/dist/gltf/lib/types/gltf-version-zod-schemas.d.ts +34 -0
  105. package/dist/gltf/lib/types/gltf-version-zod-schemas.d.ts.map +1 -1
  106. package/dist/gltf/lib/types/gltf-zod-schema.cjs +4 -1
  107. package/dist/gltf/lib/types/gltf-zod-schema.cjs.map +2 -2
  108. package/dist/gltf/lib/types/gltf-zod-schema.d.ts +56 -0
  109. package/dist/gltf/lib/types/gltf-zod-schema.d.ts.map +1 -1
  110. package/dist/gltf/lib/types/gltf-zod-schema.js +6 -2
  111. package/dist/gltf/lib/types/gltf-zod-schema.js.map +1 -1
  112. package/dist/gltf/lib/utils/version.cjs +1 -1
  113. package/dist/gltf/lib/utils/version.js +1 -1
  114. package/dist/gltf/schema.cjs +3 -0
  115. package/dist/gltf/schema.cjs.map +2 -2
  116. package/dist/gltf/schema.d.ts +1 -0
  117. package/dist/gltf/schema.d.ts.map +1 -1
  118. package/dist/gltf/schema.js +1 -0
  119. package/dist/gltf/schema.js.map +1 -1
  120. package/dist/gltf-loader-types.cjs.map +2 -2
  121. package/dist/index.cjs +7 -1
  122. package/dist/index.cjs.map +2 -2
  123. package/dist/index.d.ts +3 -0
  124. package/dist/index.d.ts.map +1 -1
  125. package/dist/index.js +3 -1
  126. package/dist/index.js.map +1 -1
  127. package/dist/materialx/parse-materialx.cjs +61 -0
  128. package/dist/materialx/parse-materialx.cjs.map +7 -0
  129. package/dist/materialx/parse-materialx.d.ts +23 -0
  130. package/dist/materialx/parse-materialx.d.ts.map +1 -0
  131. package/dist/materialx/parse-materialx.js +39 -0
  132. package/dist/materialx/parse-materialx.js.map +1 -0
  133. package/dist/materialx/procedural-graph.cjs +77 -0
  134. package/dist/materialx/procedural-graph.cjs.map +7 -0
  135. package/dist/materialx/procedural-graph.d.ts +40 -0
  136. package/dist/materialx/procedural-graph.d.ts.map +1 -0
  137. package/dist/materialx/procedural-graph.js +59 -0
  138. package/dist/materialx/procedural-graph.js.map +1 -0
  139. package/dist/materialx-loader-types.cjs +57 -0
  140. package/dist/materialx-loader-types.cjs.map +7 -0
  141. package/dist/materialx-loader-types.d.ts +34 -0
  142. package/dist/materialx-loader-types.d.ts.map +1 -0
  143. package/dist/materialx-loader-types.js +20 -0
  144. package/dist/materialx-loader-types.js.map +1 -0
  145. package/dist/materialx-loader.cjs +40 -0
  146. package/dist/materialx-loader.cjs.map +7 -0
  147. package/dist/materialx-loader.d.ts +19 -0
  148. package/dist/materialx-loader.d.ts.map +1 -0
  149. package/dist/materialx-loader.js +14 -0
  150. package/dist/materialx-loader.js.map +1 -0
  151. package/dist/mtl-loader-types.cjs +1 -1
  152. package/dist/obj/mtl-loader-types.cjs +1 -1
  153. package/dist/obj/mtl-loader-types.js +1 -1
  154. package/dist/obj/obj-loader-types.cjs +3 -3
  155. package/dist/obj/obj-loader-types.cjs.map +2 -2
  156. package/dist/obj/obj-loader-types.d.ts +1 -1
  157. package/dist/obj/obj-loader-types.d.ts.map +1 -1
  158. package/dist/obj/obj-loader-types.js +2 -2
  159. package/dist/obj/obj-loader-types.js.map +1 -1
  160. package/dist/obj/obj-loader.cjs +5 -5
  161. package/dist/obj/obj-loader.cjs.map +2 -2
  162. package/dist/obj/obj-loader.d.ts +1 -1
  163. package/dist/obj/obj-loader.d.ts.map +1 -1
  164. package/dist/obj/obj-loader.js +1 -1
  165. package/dist/obj/obj-loader.js.map +1 -1
  166. package/dist/obj/obj-writer.cjs +1 -1
  167. package/dist/obj/obj-writer.js +1 -1
  168. package/dist/obj-loader-types.cjs +3 -3
  169. package/dist/obj-loader-types.cjs.map +2 -2
  170. package/dist/obj-loader.cjs +5 -5
  171. package/dist/obj-loader.cjs.map +2 -2
  172. package/dist/obj-worker.js +985 -368
  173. package/dist/obj-writer.cjs +1 -1
  174. package/dist/stl/parse-stl.cjs +100 -0
  175. package/dist/stl/parse-stl.cjs.map +7 -0
  176. package/dist/stl/parse-stl.d.ts +4 -0
  177. package/dist/stl/parse-stl.d.ts.map +1 -0
  178. package/dist/stl/parse-stl.js +84 -0
  179. package/dist/stl/parse-stl.js.map +1 -0
  180. package/dist/stl-loader-types.cjs +58 -0
  181. package/dist/stl-loader-types.cjs.map +7 -0
  182. package/dist/stl-loader-types.d.ts +32 -0
  183. package/dist/stl-loader-types.d.ts.map +1 -0
  184. package/dist/stl-loader-types.js +25 -0
  185. package/dist/stl-loader-types.js.map +1 -0
  186. package/dist/stl-loader.cjs +38 -0
  187. package/dist/stl-loader.cjs.map +7 -0
  188. package/dist/stl-loader.d.ts +17 -0
  189. package/dist/stl-loader.d.ts.map +1 -0
  190. package/dist/stl-loader.js +13 -0
  191. package/dist/stl-loader.js.map +1 -0
  192. package/dist/usd/index.cjs.map +1 -1
  193. package/dist/usd/index.d.ts +1 -1
  194. package/dist/usd/index.d.ts.map +1 -1
  195. package/dist/usd/lib/parse-usd.cjs +42 -5
  196. package/dist/usd/lib/parse-usd.cjs.map +2 -2
  197. package/dist/usd/lib/parse-usd.d.ts.map +1 -1
  198. package/dist/usd/lib/parse-usd.js +53 -6
  199. package/dist/usd/lib/parse-usd.js.map +1 -1
  200. package/dist/usd/lib/parse-usdc.cjs +187 -0
  201. package/dist/usd/lib/parse-usdc.cjs.map +7 -0
  202. package/dist/usd/lib/parse-usdc.d.ts +4 -0
  203. package/dist/usd/lib/parse-usdc.d.ts.map +1 -0
  204. package/dist/usd/lib/parse-usdc.js +176 -0
  205. package/dist/usd/lib/parse-usdc.js.map +1 -0
  206. package/dist/usd/lib/parse-usdz.cjs +22 -0
  207. package/dist/usd/lib/parse-usdz.cjs.map +2 -2
  208. package/dist/usd/lib/parse-usdz.d.ts.map +1 -1
  209. package/dist/usd/lib/parse-usdz.js +26 -0
  210. package/dist/usd/lib/parse-usdz.js.map +1 -1
  211. package/dist/usd/lib/usd-types.cjs.map +1 -1
  212. package/dist/usd/lib/usd-types.d.ts +14 -1
  213. package/dist/usd/lib/usd-types.d.ts.map +1 -1
  214. package/dist/usd/lib/usd-types.js +1 -1
  215. package/dist/usd/lib/usd-types.js.map +1 -1
  216. package/dist/usd/libs/README.md +27 -0
  217. package/dist/usd/libs/THREE-LICENSE +21 -0
  218. package/dist/usd/libs/usdc-parser.d.ts +78 -0
  219. package/dist/usd/libs/usdc-parser.d.ts.map +1 -0
  220. package/dist/usd/libs/usdc-parser.js +1669 -0
  221. package/dist/usd/libs/usdc-parser.js.map +1 -0
  222. package/dist/usd/usd-loader-types.cjs +4 -4
  223. package/dist/usd/usd-loader-types.cjs.map +2 -2
  224. package/dist/usd/usd-loader-types.d.ts +7 -7
  225. package/dist/usd/usd-loader-types.d.ts.map +1 -1
  226. package/dist/usd/usd-loader-types.js +6 -6
  227. package/dist/usd/usd-loader-types.js.map +1 -1
  228. package/dist/usd/usd-loader.cjs.map +1 -1
  229. package/dist/usd/usd-loader.d.ts +4 -4
  230. package/dist/usd/usd-loader.d.ts.map +1 -1
  231. package/dist/usd/usd-loader.js +2 -2
  232. package/dist/usd/usd-loader.js.map +1 -1
  233. package/dist/usd-loader-types.cjs +4 -4
  234. package/dist/usd-loader-types.cjs.map +2 -2
  235. package/dist/usd-loader.cjs.map +1 -1
  236. package/package.json +19 -7
  237. package/src/draco/draco-loader-types.ts +1 -1
  238. package/src/gltf/gltf-loader-types.ts +6 -0
  239. package/src/gltf/index.ts +4 -1
  240. package/src/gltf/lib/api/gltf-extensions.ts +7 -2
  241. package/src/gltf/lib/extensions/EXT_texture_webp.ts +3 -0
  242. package/src/gltf/lib/extensions/KHR_accessor_float64.ts +22 -0
  243. package/src/gltf/lib/extensions/KHR_gaussian_splatting.ts +31 -7
  244. package/src/gltf/lib/extensions/MSFT_texture_dds.ts +52 -0
  245. package/src/gltf/lib/extensions/utils/3d-tiles-utils.ts +5 -1
  246. package/src/gltf/lib/parsers/parse-gltf.ts +31 -0
  247. package/src/gltf/lib/types/gltf-additional-extension-schemas.ts +32 -0
  248. package/src/gltf/lib/types/gltf-ext-gaussian-splatting-schema.ts +1 -1
  249. package/src/gltf/lib/types/gltf-extension-schemas.ts +12 -0
  250. package/src/gltf/lib/types/gltf-json-schema.ts +2 -1
  251. package/src/gltf/lib/types/gltf-texture-procedurals.ts +67 -0
  252. package/src/gltf/lib/types/gltf-types.ts +8 -0
  253. package/src/gltf/lib/types/gltf-zod-schema.ts +7 -1
  254. package/src/gltf/schema.ts +1 -0
  255. package/src/index.ts +6 -1
  256. package/src/materialx/README.md +5 -0
  257. package/src/materialx/parse-materialx.ts +70 -0
  258. package/src/materialx/procedural-graph.ts +94 -0
  259. package/src/materialx-loader-types.ts +24 -0
  260. package/src/materialx-loader.ts +15 -0
  261. package/src/obj/obj-loader-types.ts +1 -1
  262. package/src/obj/obj-loader.ts +1 -1
  263. package/src/stl/parse-stl.ts +90 -0
  264. package/src/stl-loader-types.ts +28 -0
  265. package/src/stl-loader.ts +12 -0
  266. package/src/usd/index.ts +1 -0
  267. package/src/usd/lib/parse-usd.ts +68 -7
  268. package/src/usd/lib/parse-usdc.ts +188 -0
  269. package/src/usd/lib/parse-usdz.ts +28 -0
  270. package/src/usd/lib/usd-types.ts +16 -2
  271. package/src/usd/libs/README.md +27 -0
  272. package/src/usd/libs/THREE-LICENSE +21 -0
  273. package/src/usd/libs/usdc-parser.d.ts +18 -0
  274. package/src/usd/libs/usdc-parser.js +1669 -0
  275. package/src/usd/usd-loader-types.ts +5 -5
  276. package/src/usd/usd-loader.ts +2 -2
@@ -7,6 +7,19 @@ export declare const GLTFPropertyExtensionsSchema: z.ZodObject<{
7
7
  extras: z.ZodOptional<z.ZodUnknown>;
8
8
  }, z.core.$loose>>;
9
9
  }, z.core.$loose>;
10
+ /** Permissive material extension map. */
11
+ export declare const GLTFMaterialExtensionsSchema: z.ZodObject<{
12
+ KHR_xmp_json_ld: z.ZodOptional<z.ZodObject<{
13
+ packet: z.ZodNumber;
14
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
15
+ extras: z.ZodOptional<z.ZodUnknown>;
16
+ }, z.core.$loose>>;
17
+ KHR_materials_emissive_strength: z.ZodOptional<z.ZodObject<{
18
+ emissiveStrength: z.ZodOptional<z.ZodNumber>;
19
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
20
+ extras: z.ZodOptional<z.ZodUnknown>;
21
+ }, z.core.$loose>>;
22
+ }, z.core.$loose>;
10
23
  /** Permissive document-level extension map. */
11
24
  export declare const GLTFRootExtensionsSchema: z.ZodObject<{
12
25
  KHR_materials_variants: z.ZodOptional<z.ZodObject<{
@@ -185,6 +198,18 @@ export declare const GLTFSceneExtensionsSchema: z.ZodObject<{
185
198
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
186
199
  extras: z.ZodOptional<z.ZodUnknown>;
187
200
  }, z.core.$loose>>;
201
+ FB_geometry_metadata: z.ZodOptional<z.ZodObject<{
202
+ vertexCount: z.ZodOptional<z.ZodNumber>;
203
+ primitiveCount: z.ZodOptional<z.ZodNumber>;
204
+ sceneBounds: z.ZodOptional<z.ZodObject<{
205
+ min: z.ZodArray<z.ZodNumber>;
206
+ max: z.ZodArray<z.ZodNumber>;
207
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
208
+ extras: z.ZodOptional<z.ZodUnknown>;
209
+ }, z.core.$loose>>;
210
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
211
+ extras: z.ZodOptional<z.ZodUnknown>;
212
+ }, z.core.$loose>>;
188
213
  KHR_audio_emitter: z.ZodOptional<z.ZodObject<{
189
214
  emitters: z.ZodArray<z.ZodNumber>;
190
215
  name: z.ZodOptional<z.ZodString>;
@@ -216,6 +241,8 @@ export declare const GLTFAnimationTargetExtensionsSchema: z.ZodObject<{
216
241
  }, z.core.$loose>;
217
242
  /** Typed document-level extensions with arbitrary additional extension names. */
218
243
  export type GLTFRootExtensions = z.infer<typeof GLTFRootExtensionsSchema>;
244
+ /** Typed material extensions with arbitrary additional extension names. */
245
+ export type GLTFMaterialExtensions = z.infer<typeof GLTFMaterialExtensionsSchema>;
219
246
  /** Typed node-level extensions with arbitrary additional extension names. */
220
247
  export type GLTFNodeExtensions = z.infer<typeof GLTFNodeExtensionsSchema>;
221
248
  /** Typed scene-level extensions with arbitrary additional extension names. */
@@ -1 +1 @@
1
- {"version":3,"file":"gltf-extension-schemas.d.ts","sourceRoot":"","sources":["../../../../src/gltf/lib/types/gltf-extension-schemas.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AAkBtB,6EAA6E;AAC7E,eAAO,MAAM,4BAA4B;;;;;;iBAGvC,CAAC;AAEH,+CAA+C;AAC/C,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBASnC,CA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SPDX-License-Identifier: MIT
3
3
  // Copyright vis.gl contributors
4
4
  import { z } from 'zod';
5
- import { GLTFKHRMaterialsVariantsSchema, GLTFKHRMaterialsVariantsPrimitiveSchema, GLTFEXTMeshGPUInstancingSchema, GLTFKHRAnimationPointerSchema, GLTFKHRNodeVisibilitySchema, GLTFKHRNodeSelectabilitySchema, GLTFKHRNodeHoverabilitySchema, GLTFKHRXMPJSONLDSchema, GLTFKHRXMPJSONLDReferenceSchema } from "./gltf-additional-extension-schemas.js";
5
+ import { GLTFKHRMaterialsVariantsSchema, GLTFKHRMaterialsVariantsPrimitiveSchema, GLTFEXTMeshGPUInstancingSchema, GLTFKHRAnimationPointerSchema, GLTFKHRNodeVisibilitySchema, GLTFKHRNodeSelectabilitySchema, GLTFKHRNodeHoverabilitySchema, GLTFKHRMaterialsEmissiveStrengthSchema, GLTFFBGeometryMetadataSchema, GLTFKHRXMPJSONLDSchema, GLTFKHRXMPJSONLDReferenceSchema } from "./gltf-additional-extension-schemas.js";
6
6
  import { GLTFKHRAudioEmitterExtensionSchema, GLTFKHRAudioAttachmentSchema, GLTFMPEGAudioSpatialSchema } from "./gltf-audio-extension-schemas.js";
7
7
  /** Permissive extension map for objects that can reference an XMP packet. */
8
8
  export const GLTFPropertyExtensionsSchema = z.looseObject({
9
9
  /** Shared XMP packet reference. */
10
10
  KHR_xmp_json_ld: GLTFKHRXMPJSONLDReferenceSchema.optional()
11
11
  });
12
+ /** Permissive material extension map. */
13
+ export const GLTFMaterialExtensionsSchema = GLTFPropertyExtensionsSchema.extend({
14
+ /** Emissive intensity multiplier. */
15
+ KHR_materials_emissive_strength: GLTFKHRMaterialsEmissiveStrengthSchema.optional()
16
+ });
12
17
  /** Permissive document-level extension map. */
13
18
  export const GLTFRootExtensionsSchema = z.looseObject({
14
19
  /** Shared material variant declarations. */
@@ -37,6 +42,8 @@ export const GLTFNodeExtensionsSchema = GLTFPropertyExtensionsSchema.extend({
37
42
  });
38
43
  /** Permissive scene-level extension map. */
39
44
  export const GLTFSceneExtensionsSchema = GLTFPropertyExtensionsSchema.extend({
45
+ /** Authored static geometry summary. */
46
+ FB_geometry_metadata: GLTFFBGeometryMetadataSchema.optional(),
40
47
  /** Attached global KHR audio emitters. */
41
48
  KHR_audio_emitter: GLTFKHRAudioAttachmentSchema.optional()
42
49
  });
@@ -1 +1 @@
1
- {"version":3,"file":"gltf-extension-schemas.js","sourceRoot":"","sources":["../../../../src/gltf/lib/types/gltf-extension-schemas.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,gCAAgC;AAEhC,OAAO,EAAC,CAAC,EAAC,MAAM,KAAK,CAAC;AACtB,OAAO,EACL,8BAA8B,EAC9B,uCAAuC,EACvC,8BAA8B,EAC9B,6BAA6B,EAC7B,2BAA2B,EAC3B,8BAA8B,EAC9B,6BAA6B,EAC7B,sBAAsB,EACtB,+BAA+B,EAChC,+CAA4C;AAC7C,OAAO,EACL,kCAAkC,EAClC,4BAA4B,EAC5B,0BAA0B,EAC3B,0CAAuC;AAExC,6EAA6E;AAC7E,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,WAAW,CAAC;IACxD,mCAAmC;IACnC,eAAe,EAAE,+BAA+B,CAAC,QAAQ,EAAE;CAC5D,CAAC,CAAC;AAEH,+CAA+C;AAC/C,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,WAAW,CAAC;IACpD,4CAA4C;IAC5C,sBAAsB,EAAE,8BAA8B,CAAC,QAAQ,EAAE;IACjE,mCAAmC;IACnC,eAAe,EAAE,sBAAsB,CAAC,QAAQ,EAAE;IAClD,wDAAwD;IACxD,iBAAiB,EAAE,kCAAkC,CAAC,QAAQ,EAAE;IAChE,iDAAiD;IACjD,kBAAkB,EAAE,0BAA0B,CAAC,QAAQ,EAAE;CAC1D,CAAC,CAAC;AAEH,2CAA2C;AAC3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,4BAA4B,CAAC,MAAM,CAAC;IAC1E,kD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AAC,CAAC;AAEH,4CAA4C;AAC5C,MAAM,CAAC,MAAM,yBAAyB,GAAG,4BAA4B,CAAC,MAAM,CAAC;IAC3E,wCAAwC;IACxC,oBAAoB,EAAE,4BAA4B,CAAC,QAAQ,EAAE;IAC7D,0CAA0C;IAC1C,iBAAiB,EAAE,4BAA4B,CAAC,QAAQ,EAAE;CAC3D,CAAC,CAAC;AAEH,+CAA+C;AAC/C,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,WAAW,CAAC;IAC7D,uDAAuD;IACvD,sBAAsB,EAAE,uCAAuC,CAAC,QAAQ,EAAE;CAC3E,CAAC,CAAC;AAEH,iDAAiD;AACjD,MAAM,CAAC,MAAM,mCAAmC,GAAG,CAAC,CAAC,WAAW,CAAC;IAC/D,sDAAsD;IACtD,qBAAqB,EAAE,6BAA6B,CAAC,QAAQ,EAAE;CAChE,CAAC,CAAC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/gltf/lib/types/gltf-json-schema.ts"],
4
- "sourcesContent": ["// SPDX-License-Identifier: MIT\n\n// Types forked from https://github.com/bwasty/gltf-loader-ts under MIT license\n// Generated from official JSON schema using `npm run generate-interface` on 2018-02-24\n\nimport type {GLTFBoundingVolume, GLTFShape} from './gltf-shape-schema';\nimport type {\n GLTFPropertyExtensions,\n GLTFRootExtensions,\n GLTFNodeExtensions,\n GLTFSceneExtensions,\n GLTFMeshPrimitiveExtensions,\n GLTFAnimationTargetExtensions\n} from './gltf-extension-schemas';\n\nexport type GLTFId = number;\n\n/**\n * Indices of those attributes that deviate from their initialization value.\n */\nexport type GLTFAccessorSparseIndices = {\n /**\n * The index of the bufferView with sparse indices. Referenced bufferView can't have ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target.\n */\n bufferView: GLTFId;\n /**\n * The offset relative to the start of the bufferView in bytes. Must be aligned.\n */\n byteOffset?: number;\n /**\n * The indices data type.\n */\n componentType: 5121 | 5123 | 5125 | number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Array of size `accessor.sparse.count` times number of components storing the displaced accessor attributes pointed by `accessor.sparse.indices`.\n */\nexport type GLTFAccessorSparseValues = {\n /**\n * The index of the bufferView with sparse values. Referenced bufferView can't have ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target.\n */\n bufferView: GLTFId;\n /**\n * The offset relative to the start of the bufferView in bytes. Must be aligned.\n */\n byteOffset?: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Sparse storage of attributes that deviate from their initialization value.\n */\nexport type GLTFAccessorSparse = {\n /**\n * Number of entries stored in the sparse array.\n */\n count: number;\n /**\n * Index array of size `count` that points to those accessor attributes that deviate from their initialization value. Indices must strictly increase.\n */\n indices: GLTFAccessorSparseIndices;\n /**\n * Array of size `count` times number of components, storing the displaced accessor attributes pointed by `indices`. Substituted values must have the same `componentType` and number of components as the base accessor.\n */\n values: GLTFAccessorSparseValues;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A typed view into a bufferView. A bufferView contains raw binary data. An accessor provides a typed view into a bufferView or a subset of a bufferView similar to how WebGL's `vertexAttribPointer()` defines an attribute in a buffer.\n */\nexport type GLTFAccessor = {\n /**\n * The index of the bufferView.\n */\n bufferView?: GLTFId;\n /**\n * The offset relative to the start of the bufferView in bytes.\n */\n byteOffset?: number;\n /**\n * The datatype of components in the attribute.\n */\n componentType:\n | 5120\n | 5121\n | 5122\n | 5123\n | 5124\n | 5125\n | 5126\n | 5130\n | 5131\n | 5134\n | 5135\n | number;\n /**\n * Specifies whether integer data values should be normalized.\n */\n normalized?: boolean;\n /**\n * The number of attributes referenced by this accessor.\n */\n count: number;\n /**\n * Specifies if the attribute is a scalar, vector, or matrix.\n */\n type: 'SCALAR' | 'VEC2' | 'VEC3' | 'VEC4' | 'MAT2' | 'MAT3' | 'MAT4' | string;\n /**\n * Maximum value of each component in this attribute.\n */\n max?: number[];\n /**\n * Minimum value of each component in this attribute.\n */\n min?: number[];\n /**\n * Sparse storage of attributes that deviate from their initialization value.\n */\n sparse?: GLTFAccessorSparse;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * The index of the node and TRS property that an animation channel targets.\n */\nexport type GLTFAnimationChannelTarget = {\n /**\n * The index of the node to target.\n */\n node?: GLTFId;\n /**\n * The name of the node's TRS property to modify, or the \"weights\" of the Morph Targets it instantiates. For the \"translation\" property, the values that are provided by the sampler are the translation along the x, y, and z axes. For the \"rotation\" property, the values are a quaternion in the order (x, y, z, w), where w is the scalar. For the \"scale\" property, the values are the scaling factors along the x, y, and z axes.\n */\n path: 'translation' | 'rotation' | 'scale' | 'weights' | string;\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFAnimationTargetExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Targets an animation's sampler at a node's property.\n */\nexport type GLTFAnimationChannel = {\n /**\n * The index of a sampler in this animation used to compute the value for the target.\n */\n sampler: GLTFId;\n /**\n * The index of the node and TRS property to target.\n */\n target: GLTFAnimationChannelTarget;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).\n */\nexport type GLTFAnimationSampler = {\n /**\n * The index of an accessor containing keyframe input values, e.g., time.\n */\n input: GLTFId;\n /**\n * Interpolation algorithm.\n */\n interpolation?: 'LINEAR' | 'STEP' | 'CUBICSPLINE' | string;\n /**\n * The index of an accessor, containing keyframe output values.\n */\n output: GLTFId;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A keyframe animation.\n */\nexport type GLTFAnimation = {\n /**\n * An array of channels, each of which targets an animation's sampler at a node's property. Different channels of the same animation can't have equal targets.\n */\n channels: GLTFAnimationChannel[];\n /**\n * An array of samplers that combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).\n */\n samplers: GLTFAnimationSampler[];\n name?: any;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Metadata about the glTF asset.\n */\nexport type GLTFAsset = {\n /**\n * A copyright message suitable for display to credit the content creator.\n */\n copyright?: string;\n /**\n * Tool that generated this glTF model. Useful for debugging.\n */\n generator?: string;\n /**\n * The glTF version that this asset targets.\n */\n version: string;\n /**\n * The minimum glTF version that this asset targets.\n */\n minVersion?: string;\n /**\n * The index of an image that provides a preview of this glTF asset.\n * Draft glTF 2.1.\n */\n thumbnail?: GLTFId;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A buffer points to binary geometry, animation, or skins.\n */\nexport type GLTFBuffer = {\n /**\n * The uri of the buffer.\n */\n uri?: string;\n /**\n * The zero-based index of the GLB v3 chunk containing the buffer.\n * Draft glTF 2.1 property; mutually exclusive with `uri`.\n */\n chunk?: number;\n /**\n * The length of the buffer in bytes.\n */\n byteLength: number;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A view into a buffer generally representing a subset of the buffer.\n */\nexport type GLTFBufferView = {\n /**\n * The index of the buffer.\n */\n buffer: GLTFId;\n /**\n * The offset into the buffer in bytes.\n */\n byteOffset?: number;\n /**\n * The length of the bufferView in bytes.\n */\n byteLength: number;\n /**\n * The stride, in bytes.\n */\n byteStride?: number;\n /**\n * The target that the GPU buffer should be bound to.\n */\n target?: 34962 | 34963 | number;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * An orthographic camera containing properties to create an orthographic projection matrix.\n */\nexport type GLTFCameraOrthographic = {\n /**\n * The floating-point horizontal magnification of the view. Must not be zero.\n */\n xmag: number;\n /**\n * The floating-point vertical magnification of the view. Must not be zero.\n */\n ymag: number;\n /**\n * The floating-point distance to the far clipping plane. `zfar` must be greater than `znear`.\n */\n zfar: number;\n /**\n * The floating-point distance to the near clipping plane.\n */\n znear: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A perspective camera containing properties to create a perspective projection matrix.\n */\nexport type GLTFCameraPerspective = {\n /**\n * The floating-point aspect ratio of the field of view.\n */\n aspectRatio?: number;\n /**\n * The floating-point vertical field of view in radians.\n */\n yfov: number;\n /**\n * The floating-point distance to the far clipping plane.\n */\n zfar?: number;\n /**\n * The floating-point distance to the near clipping plane.\n */\n znear: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A camera's projection. A node can reference a camera to apply a transform to place the camera in the scene.\n */\nexport type GLTFCamera = {\n /**\n * An orthographic camera containing properties to create an orthographic projection matrix.\n */\n orthographic?: GLTFCameraOrthographic;\n /**\n * A perspective camera containing properties to create a perspective projection matrix.\n */\n perspective?: GLTFCameraPerspective;\n /**\n * Specifies if the camera uses a perspective or orthographic projection.\n */\n type: 'perspective' | 'orthographic' | string;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Image data used to create a texture. Image can be referenced by URI or `bufferView` index. `mimeType` is required in the latter case.\n */\nexport type GLTFImage = {\n /**\n * The uri of the image.\n */\n uri?: string;\n /**\n * The image's MIME type.\n */\n mimeType?: 'image/jpeg' | 'image/png' | string;\n /**\n * The index of the bufferView that contains the image. Use this instead of the image's uri property.\n */\n bufferView?: GLTFId;\n name?: any;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A draft glTF 2.1 reference to a file stored at a URI or in a buffer view.\n */\nexport type GLTFFile = {\n /** URI of the file. Mutually exclusive with `bufferView`. */\n uri?: string;\n /** Index of the buffer view containing the file. Mutually exclusive with `uri`. */\n bufferView?: GLTFId;\n /** MIME type of the referenced file. */\n mimeType: string;\n /** Name used to resolve references from embedded packaged assets. */\n name?: string;\n extensions?: Record<string, any>;\n extras?: any;\n};\n\n/**\n * A draft glTF 2.1 model dependency sourced from the top-level `files` array.\n */\nexport type GLTFExternalAsset = {\n /** Index of the file containing the external glTF asset. */\n file: GLTFId;\n /** Optional application-facing name for this external asset. */\n name?: string;\n extensions?: Record<string, any>;\n extras?: any;\n};\n\n/**\n * Reference to a texture.\n */\nexport type GLTFTextureInfo = {\n /**\n * The index of the texture.\n */\n index: GLTFId;\n /**\n * The set index of texture's TEXCOORD attribute used for texture coordinate mapping.\n * Default is 0\n * @see https://github.com/CesiumGS/glTF/blob/3d-tiles-next/specification/2.0/schema/textureInfo.schema.json\n */\n texCoord?: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Extended GLTFTextureInfo that is used in EXT_structural_metadata and EXT_mesh_features\n * https://github.com/CesiumGS/glTF/tree/3d-tiles-next/extensions/2.0/Vendor/EXT_structural_metadata\n * https://github.com/CesiumGS/glTF/tree/3d-tiles-next/extensions/2.0/Vendor/EXT_mesh_features\n */\nexport type GLTFTextureInfoMetadata = GLTFTextureInfo & {\n /**\n * For EXT_structural_metadata and Ext_mesh_features the channels default is [0]\n * @see https://github.com/CesiumGS/glTF/blob/3d-tiles-next/extensions/2.0/Vendor/EXT_mesh_features/schema/featureIdTexture.schema.json\n * @see https://github.com/CesiumGS/glTF/blob/3d-tiles-next/extensions/2.0/Vendor/EXT_structural_metadata/schema/propertyTexture.property.schema.json\n */\n channels: number[] | string;\n /** For internal usage */\n data?: unknown;\n};\n\n/**\n * A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology.\n */\nexport type GLTFMaterialPbrMetallicRoughness = {\n /**\n * The material's base color factor.\n */\n baseColorFactor?: number[];\n /**\n * The base color texture.\n */\n baseColorTexture?: GLTFTextureInfo;\n /**\n * The metalness of the material.\n */\n metallicFactor?: number;\n /**\n * The roughness of the material.\n */\n roughnessFactor?: number;\n /**\n * The metallic-roughness texture.\n */\n metallicRoughnessTexture?: GLTFTextureInfo;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\nexport type GLTFMaterialNormalTextureInfo = {\n index: any;\n texCoord?: any;\n /**\n * The scalar multiplier applied to each normal vector of the normal texture.\n */\n scale?: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\nexport type GLTFMaterialOcclusionTextureInfo = {\n index: any;\n texCoord?: any;\n /**\n * A scalar multiplier controlling the amount of occlusion applied.\n */\n strength?: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * The material appearance of a primitive.\n */\nexport type GLTFMaterial = {\n name?: any;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n /**\n * A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology. When not specified, all the default values of `pbrMetallicRoughness` apply.\n */\n pbrMetallicRoughness?: GLTFMaterialPbrMetallicRoughness;\n /**\n * The normal map texture.\n */\n normalTexture?: GLTFMaterialNormalTextureInfo;\n /**\n * The occlusion map texture.\n */\n occlusionTexture?: GLTFMaterialOcclusionTextureInfo;\n /**\n * The emissive map texture.\n */\n emissiveTexture?: GLTFTextureInfo;\n /**\n * The emissive color of the material.\n */\n emissiveFactor?: number[];\n /**\n * The alpha rendering mode of the material.\n */\n alphaMode?: 'OPAQUE' | 'MASK' | 'BLEND' | string;\n /**\n * The alpha cutoff value of the material.\n */\n alphaCutoff?: number;\n /**\n * Specifies whether the material is double sided.\n */\n doubleSided?: boolean;\n // [k: string]: any;\n};\n\n/**\n * Geometry to be rendered with the given material.\n */\nexport type GLTFMeshPrimitive = {\n /**\n * A dictionary object, where each key corresponds to mesh attribute semantic and each value is the index of the accessor containing attribute's data.\n */\n attributes: {\n [k: string]: GLTFId;\n };\n /**\n * The index of the accessor that contains the indices.\n */\n indices?: GLTFId;\n /**\n * The index of the material to apply to this primitive when rendering.\n */\n material?: GLTFId;\n /**\n * The type of primitives to render.\n */\n mode?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | number;\n /**\n * An array of Morph Targets, each Morph Target is a dictionary mapping attributes (only `POSITION`, `NORMAL`, and `TANGENT` supported) to their deviations in the Morph Target.\n */\n targets?: {\n [k: string]: GLTFId;\n }[];\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFMeshPrimitiveExtensions;\n extras?: any;\n /** Loader-derived primitive-restart topology. This property is not serialized by glTF. */\n primitiveRestart?: import('./gltf-vector-topology').GLTFPrimitiveRestartData;\n // [k: string]: any;\n};\n\n/**\n * A set of primitives to be rendered. A node can contain one mesh. A node's transform places the mesh in the scene.\n */\n\nexport type GLTFMesh = {\n id?: string;\n /**\n * An array of primitives, each defining geometry to be rendered with a material.\n */\n primitives: GLTFMeshPrimitive[];\n /**\n * Array of weights to be applied to the Morph Targets.\n */\n weights?: number[];\n name?: any;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A node in the node hierarchy. When the node contains `skin`, all `mesh.primitives` must contain `JOINTS_0` and `WEIGHTS_0` attributes. A node can have either a `matrix` or any combination of `translation`/`rotation`/`scale` (TRS) properties. TRS properties are converted to matrices and postmultiplied in the `T * R * S` order to compose the transformation matrix; first the scale is applied to the vertices, then the rotation, and then the translation. If none are provided, the transform is the identity. When a node is targeted for animation (referenced by an animation.channel.target), only TRS properties may be present; `matrix` will not be present.\n */\nexport type GLTFNode = {\n /**\n * The index of the camera referenced by this node.\n */\n camera?: GLTFId;\n /**\n * The indices of this node's children.\n */\n children?: GLTFId[];\n /**\n * The index of the skin referenced by this node.\n */\n skin?: GLTFId;\n /**\n * A floating-point 4x4 transformation matrix stored in column-major order.\n */\n matrix?: number[];\n /**\n * The index of the mesh in this node.\n */\n mesh?: GLTFId;\n /** Index of the draft glTF 2.1 external asset instantiated by this node. */\n externalAsset?: GLTFId;\n /** Draft glTF 2.1 bounding-volume shape reference. */\n boundingVolume?: GLTFBoundingVolume;\n /**\n * The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar.\n */\n rotation?: number[];\n /**\n * The node's non-uniform scale, given as the scaling factors along the x, y, and z axes.\n */\n scale?: number[];\n /**\n * The node's translation along the x, y, and z axes.\n */\n translation?: number[];\n /**\n * The weights of the instantiated Morph Target. Number of elements must match number of Morph Targets of used mesh.\n */\n weights?: number[];\n name?: any;\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFNodeExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Texture sampler properties for filtering and wrapping modes.\n */\nexport type GLTFSampler = {\n /**\n * Magnification filter.\n */\n magFilter?: 9728 | 9729 | number;\n /**\n * Minification filter.\n */\n minFilter?: 9728 | 9729 | 9984 | 9985 | 9986 | 9987 | number;\n /**\n * s wrapping mode.\n */\n wrapS?: 33071 | 33648 | 10497 | number;\n /**\n * t wrapping mode.\n */\n wrapT?: 33071 | 33648 | 10497 | number;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * The root nodes of a scene.\n */\nexport type GLTFScene = {\n /**\n * The indices of each root node.\n */\n nodes?: GLTFId[];\n name?: any;\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFSceneExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Joints and matrices defining a skin.\n */\nexport type GLTFSkin = {\n id?: string;\n /**\n * The index of the accessor containing the floating-point 4x4 inverse-bind matrices. The default is that each matrix is a 4x4 identity matrix, which implies that inverse-bind matrices were pre-applied.\n */\n inverseBindMatrices?: GLTFId;\n /**\n * The index of the node used as a skeleton root. When undefined, joints transforms resolve to scene root.\n */\n skeleton?: GLTFId;\n /** Indices of skeleton nodes, used as joints in this skin. */\n joints: GLTFId[];\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A texture and its sampler.\n */\nexport type GLTFTexture = {\n /** The index of the sampler used by this texture. When undefined, a sampler with repeat wrapping and auto filtering should be used. */\n sampler?: GLTFId;\n /** The index of the image used by this texture. */\n source?: GLTFId;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * The root object for a glTF asset.\n */\nexport type GLTF = {\n /**\n * Names of glTF extensions used somewhere in this asset.\n */\n extensionsUsed?: string[];\n /**\n * Names of glTF extensions required to properly load this asset.\n */\n extensionsRequired?: string[];\n /**\n * An array of accessors.\n */\n accessors?: GLTFAccessor[];\n /**\n * An array of keyframe animations.\n */\n animations?: GLTFAnimation[];\n /**\n * Metadata about the glTF asset.\n */\n asset: GLTFAsset;\n /**\n * An array of buffers.\n */\n buffers?: GLTFBuffer[];\n /**\n * An array of bufferViews.\n */\n bufferViews?: GLTFBufferView[];\n /**\n * An array of cameras.\n */\n cameras?: GLTFCamera[];\n /**\n * An array of images.\n */\n images?: GLTFImage[];\n /**\n * Draft glTF 2.1 unified file references.\n */\n files?: GLTFFile[];\n /**\n * Draft glTF 2.1 external glTF assets.\n */\n externalAssets?: GLTFExternalAsset[];\n /** Draft glTF 2.1 implicit shape definitions. */\n shapes?: GLTFShape[];\n /**\n * An array of materials.\n */\n materials?: GLTFMaterial[];\n /**\n * An array of meshes.\n */\n meshes?: GLTFMesh[];\n /**\n * An array of nodes.\n */\n nodes?: GLTFNode[];\n /**\n * An array of samplers.\n */\n samplers?: GLTFSampler[];\n /**\n * The index of the default scene.\n */\n scene?: GLTFId;\n /**\n * An array of scenes.\n */\n scenes?: GLTFScene[];\n /**\n * An array of skins.\n */\n skins?: GLTFSkin[];\n /**\n * An array of textures.\n */\n textures?: GLTFTexture[];\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFRootExtensions;\n extras?: unknown;\n [k: string]: unknown;\n};\n\nexport type GLTFObject =\n | GLTFAccessor\n | GLTFBuffer\n | GLTFBufferView\n | GLTFMeshPrimitive\n | GLTFMesh\n | GLTFNode\n | GLTFMaterial\n | GLTFSampler\n | GLTFScene\n | GLTFSkin\n | GLTFTexture\n | GLTFImage\n | GLTFFile\n | GLTFExternalAsset;\n\n// GLTF Extensions\n/* eslint-disable camelcase */\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/1.0/Khronos/KHR_binary_glTF\n * TODO - this can be used on both images and shaders\n */\nexport type GLTF_KHR_binary_glTF = {\n bufferView: number;\n // required for images but not shaders\n mimeType?: string;\n height?: number;\n width?: number;\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression\n */\nexport type GLTF_KHR_draco_mesh_compression = {\n bufferView: GLTFId;\n attributes: {[name: string]: number};\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_texture_basisu\n */\nexport type GLTF_KHR_texture_basisu = {\n source: GLTFId;\n extras?: any;\n};\n\n/**\n * Ratified vendor meshopt buffer-view compression extension.\n *\n * The extension object describes compressed source bytes. Its parent `GLTFBufferView` describes\n * the uncompressed destination, whose `byteLength` is `count * byteStride`.\n *\n * @see https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_meshopt_compression\n */\nexport type GLTF_EXT_meshopt_compression = {\n /** Index of the buffer containing the compressed source bytes. */\n buffer: number;\n /** Byte offset of the compressed data within `buffer`; defaults to `0`. */\n byteOffset?: number;\n /** Length of the compressed source range in bytes. */\n byteLength: number;\n /** Stride of each decompressed element in bytes. */\n byteStride: number;\n /** Number of fixed-stride elements in the decompressed parent buffer view. */\n count: number;\n /** Meshopt bitstream mode used for the compressed source range. */\n mode: 'ATTRIBUTES' | 'TRIANGLES' | 'INDICES';\n /** EXT post-decode filter; defaults to `NONE` and is valid only for `ATTRIBUTES` mode. */\n filter?: 'NONE' | 'OCTAHEDRAL' | 'QUATERNION' | 'EXPONENTIAL';\n /** Application-specific extension data. */\n extras?: any;\n};\n\n/**\n * Khronos meshopt buffer-view compression extension.\n *\n * The KHR extension preserves the EXT JSON layout and version 0 bitstream compatibility while\n * adding version 1 attribute encoding and the `COLOR` post-decode filter. Its extension object\n * describes compressed source bytes; the parent `GLTFBufferView` describes the uncompressed\n * destination, whose `byteLength` is `count * byteStride`.\n *\n * @see https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_meshopt_compression\n */\nexport type GLTF_KHR_meshopt_compression = {\n /** Index of the buffer containing the compressed source bytes. */\n buffer: number;\n /** Byte offset of the compressed data within `buffer`; defaults to `0`. */\n byteOffset?: number;\n /** Length of the compressed source range in bytes. */\n byteLength: number;\n /** Stride of each decompressed element in bytes. */\n byteStride: number;\n /** Number of fixed-stride elements in the decompressed parent buffer view. */\n count: number;\n /** Meshopt bitstream mode used for the compressed source range. */\n mode: 'ATTRIBUTES' | 'TRIANGLES' | 'INDICES';\n /** KHR post-decode filter; defaults to `NONE` and is valid only for `ATTRIBUTES` mode. */\n filter?: 'NONE' | 'OCTAHEDRAL' | 'QUATERNION' | 'EXPONENTIAL' | 'COLOR';\n /** Application-specific extension data. */\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_texture_webp\n */\nexport type GLTF_EXT_texture_webp = {\n source: GLTFId;\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_texture_avif\n */\nexport type GLTF_EXT_texture_avif = {\n /** Index of the AVIF image used in place of the ordinary texture source. */\n source: GLTFId;\n /** Application-specific extension data. */\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/MSFT_texture_dds\n */\nexport type GLTF_MSFT_texture_dds = {\n source: GLTFId;\n extras?: any;\n};\n"],
4
+ "sourcesContent": ["// SPDX-License-Identifier: MIT\n\n// Types forked from https://github.com/bwasty/gltf-loader-ts under MIT license\n// Generated from official JSON schema using `npm run generate-interface` on 2018-02-24\n\nimport type {GLTFBoundingVolume, GLTFShape} from './gltf-shape-schema';\nimport type {\n GLTFPropertyExtensions,\n GLTFMaterialExtensions,\n GLTFRootExtensions,\n GLTFNodeExtensions,\n GLTFSceneExtensions,\n GLTFMeshPrimitiveExtensions,\n GLTFAnimationTargetExtensions\n} from './gltf-extension-schemas';\n\nexport type GLTFId = number;\n\n/**\n * Indices of those attributes that deviate from their initialization value.\n */\nexport type GLTFAccessorSparseIndices = {\n /**\n * The index of the bufferView with sparse indices. Referenced bufferView can't have ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target.\n */\n bufferView: GLTFId;\n /**\n * The offset relative to the start of the bufferView in bytes. Must be aligned.\n */\n byteOffset?: number;\n /**\n * The indices data type.\n */\n componentType: 5121 | 5123 | 5125 | number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Array of size `accessor.sparse.count` times number of components storing the displaced accessor attributes pointed by `accessor.sparse.indices`.\n */\nexport type GLTFAccessorSparseValues = {\n /**\n * The index of the bufferView with sparse values. Referenced bufferView can't have ARRAY_BUFFER or ELEMENT_ARRAY_BUFFER target.\n */\n bufferView: GLTFId;\n /**\n * The offset relative to the start of the bufferView in bytes. Must be aligned.\n */\n byteOffset?: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Sparse storage of attributes that deviate from their initialization value.\n */\nexport type GLTFAccessorSparse = {\n /**\n * Number of entries stored in the sparse array.\n */\n count: number;\n /**\n * Index array of size `count` that points to those accessor attributes that deviate from their initialization value. Indices must strictly increase.\n */\n indices: GLTFAccessorSparseIndices;\n /**\n * Array of size `count` times number of components, storing the displaced accessor attributes pointed by `indices`. Substituted values must have the same `componentType` and number of components as the base accessor.\n */\n values: GLTFAccessorSparseValues;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A typed view into a bufferView. A bufferView contains raw binary data. An accessor provides a typed view into a bufferView or a subset of a bufferView similar to how WebGL's `vertexAttribPointer()` defines an attribute in a buffer.\n */\nexport type GLTFAccessor = {\n /**\n * The index of the bufferView.\n */\n bufferView?: GLTFId;\n /**\n * The offset relative to the start of the bufferView in bytes.\n */\n byteOffset?: number;\n /**\n * The datatype of components in the attribute.\n */\n componentType:\n | 5120\n | 5121\n | 5122\n | 5123\n | 5124\n | 5125\n | 5126\n | 5130\n | 5131\n | 5134\n | 5135\n | number;\n /**\n * Specifies whether integer data values should be normalized.\n */\n normalized?: boolean;\n /**\n * The number of attributes referenced by this accessor.\n */\n count: number;\n /**\n * Specifies if the attribute is a scalar, vector, or matrix.\n */\n type: 'SCALAR' | 'VEC2' | 'VEC3' | 'VEC4' | 'MAT2' | 'MAT3' | 'MAT4' | string;\n /**\n * Maximum value of each component in this attribute.\n */\n max?: number[];\n /**\n * Minimum value of each component in this attribute.\n */\n min?: number[];\n /**\n * Sparse storage of attributes that deviate from their initialization value.\n */\n sparse?: GLTFAccessorSparse;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * The index of the node and TRS property that an animation channel targets.\n */\nexport type GLTFAnimationChannelTarget = {\n /**\n * The index of the node to target.\n */\n node?: GLTFId;\n /**\n * The name of the node's TRS property to modify, or the \"weights\" of the Morph Targets it instantiates. For the \"translation\" property, the values that are provided by the sampler are the translation along the x, y, and z axes. For the \"rotation\" property, the values are a quaternion in the order (x, y, z, w), where w is the scalar. For the \"scale\" property, the values are the scaling factors along the x, y, and z axes.\n */\n path: 'translation' | 'rotation' | 'scale' | 'weights' | string;\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFAnimationTargetExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Targets an animation's sampler at a node's property.\n */\nexport type GLTFAnimationChannel = {\n /**\n * The index of a sampler in this animation used to compute the value for the target.\n */\n sampler: GLTFId;\n /**\n * The index of the node and TRS property to target.\n */\n target: GLTFAnimationChannelTarget;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).\n */\nexport type GLTFAnimationSampler = {\n /**\n * The index of an accessor containing keyframe input values, e.g., time.\n */\n input: GLTFId;\n /**\n * Interpolation algorithm.\n */\n interpolation?: 'LINEAR' | 'STEP' | 'CUBICSPLINE' | string;\n /**\n * The index of an accessor, containing keyframe output values.\n */\n output: GLTFId;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A keyframe animation.\n */\nexport type GLTFAnimation = {\n /**\n * An array of channels, each of which targets an animation's sampler at a node's property. Different channels of the same animation can't have equal targets.\n */\n channels: GLTFAnimationChannel[];\n /**\n * An array of samplers that combines input and output accessors with an interpolation algorithm to define a keyframe graph (but not its target).\n */\n samplers: GLTFAnimationSampler[];\n name?: any;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Metadata about the glTF asset.\n */\nexport type GLTFAsset = {\n /**\n * A copyright message suitable for display to credit the content creator.\n */\n copyright?: string;\n /**\n * Tool that generated this glTF model. Useful for debugging.\n */\n generator?: string;\n /**\n * The glTF version that this asset targets.\n */\n version: string;\n /**\n * The minimum glTF version that this asset targets.\n */\n minVersion?: string;\n /**\n * The index of an image that provides a preview of this glTF asset.\n * Draft glTF 2.1.\n */\n thumbnail?: GLTFId;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A buffer points to binary geometry, animation, or skins.\n */\nexport type GLTFBuffer = {\n /**\n * The uri of the buffer.\n */\n uri?: string;\n /**\n * The zero-based index of the GLB v3 chunk containing the buffer.\n * Draft glTF 2.1 property; mutually exclusive with `uri`.\n */\n chunk?: number;\n /**\n * The length of the buffer in bytes.\n */\n byteLength: number;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A view into a buffer generally representing a subset of the buffer.\n */\nexport type GLTFBufferView = {\n /**\n * The index of the buffer.\n */\n buffer: GLTFId;\n /**\n * The offset into the buffer in bytes.\n */\n byteOffset?: number;\n /**\n * The length of the bufferView in bytes.\n */\n byteLength: number;\n /**\n * The stride, in bytes.\n */\n byteStride?: number;\n /**\n * The target that the GPU buffer should be bound to.\n */\n target?: 34962 | 34963 | number;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * An orthographic camera containing properties to create an orthographic projection matrix.\n */\nexport type GLTFCameraOrthographic = {\n /**\n * The floating-point horizontal magnification of the view. Must not be zero.\n */\n xmag: number;\n /**\n * The floating-point vertical magnification of the view. Must not be zero.\n */\n ymag: number;\n /**\n * The floating-point distance to the far clipping plane. `zfar` must be greater than `znear`.\n */\n zfar: number;\n /**\n * The floating-point distance to the near clipping plane.\n */\n znear: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A perspective camera containing properties to create a perspective projection matrix.\n */\nexport type GLTFCameraPerspective = {\n /**\n * The floating-point aspect ratio of the field of view.\n */\n aspectRatio?: number;\n /**\n * The floating-point vertical field of view in radians.\n */\n yfov: number;\n /**\n * The floating-point distance to the far clipping plane.\n */\n zfar?: number;\n /**\n * The floating-point distance to the near clipping plane.\n */\n znear: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A camera's projection. A node can reference a camera to apply a transform to place the camera in the scene.\n */\nexport type GLTFCamera = {\n /**\n * An orthographic camera containing properties to create an orthographic projection matrix.\n */\n orthographic?: GLTFCameraOrthographic;\n /**\n * A perspective camera containing properties to create a perspective projection matrix.\n */\n perspective?: GLTFCameraPerspective;\n /**\n * Specifies if the camera uses a perspective or orthographic projection.\n */\n type: 'perspective' | 'orthographic' | string;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Image data used to create a texture. Image can be referenced by URI or `bufferView` index. `mimeType` is required in the latter case.\n */\nexport type GLTFImage = {\n /**\n * The uri of the image.\n */\n uri?: string;\n /**\n * The image's MIME type.\n */\n mimeType?: 'image/jpeg' | 'image/png' | string;\n /**\n * The index of the bufferView that contains the image. Use this instead of the image's uri property.\n */\n bufferView?: GLTFId;\n name?: any;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A draft glTF 2.1 reference to a file stored at a URI or in a buffer view.\n */\nexport type GLTFFile = {\n /** URI of the file. Mutually exclusive with `bufferView`. */\n uri?: string;\n /** Index of the buffer view containing the file. Mutually exclusive with `uri`. */\n bufferView?: GLTFId;\n /** MIME type of the referenced file. */\n mimeType: string;\n /** Name used to resolve references from embedded packaged assets. */\n name?: string;\n extensions?: Record<string, any>;\n extras?: any;\n};\n\n/**\n * A draft glTF 2.1 model dependency sourced from the top-level `files` array.\n */\nexport type GLTFExternalAsset = {\n /** Index of the file containing the external glTF asset. */\n file: GLTFId;\n /** Optional application-facing name for this external asset. */\n name?: string;\n extensions?: Record<string, any>;\n extras?: any;\n};\n\n/**\n * Reference to a texture.\n */\nexport type GLTFTextureInfo = {\n /**\n * The index of the texture.\n */\n index: GLTFId;\n /**\n * The set index of texture's TEXCOORD attribute used for texture coordinate mapping.\n * Default is 0\n * @see https://github.com/CesiumGS/glTF/blob/3d-tiles-next/specification/2.0/schema/textureInfo.schema.json\n */\n texCoord?: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Extended GLTFTextureInfo that is used in EXT_structural_metadata and EXT_mesh_features\n * https://github.com/CesiumGS/glTF/tree/3d-tiles-next/extensions/2.0/Vendor/EXT_structural_metadata\n * https://github.com/CesiumGS/glTF/tree/3d-tiles-next/extensions/2.0/Vendor/EXT_mesh_features\n */\nexport type GLTFTextureInfoMetadata = GLTFTextureInfo & {\n /**\n * For EXT_structural_metadata and Ext_mesh_features the channels default is [0]\n * @see https://github.com/CesiumGS/glTF/blob/3d-tiles-next/extensions/2.0/Vendor/EXT_mesh_features/schema/featureIdTexture.schema.json\n * @see https://github.com/CesiumGS/glTF/blob/3d-tiles-next/extensions/2.0/Vendor/EXT_structural_metadata/schema/propertyTexture.property.schema.json\n */\n channels: number[] | string;\n /** For internal usage */\n data?: unknown;\n};\n\n/**\n * A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology.\n */\nexport type GLTFMaterialPbrMetallicRoughness = {\n /**\n * The material's base color factor.\n */\n baseColorFactor?: number[];\n /**\n * The base color texture.\n */\n baseColorTexture?: GLTFTextureInfo;\n /**\n * The metalness of the material.\n */\n metallicFactor?: number;\n /**\n * The roughness of the material.\n */\n roughnessFactor?: number;\n /**\n * The metallic-roughness texture.\n */\n metallicRoughnessTexture?: GLTFTextureInfo;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\nexport type GLTFMaterialNormalTextureInfo = {\n index: any;\n texCoord?: any;\n /**\n * The scalar multiplier applied to each normal vector of the normal texture.\n */\n scale?: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\nexport type GLTFMaterialOcclusionTextureInfo = {\n index: any;\n texCoord?: any;\n /**\n * A scalar multiplier controlling the amount of occlusion applied.\n */\n strength?: number;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * The material appearance of a primitive.\n */\nexport type GLTFMaterial = {\n name?: any;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFMaterialExtensions & Record<string, any>;\n extras?: any;\n /**\n * A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology. When not specified, all the default values of `pbrMetallicRoughness` apply.\n */\n pbrMetallicRoughness?: GLTFMaterialPbrMetallicRoughness;\n /**\n * The normal map texture.\n */\n normalTexture?: GLTFMaterialNormalTextureInfo;\n /**\n * The occlusion map texture.\n */\n occlusionTexture?: GLTFMaterialOcclusionTextureInfo;\n /**\n * The emissive map texture.\n */\n emissiveTexture?: GLTFTextureInfo;\n /**\n * The emissive color of the material.\n */\n emissiveFactor?: number[];\n /**\n * The alpha rendering mode of the material.\n */\n alphaMode?: 'OPAQUE' | 'MASK' | 'BLEND' | string;\n /**\n * The alpha cutoff value of the material.\n */\n alphaCutoff?: number;\n /**\n * Specifies whether the material is double sided.\n */\n doubleSided?: boolean;\n // [k: string]: any;\n};\n\n/**\n * Geometry to be rendered with the given material.\n */\nexport type GLTFMeshPrimitive = {\n /**\n * A dictionary object, where each key corresponds to mesh attribute semantic and each value is the index of the accessor containing attribute's data.\n */\n attributes: {\n [k: string]: GLTFId;\n };\n /**\n * The index of the accessor that contains the indices.\n */\n indices?: GLTFId;\n /**\n * The index of the material to apply to this primitive when rendering.\n */\n material?: GLTFId;\n /**\n * The type of primitives to render.\n */\n mode?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | number;\n /**\n * An array of Morph Targets, each Morph Target is a dictionary mapping attributes (only `POSITION`, `NORMAL`, and `TANGENT` supported) to their deviations in the Morph Target.\n */\n targets?: {\n [k: string]: GLTFId;\n }[];\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFMeshPrimitiveExtensions;\n extras?: any;\n /** Loader-derived primitive-restart topology. This property is not serialized by glTF. */\n primitiveRestart?: import('./gltf-vector-topology').GLTFPrimitiveRestartData;\n // [k: string]: any;\n};\n\n/**\n * A set of primitives to be rendered. A node can contain one mesh. A node's transform places the mesh in the scene.\n */\n\nexport type GLTFMesh = {\n id?: string;\n /**\n * An array of primitives, each defining geometry to be rendered with a material.\n */\n primitives: GLTFMeshPrimitive[];\n /**\n * Array of weights to be applied to the Morph Targets.\n */\n weights?: number[];\n name?: any;\n /** Known metadata extensions with additional extension names preserved. */\n extensions?: GLTFPropertyExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A node in the node hierarchy. When the node contains `skin`, all `mesh.primitives` must contain `JOINTS_0` and `WEIGHTS_0` attributes. A node can have either a `matrix` or any combination of `translation`/`rotation`/`scale` (TRS) properties. TRS properties are converted to matrices and postmultiplied in the `T * R * S` order to compose the transformation matrix; first the scale is applied to the vertices, then the rotation, and then the translation. If none are provided, the transform is the identity. When a node is targeted for animation (referenced by an animation.channel.target), only TRS properties may be present; `matrix` will not be present.\n */\nexport type GLTFNode = {\n /**\n * The index of the camera referenced by this node.\n */\n camera?: GLTFId;\n /**\n * The indices of this node's children.\n */\n children?: GLTFId[];\n /**\n * The index of the skin referenced by this node.\n */\n skin?: GLTFId;\n /**\n * A floating-point 4x4 transformation matrix stored in column-major order.\n */\n matrix?: number[];\n /**\n * The index of the mesh in this node.\n */\n mesh?: GLTFId;\n /** Index of the draft glTF 2.1 external asset instantiated by this node. */\n externalAsset?: GLTFId;\n /** Draft glTF 2.1 bounding-volume shape reference. */\n boundingVolume?: GLTFBoundingVolume;\n /**\n * The node's unit quaternion rotation in the order (x, y, z, w), where w is the scalar.\n */\n rotation?: number[];\n /**\n * The node's non-uniform scale, given as the scaling factors along the x, y, and z axes.\n */\n scale?: number[];\n /**\n * The node's translation along the x, y, and z axes.\n */\n translation?: number[];\n /**\n * The weights of the instantiated Morph Target. Number of elements must match number of Morph Targets of used mesh.\n */\n weights?: number[];\n name?: any;\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFNodeExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Texture sampler properties for filtering and wrapping modes.\n */\nexport type GLTFSampler = {\n /**\n * Magnification filter.\n */\n magFilter?: 9728 | 9729 | number;\n /**\n * Minification filter.\n */\n minFilter?: 9728 | 9729 | 9984 | 9985 | 9986 | 9987 | number;\n /**\n * s wrapping mode.\n */\n wrapS?: 33071 | 33648 | 10497 | number;\n /**\n * t wrapping mode.\n */\n wrapT?: 33071 | 33648 | 10497 | number;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * The root nodes of a scene.\n */\nexport type GLTFScene = {\n /**\n * The indices of each root node.\n */\n nodes?: GLTFId[];\n name?: any;\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFSceneExtensions & Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * Joints and matrices defining a skin.\n */\nexport type GLTFSkin = {\n id?: string;\n /**\n * The index of the accessor containing the floating-point 4x4 inverse-bind matrices. The default is that each matrix is a 4x4 identity matrix, which implies that inverse-bind matrices were pre-applied.\n */\n inverseBindMatrices?: GLTFId;\n /**\n * The index of the node used as a skeleton root. When undefined, joints transforms resolve to scene root.\n */\n skeleton?: GLTFId;\n /** Indices of skeleton nodes, used as joints in this skin. */\n joints: GLTFId[];\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * A texture and its sampler.\n */\nexport type GLTFTexture = {\n /** The index of the sampler used by this texture. When undefined, a sampler with repeat wrapping and auto filtering should be used. */\n sampler?: GLTFId;\n /** The index of the image used by this texture. */\n source?: GLTFId;\n name?: any;\n extensions?: Record<string, any>;\n extras?: any;\n // [k: string]: any;\n};\n\n/**\n * The root object for a glTF asset.\n */\nexport type GLTF = {\n /**\n * Names of glTF extensions used somewhere in this asset.\n */\n extensionsUsed?: string[];\n /**\n * Names of glTF extensions required to properly load this asset.\n */\n extensionsRequired?: string[];\n /**\n * An array of accessors.\n */\n accessors?: GLTFAccessor[];\n /**\n * An array of keyframe animations.\n */\n animations?: GLTFAnimation[];\n /**\n * Metadata about the glTF asset.\n */\n asset: GLTFAsset;\n /**\n * An array of buffers.\n */\n buffers?: GLTFBuffer[];\n /**\n * An array of bufferViews.\n */\n bufferViews?: GLTFBufferView[];\n /**\n * An array of cameras.\n */\n cameras?: GLTFCamera[];\n /**\n * An array of images.\n */\n images?: GLTFImage[];\n /**\n * Draft glTF 2.1 unified file references.\n */\n files?: GLTFFile[];\n /**\n * Draft glTF 2.1 external glTF assets.\n */\n externalAssets?: GLTFExternalAsset[];\n /** Draft glTF 2.1 implicit shape definitions. */\n shapes?: GLTFShape[];\n /**\n * An array of materials.\n */\n materials?: GLTFMaterial[];\n /**\n * An array of meshes.\n */\n meshes?: GLTFMesh[];\n /**\n * An array of nodes.\n */\n nodes?: GLTFNode[];\n /**\n * An array of samplers.\n */\n samplers?: GLTFSampler[];\n /**\n * The index of the default scene.\n */\n scene?: GLTFId;\n /**\n * An array of scenes.\n */\n scenes?: GLTFScene[];\n /**\n * An array of skins.\n */\n skins?: GLTFSkin[];\n /**\n * An array of textures.\n */\n textures?: GLTFTexture[];\n /** Known extensions with additional extension names preserved. */\n extensions?: GLTFRootExtensions;\n extras?: unknown;\n [k: string]: unknown;\n};\n\nexport type GLTFObject =\n | GLTFAccessor\n | GLTFBuffer\n | GLTFBufferView\n | GLTFMeshPrimitive\n | GLTFMesh\n | GLTFNode\n | GLTFMaterial\n | GLTFSampler\n | GLTFScene\n | GLTFSkin\n | GLTFTexture\n | GLTFImage\n | GLTFFile\n | GLTFExternalAsset;\n\n// GLTF Extensions\n/* eslint-disable camelcase */\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/1.0/Khronos/KHR_binary_glTF\n * TODO - this can be used on both images and shaders\n */\nexport type GLTF_KHR_binary_glTF = {\n bufferView: number;\n // required for images but not shaders\n mimeType?: string;\n height?: number;\n width?: number;\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_draco_mesh_compression\n */\nexport type GLTF_KHR_draco_mesh_compression = {\n bufferView: GLTFId;\n attributes: {[name: string]: number};\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Khronos/KHR_texture_basisu\n */\nexport type GLTF_KHR_texture_basisu = {\n source: GLTFId;\n extras?: any;\n};\n\n/**\n * Ratified vendor meshopt buffer-view compression extension.\n *\n * The extension object describes compressed source bytes. Its parent `GLTFBufferView` describes\n * the uncompressed destination, whose `byteLength` is `count * byteStride`.\n *\n * @see https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_meshopt_compression\n */\nexport type GLTF_EXT_meshopt_compression = {\n /** Index of the buffer containing the compressed source bytes. */\n buffer: number;\n /** Byte offset of the compressed data within `buffer`; defaults to `0`. */\n byteOffset?: number;\n /** Length of the compressed source range in bytes. */\n byteLength: number;\n /** Stride of each decompressed element in bytes. */\n byteStride: number;\n /** Number of fixed-stride elements in the decompressed parent buffer view. */\n count: number;\n /** Meshopt bitstream mode used for the compressed source range. */\n mode: 'ATTRIBUTES' | 'TRIANGLES' | 'INDICES';\n /** EXT post-decode filter; defaults to `NONE` and is valid only for `ATTRIBUTES` mode. */\n filter?: 'NONE' | 'OCTAHEDRAL' | 'QUATERNION' | 'EXPONENTIAL';\n /** Application-specific extension data. */\n extras?: any;\n};\n\n/**\n * Khronos meshopt buffer-view compression extension.\n *\n * The KHR extension preserves the EXT JSON layout and version 0 bitstream compatibility while\n * adding version 1 attribute encoding and the `COLOR` post-decode filter. Its extension object\n * describes compressed source bytes; the parent `GLTFBufferView` describes the uncompressed\n * destination, whose `byteLength` is `count * byteStride`.\n *\n * @see https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_meshopt_compression\n */\nexport type GLTF_KHR_meshopt_compression = {\n /** Index of the buffer containing the compressed source bytes. */\n buffer: number;\n /** Byte offset of the compressed data within `buffer`; defaults to `0`. */\n byteOffset?: number;\n /** Length of the compressed source range in bytes. */\n byteLength: number;\n /** Stride of each decompressed element in bytes. */\n byteStride: number;\n /** Number of fixed-stride elements in the decompressed parent buffer view. */\n count: number;\n /** Meshopt bitstream mode used for the compressed source range. */\n mode: 'ATTRIBUTES' | 'TRIANGLES' | 'INDICES';\n /** KHR post-decode filter; defaults to `NONE` and is valid only for `ATTRIBUTES` mode. */\n filter?: 'NONE' | 'OCTAHEDRAL' | 'QUATERNION' | 'EXPONENTIAL' | 'COLOR';\n /** Application-specific extension data. */\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/EXT_texture_webp\n */\nexport type GLTF_EXT_texture_webp = {\n source: GLTFId;\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/EXT_texture_avif\n */\nexport type GLTF_EXT_texture_avif = {\n /** Index of the AVIF image used in place of the ordinary texture source. */\n source: GLTFId;\n /** Application-specific extension data. */\n extras?: any;\n};\n\n/**\n * @see https://github.com/KhronosGroup/glTF/tree/master/extensions/2.0/Vendor/MSFT_texture_dds\n */\nexport type GLTF_MSFT_texture_dds = {\n source: GLTFId;\n extras?: any;\n};\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,5 +1,5 @@
1
1
  import type { GLTFBoundingVolume, GLTFShape } from "./gltf-shape-schema.js";
2
- import type { GLTFPropertyExtensions, GLTFRootExtensions, GLTFNodeExtensions, GLTFSceneExtensions, GLTFMeshPrimitiveExtensions, GLTFAnimationTargetExtensions } from "./gltf-extension-schemas.js";
2
+ import type { GLTFPropertyExtensions, GLTFMaterialExtensions, GLTFRootExtensions, GLTFNodeExtensions, GLTFSceneExtensions, GLTFMeshPrimitiveExtensions, GLTFAnimationTargetExtensions } from "./gltf-extension-schemas.js";
3
3
  export type GLTFId = number;
4
4
  /**
5
5
  * Indices of those attributes that deviate from their initialization value.
@@ -441,7 +441,7 @@ export type GLTFMaterialOcclusionTextureInfo = {
441
441
  export type GLTFMaterial = {
442
442
  name?: any;
443
443
  /** Known metadata extensions with additional extension names preserved. */
444
- extensions?: GLTFPropertyExtensions & Record<string, any>;
444
+ extensions?: GLTFMaterialExtensions & Record<string, any>;
445
445
  extras?: any;
446
446
  /**
447
447
  * A set of parameter values that are used to define the metallic-roughness material model from Physically-Based Rendering (PBR) methodology. When not specified, all the default values of `pbrMetallicRoughness` apply.
@@ -1 +1 @@
1
- {"version":3,"file":"gltf-json-schema.d.ts","sourceRoot":"","sources":["../../../../src/gltf/lib/types/gltf-json-schema.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,kBAAkB,EAAE,SAAS,EAAC,+BAA4B;AACvE,OAAO,KAAK,EACV,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC9B,oCAAiC;AAElC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,GAAG,CAAC;CAEd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,GAAG,CAAC;CAEd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,OAAO,EAAE,yBAAyB,CAAC;IACnC;;OAEG;IACH,MAAM,EAAE,wBAAwB,CAAC;IACjC,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,GAAG,CAAC;CAEd,CAAC;AAEF;;GAEG;A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aAAa,GAAG,OAAO,CAAC;IACxE,2CAA2C;IAC3C,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC"}
1
+ {"version":3,"file":"gltf-json-schema.d.ts","sourceRoot":"","sources":["../../../../src/gltf/lib/types/gltf-json-schema.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAC,kBAAkB,EAAE,SAAS,EAAC,+BAA4B;AACvE,OAAO,KAAK,EACV,sBAAsB,EACtB,sBAAsB,EACtB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,2BAA2B,EAC3B,6BAA6B,EAC9B,oCAAiC;AAElC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAE5B;;GAEG;AACH,MAAM,MAAM,yBAAyB,GAAG;IACtC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,aAAa,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;IAC3C,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACjC,MAAM,CAAC,EAAE,GAAG,CAAC;CAEd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,wBAAwB,GAAG;IACrC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAC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AM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;;;;;;;;GASG;AACH,MAAM,MAAM,4BAA4B,GAAG;IACzC,kEAAkE;IAClE,MAAM,EAAE,MAAM,CAAC;IACf,2EAA2E;IAC3E,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,sDAAsD;IACtD,UAAU,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,UAAU,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,IAAI,EAAE,YAAY,GAAG,WAAW,GAAG,SAAS,CAAC;IAC7C,0FAA0F;IAC1F,MAAM,CAAC,EAAE,MAAM,GAAG,YAAY,GAAG,YAAY,GAAG,aAAa,GAAG,OAAO,CAAC;IACxE,2CAA2C;IAC3C,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,2CAA2C;IAC3C,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG;IAClC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,GAAG,CAAC;CACd,CAAC"}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // src/gltf/lib/types/gltf-texture-procedurals.ts
17
+ var gltf_texture_procedurals_exports = {};
18
+ module.exports = __toCommonJS(gltf_texture_procedurals_exports);
19
+ //# sourceMappingURL=gltf-texture-procedurals.cjs.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../src/gltf/lib/types/gltf-texture-procedurals.ts"],
4
+ "sourcesContent": ["// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright vis.gl contributors\n\n/** Serialized value types in the experimental procedural graph proposal. */\nexport type GLTFProceduralValueType =\n | 'boolean'\n | 'float'\n | 'integer'\n | 'color3'\n | 'color4'\n | 'vector2'\n | 'vector3'\n | 'vector4'\n | 'integer2'\n | 'integer3'\n | 'integer4'\n | 'matrix3x3'\n | 'matrix4x4'\n | 'string'\n | 'filename';\n\n/** Named graph port, retaining serialized connections without evaluating them. */\nexport interface GLTFProceduralPort {\n /** Port category. */\n nodetype: 'input' | 'output';\n /** Declared value type. */\n type: GLTFProceduralValueType;\n /** Authored constant; scalar numeric arrays are retained as authored. */\n value?: boolean | string | number | number[];\n /** Upstream processing node index. */\n node?: number;\n /** Name of a graph interface input. */\n input?: string;\n /** Name of the selected upstream output. */\n output?: string;\n}\n\n/** Processing node in a procedural graph. */\nexport interface GLTFProceduralNode {\n /** Optional display name. */\n name?: string;\n /** MaterialX or custom node category; unknown categories are retained. */\n nodetype: string;\n /** Single output type, or multiple named outputs. */\n type: GLTFProceduralValueType | 'multioutput';\n /** Named input ports. */\n inputs?: Record<string, GLTFProceduralPort>;\n /** Named output ports. */\n outputs: Record<string, GLTFProceduralPort>;\n}\n\n/** Flat procedural graph using the draft's named-port representation. */\nexport interface GLTFProceduralGraph extends GLTFProceduralNode {\n /** Graph category. */\n nodetype: 'nodegraph';\n /** Processing nodes addressed by index. */\n nodes: GLTFProceduralNode[];\n}\n\n/** Procedural output attached to a material texture-info object. */\nexport interface GLTFProceduralBinding {\n /** Index into the root extension's procedurals array. */\n index: number;\n /** Selected output name; required for graphs with multiple outputs. */\n output?: string;\n}\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,45 @@
1
+ /** Serialized value types in the experimental procedural graph proposal. */
2
+ export type GLTFProceduralValueType = 'boolean' | 'float' | 'integer' | 'color3' | 'color4' | 'vector2' | 'vector3' | 'vector4' | 'integer2' | 'integer3' | 'integer4' | 'matrix3x3' | 'matrix4x4' | 'string' | 'filename';
3
+ /** Named graph port, retaining serialized connections without evaluating them. */
4
+ export interface GLTFProceduralPort {
5
+ /** Port category. */
6
+ nodetype: 'input' | 'output';
7
+ /** Declared value type. */
8
+ type: GLTFProceduralValueType;
9
+ /** Authored constant; scalar numeric arrays are retained as authored. */
10
+ value?: boolean | string | number | number[];
11
+ /** Upstream processing node index. */
12
+ node?: number;
13
+ /** Name of a graph interface input. */
14
+ input?: string;
15
+ /** Name of the selected upstream output. */
16
+ output?: string;
17
+ }
18
+ /** Processing node in a procedural graph. */
19
+ export interface GLTFProceduralNode {
20
+ /** Optional display name. */
21
+ name?: string;
22
+ /** MaterialX or custom node category; unknown categories are retained. */
23
+ nodetype: string;
24
+ /** Single output type, or multiple named outputs. */
25
+ type: GLTFProceduralValueType | 'multioutput';
26
+ /** Named input ports. */
27
+ inputs?: Record<string, GLTFProceduralPort>;
28
+ /** Named output ports. */
29
+ outputs: Record<string, GLTFProceduralPort>;
30
+ }
31
+ /** Flat procedural graph using the draft's named-port representation. */
32
+ export interface GLTFProceduralGraph extends GLTFProceduralNode {
33
+ /** Graph category. */
34
+ nodetype: 'nodegraph';
35
+ /** Processing nodes addressed by index. */
36
+ nodes: GLTFProceduralNode[];
37
+ }
38
+ /** Procedural output attached to a material texture-info object. */
39
+ export interface GLTFProceduralBinding {
40
+ /** Index into the root extension's procedurals array. */
41
+ index: number;
42
+ /** Selected output name; required for graphs with multiple outputs. */
43
+ output?: string;
44
+ }
45
+ //# sourceMappingURL=gltf-texture-procedurals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gltf-texture-procedurals.d.ts","sourceRoot":"","sources":["../../../../src/gltf/lib/types/gltf-texture-procedurals.ts"],"names":[],"mappings":"AAIA,4EAA4E;AAC5E,MAAM,MAAM,uBAAuB,GAC/B,SAAS,GACT,OAAO,GACP,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,SAAS,GACT,SAAS,GACT,UAAU,GACV,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,GACX,QAAQ,GACR,UAAU,CAAC;AAEf,kFAAkF;AAClF,MAAM,WAAW,kBAAkB;IACjC,qBAAqB;IACrB,QAAQ,EAAE,OAAO,GAAG,QAAQ,CAAC;IAC7B,2BAA2B;IAC3B,IAAI,EAAE,uBAAuB,CAAC;IAC9B,yEAAyE;IACzE,KAAK,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,EAAE,CAAC;IAC7C,sCAAsC;IACtC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4CAA4C;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,6CAA6C;AAC7C,MAAM,WAAW,kBAAkB;IACjC,6BAA6B;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0EAA0E;IAC1E,QAAQ,EAAE,MAAM,CAAC;IACjB,qDAAqD;IACrD,IAAI,EAAE,uBAAuB,GAAG,aAAa,CAAC;IAC9C,yBAAyB;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;IAC5C,0BAA0B;IAC1B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC;CAC7C;AAED,yEAAyE;AACzE,MAAM,WAAW,mBAAoB,SAAQ,kBAAkB;IAC7D,sBAAsB;IACtB,QAAQ,EAAE,WAAW,CAAC;IACtB,2CAA2C;IAC3C,KAAK,EAAE,kBAAkB,EAAE,CAAC;CAC7B;AAED,oEAAoE;AACpE,MAAM,WAAW,qBAAqB;IACpC,yDAAyD;IACzD,KAAK,EAAE,MAAM,CAAC;IACd,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,5 @@
1
+ // loaders.gl
2
+ // SPDX-License-Identifier: MIT
3
+ // Copyright vis.gl contributors
4
+ export {};
5
+ //# sourceMappingURL=gltf-texture-procedurals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gltf-texture-procedurals.js","sourceRoot":"","sources":["../../../../src/gltf/lib/types/gltf-texture-procedurals.ts"],"names":[],"mappings":"AAAA,aAAa;AACb,+BAA+B;AAC/B,gCAAgC"}
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/gltf/lib/types/gltf-types.ts"],
4
- "sourcesContent": ["// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\n/* eslint-disable camelcase */\n\nimport {ImageType} from '@loaders.gl/images';\nimport type {GLTF} from './gltf-json-schema';\nimport type {GLTFGaussianSplatPrimitive} from './gltf-ext-gaussian-splatting-schema';\nimport type {GLTFSpatialAudio} from './gltf-mpeg-audio-spatial-schema';\nimport type {GLTFAudioClip, GLTFAudioEmitter} from './gltf-khr-audio-emitter-schema';\n\n/** GLTFLoader removes processed extensions from `extensionsUsed` and `extensionsUsed`\n * `processedExtensions` is used to track those extensions\n */\nexport type GLTFWithBuffers = {\n json: GLTF;\n binary?: ArrayBuffer;\n buffers: GLTFExternalBuffer[];\n images?: GLTFExternalImage[];\n /** Resolved draft glTF 2.1 unified file references, parallel to `json.files`. */\n files?: GLTFExternalFile[];\n /** Parsed draft glTF 2.1 external assets, parallel to `json.externalAssets`. */\n externalAssets?: Array<GLTFWithBuffers | null>;\n /** Normalized Gaussian splat primitives discovered by KHR_gaussian_splatting. */\n gaussianSplatPrimitives?: GLTFGaussianSplatPrimitive[];\n /** Root and node MPEG spatial audio declarations for an application audio renderer. */\n spatialAudio?: GLTFSpatialAudio[];\n /** Encoded KHR audio clips, parallel to the extension's audio array. */\n audioClips?: GLTFAudioClip[];\n /** KHR emitter instances with resolved source and clip references. */\n audioEmitters?: GLTFAudioEmitter[];\n};\n\nexport type GLTFExternalBuffer = {\n arrayBuffer: ArrayBuffer;\n byteOffset: number;\n byteLength: number;\n};\n\n/** Raw bytes and metadata for a resolved draft glTF 2.1 file reference. */\nexport type GLTFExternalFile = GLTFExternalBuffer & {\n /** MIME type declared by the file definition. */\n mimeType: string;\n /** Optional package lookup name declared by the file definition. */\n name?: string;\n /** Resolved URL for URI-backed files. */\n url?: string;\n};\n\ntype GLTFExternalImage =\n | ImageType\n | {\n compressed: true;\n mipmaps: false;\n width: number;\n height: number;\n data: Uint8Array;\n };\n\nexport type FeatureTableJson = {\n [key: string]: any[];\n};\n\nexport type {\n GLTF,\n GLTFAccessor,\n GLTFBuffer,\n GLTFBufferView,\n // GLTFCamera,\n GLTFMeshPrimitive,\n GLTFMesh,\n GLTFNode,\n GLTFMaterial,\n GLTFSampler,\n GLTFScene,\n GLTFSkin,\n GLTFTexture,\n GLTFImage,\n GLTFFile,\n GLTFExternalAsset,\n GLTF_KHR_binary_glTF,\n GLTF_KHR_draco_mesh_compression,\n GLTF_KHR_texture_basisu,\n GLTF_KHR_meshopt_compression,\n GLTF_EXT_meshopt_compression,\n GLTF_EXT_texture_webp\n} from './gltf-json-schema';\n\nexport type {GLTFShape, GLTFBoundingVolume} from './gltf-shape-schema';\n"],
4
+ "sourcesContent": ["// loaders.gl\n// SPDX-License-Identifier: MIT\n// Copyright (c) vis.gl contributors\n\n/* eslint-disable camelcase */\n\nimport {ImageType} from '@loaders.gl/images';\nimport type {TextureLevel} from '@loaders.gl/core/schema';\nimport type {GLTF} from './gltf-json-schema';\nimport type {GLTFGaussianSplatPrimitive} from './gltf-ext-gaussian-splatting-schema';\nimport type {GLTFSpatialAudio} from './gltf-mpeg-audio-spatial-schema';\nimport type {GLTFAudioClip, GLTFAudioEmitter} from './gltf-khr-audio-emitter-schema';\n\n/** GLTFLoader removes processed extensions from `extensionsUsed` and `extensionsUsed`\n * `processedExtensions` is used to track those extensions\n */\nexport type GLTFWithBuffers = {\n json: GLTF;\n binary?: ArrayBuffer;\n buffers: GLTFExternalBuffer[];\n images?: GLTFExternalImage[];\n /** Resolved draft glTF 2.1 unified file references, parallel to `json.files`. */\n files?: GLTFExternalFile[];\n /** Parsed draft glTF 2.1 external assets, parallel to `json.externalAssets`. */\n externalAssets?: Array<GLTFWithBuffers | null>;\n /** Normalized Gaussian splat primitives discovered by KHR_gaussian_splatting. */\n gaussianSplatPrimitives?: GLTFGaussianSplatPrimitive[];\n /** Root and node MPEG spatial audio declarations for an application audio renderer. */\n spatialAudio?: GLTFSpatialAudio[];\n /** Encoded KHR audio clips, parallel to the extension's audio array. */\n audioClips?: GLTFAudioClip[];\n /** KHR emitter instances with resolved source and clip references. */\n audioEmitters?: GLTFAudioEmitter[];\n};\n\nexport type GLTFExternalBuffer = {\n arrayBuffer: ArrayBuffer;\n byteOffset: number;\n byteLength: number;\n};\n\n/** Raw bytes and metadata for a resolved draft glTF 2.1 file reference. */\nexport type GLTFExternalFile = GLTFExternalBuffer & {\n /** MIME type declared by the file definition. */\n mimeType: string;\n /** Optional package lookup name declared by the file definition. */\n name?: string;\n /** Resolved URL for URI-backed files. */\n url?: string;\n};\n\ntype GLTFExternalImage =\n | ImageType\n | {\n compressed: true;\n mipmaps: true;\n width: number;\n height: number;\n data: TextureLevel[];\n }\n | {\n compressed: true;\n mipmaps: false;\n width: number;\n height: number;\n data: Uint8Array;\n };\n\nexport type FeatureTableJson = {\n [key: string]: any[];\n};\n\nexport type {\n GLTF,\n GLTFAccessor,\n GLTFBuffer,\n GLTFBufferView,\n // GLTFCamera,\n GLTFMeshPrimitive,\n GLTFMesh,\n GLTFNode,\n GLTFMaterial,\n GLTFSampler,\n GLTFScene,\n GLTFSkin,\n GLTFTexture,\n GLTFImage,\n GLTFFile,\n GLTFExternalAsset,\n GLTF_KHR_binary_glTF,\n GLTF_KHR_draco_mesh_compression,\n GLTF_KHR_texture_basisu,\n GLTF_KHR_meshopt_compression,\n GLTF_EXT_meshopt_compression,\n GLTF_EXT_texture_webp\n} from './gltf-json-schema';\n\nexport type {GLTFShape, GLTFBoundingVolume} from './gltf-shape-schema';\n"],
5
5
  "mappings": ";;;;;;;;;;;;;;;;AAAA;AAAA;",
6
6
  "names": []
7
7
  }
@@ -1,4 +1,5 @@
1
1
  import { ImageType } from '@loaders.gl/images';
2
+ import type { TextureLevel } from '@loaders.gl/core/schema';
2
3
  import type { GLTF } from "./gltf-json-schema.js";
3
4
  import type { GLTFGaussianSplatPrimitive } from "./gltf-ext-gaussian-splatting-schema.js";
4
5
  import type { GLTFSpatialAudio } from "./gltf-mpeg-audio-spatial-schema.js";
@@ -39,6 +40,12 @@ export type GLTFExternalFile = GLTFExternalBuffer & {
39
40
  url?: string;
40
41
  };
41
42
  type GLTFExternalImage = ImageType | {
43
+ compressed: true;
44
+ mipmaps: true;
45
+ width: number;
46
+ height: number;
47
+ data: TextureLevel[];
48
+ } | {
42
49
  compressed: true;
43
50
  mipmaps: false;
44
51
  width: number;
@@ -1 +1 @@
1
- {"version":3,"file":"gltf-types.d.ts","sourceRoot":"","sources":["../../../../src/gltf/lib/types/gltf-types.ts"],"names":[],"mappings":"AAMA,OAAO,EAAC,SAAS,EAAC,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,EAAC,IAAI,EAAC,8BAA2B;AAC7C,OAAO,KAAK,EAAC,0BAA0B,EAAC,gDAA6C;AACrF,OAAO,KAAK,EAAC,gBAAgB,EAA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B,EAC5B,4BAA4B,EAC5B,qBAAqB,EACtB,8BAA2B;AAE5B,YAAY,EAAC,SAAS,EAAE,kBAAkB,EAAC,+BAA4B"}
@@ -330,6 +330,11 @@ export declare const GLTF2Schema: z.ZodIntersection<z.ZodObject<{
330
330
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
331
331
  extras: z.ZodOptional<z.ZodUnknown>;
332
332
  }, z.core.$loose>>;
333
+ KHR_materials_emissive_strength: z.ZodOptional<z.ZodObject<{
334
+ emissiveStrength: z.ZodOptional<z.ZodNumber>;
335
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
336
+ extras: z.ZodOptional<z.ZodUnknown>;
337
+ }, z.core.$loose>>;
333
338
  }, z.core.$loose>>;
334
339
  name: z.ZodOptional<z.ZodString>;
335
340
  extras: z.ZodOptional<z.ZodUnknown>;
@@ -525,6 +530,18 @@ export declare const GLTF2Schema: z.ZodIntersection<z.ZodObject<{
525
530
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
526
531
  extras: z.ZodOptional<z.ZodUnknown>;
527
532
  }, z.core.$loose>>;
533
+ FB_geometry_metadata: z.ZodOptional<z.ZodObject<{
534
+ vertexCount: z.ZodOptional<z.ZodNumber>;
535
+ primitiveCount: z.ZodOptional<z.ZodNumber>;
536
+ sceneBounds: z.ZodOptional<z.ZodObject<{
537
+ min: z.ZodArray<z.ZodNumber>;
538
+ max: z.ZodArray<z.ZodNumber>;
539
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
540
+ extras: z.ZodOptional<z.ZodUnknown>;
541
+ }, z.core.$loose>>;
542
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
543
+ extras: z.ZodOptional<z.ZodUnknown>;
544
+ }, z.core.$loose>>;
528
545
  KHR_audio_emitter: z.ZodOptional<z.ZodObject<{
529
546
  emitters: z.ZodArray<z.ZodNumber>;
530
547
  name: z.ZodOptional<z.ZodString>;
@@ -887,6 +904,11 @@ export declare const GLTFVersionSchema: z.ZodUnion<readonly [z.ZodIntersection<z
887
904
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
888
905
  extras: z.ZodOptional<z.ZodUnknown>;
889
906
  }, z.core.$loose>>;
907
+ KHR_materials_emissive_strength: z.ZodOptional<z.ZodObject<{
908
+ emissiveStrength: z.ZodOptional<z.ZodNumber>;
909
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
910
+ extras: z.ZodOptional<z.ZodUnknown>;
911
+ }, z.core.$loose>>;
890
912
  }, z.core.$loose>>;
891
913
  name: z.ZodOptional<z.ZodString>;
892
914
  extras: z.ZodOptional<z.ZodUnknown>;
@@ -1082,6 +1104,18 @@ export declare const GLTFVersionSchema: z.ZodUnion<readonly [z.ZodIntersection<z
1082
1104
  extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1083
1105
  extras: z.ZodOptional<z.ZodUnknown>;
1084
1106
  }, z.core.$loose>>;
1107
+ FB_geometry_metadata: z.ZodOptional<z.ZodObject<{
1108
+ vertexCount: z.ZodOptional<z.ZodNumber>;
1109
+ primitiveCount: z.ZodOptional<z.ZodNumber>;
1110
+ sceneBounds: z.ZodOptional<z.ZodObject<{
1111
+ min: z.ZodArray<z.ZodNumber>;
1112
+ max: z.ZodArray<z.ZodNumber>;
1113
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1114
+ extras: z.ZodOptional<z.ZodUnknown>;
1115
+ }, z.core.$loose>>;
1116
+ extensions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1117
+ extras: z.ZodOptional<z.ZodUnknown>;
1118
+ }, z.core.$loose>>;
1085
1119
  KHR_audio_emitter: z.ZodOptional<z.ZodObject<{
1086
1120
  emitters: z.ZodArray<z.ZodNumber>;
1087
1121
  name: z.ZodOptional<z.Z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ema: () => GLTFCameraSchema,
38
38
  GLTFEXTMeshoptCompressionSchema: () => GLTFEXTMeshoptCompressionSchema,
39
+ GLTFEXTTextureAvifSchema: () => GLTFEXTTextureAvifSchema,
39
40
  GLTFEXTTextureWebpSchema: () => GLTFEXTTextureWebpSchema,
40
41
  GLTFExternalAssetSchema: () => GLTFExternalAssetSchema,
41
42
  GLTFIdSchema: () => GLTFIdSchema,
@@ -266,7 +267,7 @@ var GLTFMaterialSchema = import_zod.z.object({
266
267
  alphaCutoff: import_zod.z.number().optional(),
267
268
  doubleSided: import_zod.z.boolean().optional(),
268
269
  ...GLTF_NAMED_PROPERTY_SHAPE,
269
- extensions: import_gltf_extension_schemas.GLTFPropertyExtensionsSchema.optional()
270
+ extensions: import_gltf_extension_schemas.GLTFMaterialExtensionsSchema.optional()
270
271
  }).catchall(import_zod.z.unknown());
271
272
  var GLTFMeshPrimitiveSchema = import_zod.z.object({
272
273
  attributes: import_zod.z.record(import_zod.z.string(), GLTFIdSchema),
@@ -414,6 +415,7 @@ var GLTFKHRMeshoptCompressionSchema = import_zod.z.object({
414
415
  extras: import_zod.z.unknown().optional()
415
416
  }).catchall(import_zod.z.unknown());
416
417
  var GLTFEXTTextureWebpSchema = import_zod.z.object({ source: GLTFIdSchema, extras: import_zod.z.unknown().optional() }).catchall(import_zod.z.unknown());
418
+ var GLTFEXTTextureAvifSchema = import_zod.z.object({ source: GLTFIdSchema, extras: import_zod.z.unknown().optional() }).catchall(import_zod.z.unknown());
417
419
  var GLTFMSFTTextureDdsSchema = import_zod.z.object({ source: GLTFIdSchema, extras: import_zod.z.unknown().optional() }).catchall(import_zod.z.unknown());
418
420
  // Annotate the CommonJS export names for ESM import in node:
419
421
  0 && (module.exports = {
@@ -433,6 +435,7 @@ var GLTFMSFTTextureDdsSchema = import_zod.z.object({ source: GLTFIdSchema, extra
433
435
  GLTFCameraPerspectiveSchema,
434
436
  GLTFCameraSchema,
435
437
  GLTFEXTMeshoptCompressionSchema,
438
+ GLTFEXTTextureAvifSchema,
436
439
  GLTFEXTTextureWebpSchema,
437
440
  GLTFExternalAssetSchema,
438
441
  GLTFIdSchema,