@null3d/engine 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1357) hide show
  1. package/LICENSE-APACHE +176 -0
  2. package/LICENSE-MIT +21 -0
  3. package/README.md +108 -2
  4. package/THIRD-PARTY-NOTICES.txt +637 -0
  5. package/dist/wasm/single/null3d.js +3972 -0
  6. package/dist/wasm/single/null3d_bg.wasm +0 -0
  7. package/dist/wasm/threaded/null3d.js +3988 -0
  8. package/dist/wasm/threaded/null3d_bg.wasm +0 -0
  9. package/docs/api/animation.md +492 -0
  10. package/docs/api/assets.md +400 -0
  11. package/docs/api/cameras.md +161 -0
  12. package/docs/api/controls.md +319 -0
  13. package/docs/api/debug.md +450 -0
  14. package/docs/api/engine.md +254 -0
  15. package/docs/api/feature-draws.md +172 -0
  16. package/docs/api/feature-effects.md +137 -0
  17. package/docs/api/feature-instances.md +154 -0
  18. package/docs/api/features.md +323 -0
  19. package/docs/api/geometry.md +307 -0
  20. package/docs/api/grass.md +114 -0
  21. package/docs/api/impostors.md +274 -0
  22. package/docs/api/input.md +238 -0
  23. package/docs/api/lights.md +266 -0
  24. package/docs/api/lines.md +163 -0
  25. package/docs/api/materials.md +875 -0
  26. package/docs/api/math.md +129 -0
  27. package/docs/api/objects.md +155 -0
  28. package/docs/api/page.md +97 -0
  29. package/docs/api/particles.md +205 -0
  30. package/docs/api/points.md +130 -0
  31. package/docs/api/post.md +494 -0
  32. package/docs/api/quality.md +200 -0
  33. package/docs/api/raycast.md +269 -0
  34. package/docs/api/reference/animation.md +158 -0
  35. package/docs/api/reference/assets.md +335 -0
  36. package/docs/api/reference/cameras.md +138 -0
  37. package/docs/api/reference/controls.md +463 -0
  38. package/docs/api/reference/debug.md +586 -0
  39. package/docs/api/reference/engine.md +647 -0
  40. package/docs/api/reference/feature-draws.md +94 -0
  41. package/docs/api/reference/feature-effects.md +32 -0
  42. package/docs/api/reference/feature-instances.md +63 -0
  43. package/docs/api/reference/features.md +361 -0
  44. package/docs/api/reference/geometry.md +856 -0
  45. package/docs/api/reference/grass.md +131 -0
  46. package/docs/api/reference/impostors.md +368 -0
  47. package/docs/api/reference/input.md +121 -0
  48. package/docs/api/reference/lights.md +257 -0
  49. package/docs/api/reference/lines.md +84 -0
  50. package/docs/api/reference/materials.md +375 -0
  51. package/docs/api/reference/math.md +229 -0
  52. package/docs/api/reference/objects.md +103 -0
  53. package/docs/api/reference/particles.md +336 -0
  54. package/docs/api/reference/points.md +57 -0
  55. package/docs/api/reference/post.md +244 -0
  56. package/docs/api/reference/quality.md +213 -0
  57. package/docs/api/reference/raycast.md +94 -0
  58. package/docs/api/reference/render.md +238 -0
  59. package/docs/api/reference/scene.md +543 -0
  60. package/docs/api/reference/sketch.md +125 -0
  61. package/docs/api/reference/sound.md +203 -0
  62. package/docs/api/reference/splats.md +214 -0
  63. package/docs/api/reference/sprites.md +71 -0
  64. package/docs/api/reference/tasks.md +92 -0
  65. package/docs/api/reference/terrain.md +161 -0
  66. package/docs/api/reference/textures.md +153 -0
  67. package/docs/api/reference/three-compat.md +60 -0
  68. package/docs/api/reference/time.md +25 -0
  69. package/docs/api/reference/ui.md +52 -0
  70. package/docs/api/reference/vertex-draws.md +55 -0
  71. package/docs/api/reference/water.md +430 -0
  72. package/docs/api/reference/wind.md +106 -0
  73. package/docs/api/render.md +499 -0
  74. package/docs/api/scene.md +606 -0
  75. package/docs/api/sketch.md +231 -0
  76. package/docs/api/sound.md +169 -0
  77. package/docs/api/splats.md +264 -0
  78. package/docs/api/sprites.md +169 -0
  79. package/docs/api/tasks.md +106 -0
  80. package/docs/api/terrain.md +118 -0
  81. package/docs/api/textures.md +272 -0
  82. package/docs/api/three-compat.md +102 -0
  83. package/docs/api/time.md +134 -0
  84. package/docs/api/ui.md +134 -0
  85. package/docs/api/vertex-draws.md +171 -0
  86. package/docs/api/water.md +486 -0
  87. package/docs/api/wind.md +375 -0
  88. package/docs/cli/null3d.md +603 -0
  89. package/docs/concepts/architecture.md +174 -0
  90. package/docs/concepts/assets.md +128 -0
  91. package/docs/concepts/backends.md +197 -0
  92. package/docs/concepts/color-management.md +134 -0
  93. package/docs/concepts/culling.md +227 -0
  94. package/docs/concepts/handles.md +93 -0
  95. package/docs/concepts/instances.md +285 -0
  96. package/docs/concepts/large-worlds.md +126 -0
  97. package/docs/concepts/lighting.md +587 -0
  98. package/docs/concepts/lod.md +241 -0
  99. package/docs/concepts/materials.md +128 -0
  100. package/docs/concepts/particle-buffer.md +201 -0
  101. package/docs/concepts/post-processing.md +420 -0
  102. package/docs/concepts/quality-preset-tables.md +94 -0
  103. package/docs/concepts/quality-presets.md +341 -0
  104. package/docs/concepts/render-graph.md +222 -0
  105. package/docs/concepts/render-layers.md +111 -0
  106. package/docs/concepts/shadows.md +448 -0
  107. package/docs/concepts/static-dynamic.md +113 -0
  108. package/docs/cookbook/index.md +664 -0
  109. package/docs/data/threejs-mapping.json +2152 -0
  110. package/docs/errors/E1101.md +23 -0
  111. package/docs/errors/E1102.md +23 -0
  112. package/docs/errors/E1103.md +23 -0
  113. package/docs/errors/E1104.md +23 -0
  114. package/docs/errors/E1105.md +23 -0
  115. package/docs/errors/E1106.md +23 -0
  116. package/docs/errors/E1107.md +23 -0
  117. package/docs/errors/E1108.md +23 -0
  118. package/docs/errors/E1109.md +23 -0
  119. package/docs/errors/E1110.md +23 -0
  120. package/docs/errors/E1111.md +23 -0
  121. package/docs/errors/E1112.md +23 -0
  122. package/docs/errors/E1203.md +23 -0
  123. package/docs/errors/E1204.md +23 -0
  124. package/docs/errors/E1205.md +23 -0
  125. package/docs/errors/E1206.md +23 -0
  126. package/docs/errors/E1207.md +23 -0
  127. package/docs/errors/E1208.md +23 -0
  128. package/docs/errors/E1209.md +23 -0
  129. package/docs/errors/E1213.md +23 -0
  130. package/docs/errors/E1214.md +23 -0
  131. package/docs/errors/E1215.md +23 -0
  132. package/docs/errors/E1216.md +23 -0
  133. package/docs/errors/E1217.md +23 -0
  134. package/docs/errors/E1218.md +23 -0
  135. package/docs/errors/E1219.md +23 -0
  136. package/docs/errors/E1220.md +23 -0
  137. package/docs/errors/E1221.md +23 -0
  138. package/docs/errors/E1222.md +23 -0
  139. package/docs/errors/E1223.md +23 -0
  140. package/docs/errors/E1224.md +23 -0
  141. package/docs/errors/E1225.md +23 -0
  142. package/docs/errors/E1301.md +23 -0
  143. package/docs/errors/E1302.md +23 -0
  144. package/docs/errors/E1303.md +23 -0
  145. package/docs/errors/E1304.md +23 -0
  146. package/docs/errors/E1305.md +23 -0
  147. package/docs/errors/E1306.md +23 -0
  148. package/docs/errors/E1307.md +23 -0
  149. package/docs/errors/E1401.md +23 -0
  150. package/docs/errors/E1402.md +23 -0
  151. package/docs/errors/E1403.md +23 -0
  152. package/docs/errors/E1404.md +23 -0
  153. package/docs/errors/E1405.md +23 -0
  154. package/docs/errors/E1406.md +23 -0
  155. package/docs/errors/E1407.md +23 -0
  156. package/docs/errors/E1408.md +23 -0
  157. package/docs/errors/E1409.md +23 -0
  158. package/docs/errors/E1410.md +23 -0
  159. package/docs/errors/E1411.md +23 -0
  160. package/docs/errors/E1412.md +23 -0
  161. package/docs/errors/E1413.md +23 -0
  162. package/docs/errors/E1414.md +23 -0
  163. package/docs/errors/E1415.md +23 -0
  164. package/docs/errors/E1416.md +23 -0
  165. package/docs/errors/E1417.md +23 -0
  166. package/docs/errors/E1418.md +23 -0
  167. package/docs/errors/E1419.md +23 -0
  168. package/docs/errors/E1420.md +23 -0
  169. package/docs/errors/E1421.md +23 -0
  170. package/docs/errors/E1422.md +23 -0
  171. package/docs/errors/E1423.md +23 -0
  172. package/docs/errors/E1424.md +23 -0
  173. package/docs/errors/E1425.md +23 -0
  174. package/docs/errors/E1426.md +23 -0
  175. package/docs/errors/E1430.md +23 -0
  176. package/docs/errors/E1431.md +23 -0
  177. package/docs/errors/E1432.md +23 -0
  178. package/docs/errors/E1433.md +23 -0
  179. package/docs/errors/E1434.md +23 -0
  180. package/docs/errors/E1435.md +23 -0
  181. package/docs/errors/E1436.md +23 -0
  182. package/docs/errors/E1437.md +23 -0
  183. package/docs/errors/E1501.md +23 -0
  184. package/docs/errors/E1502.md +23 -0
  185. package/docs/errors/E1503.md +23 -0
  186. package/docs/errors/E1504.md +23 -0
  187. package/docs/errors/E1505.md +23 -0
  188. package/docs/errors/E1506.md +23 -0
  189. package/docs/errors/index.md +93 -0
  190. package/docs/getting-started/cdn.md +235 -0
  191. package/docs/getting-started/first-scene.md +129 -0
  192. package/docs/getting-started/hosting.md +400 -0
  193. package/docs/getting-started/install.md +112 -0
  194. package/docs/getting-started/network-use.md +96 -0
  195. package/docs/getting-started/project-structure.md +78 -0
  196. package/docs/getting-started/third-party-notices.md +94 -0
  197. package/docs/guides/accessibility.md +96 -0
  198. package/docs/guides/add-ons.md +160 -0
  199. package/docs/guides/agents.md +77 -0
  200. package/docs/guides/assets-pipeline.md +505 -0
  201. package/docs/guides/audio.md +148 -0
  202. package/docs/guides/baked-light-data.md +176 -0
  203. package/docs/guides/car-paint.md +121 -0
  204. package/docs/guides/content-pages.md +238 -0
  205. package/docs/guides/custom-passes.md +586 -0
  206. package/docs/guides/custom-shaders.md +293 -0
  207. package/docs/guides/debugging.md +236 -0
  208. package/docs/guides/deploying.md +115 -0
  209. package/docs/guides/deterministic-simulation.md +226 -0
  210. package/docs/guides/first-use-shaders.md +57 -0
  211. package/docs/guides/lens-kit.md +134 -0
  212. package/docs/guides/loading-screens.md +263 -0
  213. package/docs/guides/multiple-views.md +122 -0
  214. package/docs/guides/performance.md +405 -0
  215. package/docs/guides/phones.md +138 -0
  216. package/docs/guides/physics.md +202 -0
  217. package/docs/guides/screens.md +125 -0
  218. package/docs/guides/start-time.md +328 -0
  219. package/docs/guides/testing.md +245 -0
  220. package/docs/guides/ui-overlays.md +182 -0
  221. package/docs/guides/video-textures.md +110 -0
  222. package/docs/index.md +49 -0
  223. package/docs/pages.md +242 -0
  224. package/docs/porting/react-three-fiber.md +238 -0
  225. package/docs/porting/threejs-loop-and-threads.md +229 -0
  226. package/docs/porting/threejs-mapping.md +297 -0
  227. package/docs/porting/threejs-materials.md +222 -0
  228. package/docs/porting/threejs-overview.md +228 -0
  229. package/docs/porting/threejs-postprocessing.md +256 -0
  230. package/docs/porting/threejs-shaders.md +308 -0
  231. package/docs/porting/threejs-unsupported.md +91 -0
  232. package/docs/porting/verification.md +191 -0
  233. package/docs/shaders/builtins.md +129 -0
  234. package/docs/shaders/library.md +1374 -0
  235. package/docs/shaders/surface-functions.md +626 -0
  236. package/docs/shaders/wgsl-rules.md +126 -0
  237. package/levels/pieces.d.ts +178 -0
  238. package/levels/pieces.js +759 -0
  239. package/levels/planner.d.ts +126 -0
  240. package/levels/planner.js +682 -0
  241. package/lib/debug/channel.d.ts +103 -0
  242. package/lib/debug/channel.js +269 -0
  243. package/lib/debug/debug.d.ts +180 -0
  244. package/lib/debug/debug.js +4 -0
  245. package/lib/debug/draw.d.ts +146 -0
  246. package/lib/debug/draw.js +719 -0
  247. package/lib/debug/frame-target.d.ts +11 -0
  248. package/lib/debug/frame-target.js +31 -0
  249. package/lib/debug/inspector.d.ts +60 -0
  250. package/lib/debug/inspector.js +475 -0
  251. package/lib/debug/overlay-look.d.ts +162 -0
  252. package/lib/debug/overlay-look.js +1365 -0
  253. package/lib/debug/overlay.d.ts +68 -0
  254. package/lib/debug/overlay.js +195 -0
  255. package/lib/debug/page-meters.d.ts +139 -0
  256. package/lib/debug/page-meters.js +267 -0
  257. package/lib/debug/sketch-debug.d.ts +41 -0
  258. package/lib/debug/sketch-debug.js +86 -0
  259. package/lib/debug/stats-options.d.ts +15 -0
  260. package/lib/debug/stats-options.js +3 -0
  261. package/lib/debug/stats-panel.d.ts +94 -0
  262. package/lib/debug/stats-panel.js +123 -0
  263. package/lib/debug/stats-text.d.ts +169 -0
  264. package/lib/debug/stats-text.js +126 -0
  265. package/lib/debug/stats.d.ts +195 -0
  266. package/lib/debug/stats.js +252 -0
  267. package/lib/debug/view-names.d.ts +15 -0
  268. package/lib/debug/view-names.js +22 -0
  269. package/lib/errors/checks.d.ts +24 -0
  270. package/lib/errors/checks.js +38 -0
  271. package/lib/errors/codes.d.ts +15 -0
  272. package/lib/errors/codes.js +489 -0
  273. package/lib/errors/core-failure.d.ts +19 -0
  274. package/lib/errors/core-failure.js +127 -0
  275. package/lib/errors/engine-error-core.d.ts +21 -0
  276. package/lib/errors/engine-error-core.js +39 -0
  277. package/lib/errors/engine-error.d.ts +38 -0
  278. package/lib/errors/engine-error.js +132 -0
  279. package/lib/errors/fixes.d.ts +89 -0
  280. package/lib/errors/fixes.js +86 -0
  281. package/lib/errors/message.d.ts +4 -0
  282. package/lib/errors/message.js +10 -0
  283. package/lib/generated/core.d.ts +657 -0
  284. package/lib/generated/core.js +659 -0
  285. package/lib/generated/gpu.d.ts +412 -0
  286. package/lib/generated/gpu.js +414 -0
  287. package/lib/generated/shader-features.d.ts +8 -0
  288. package/lib/generated/shader-permutations.d.ts +6 -0
  289. package/lib/generated/shader-permutations.js +9 -0
  290. package/lib/generated/shaders-environment-glsl.d.ts +11 -0
  291. package/lib/generated/shaders-environment-wgsl.d.ts +11 -0
  292. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-coverage-half.d.ts +3 -0
  293. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-coverage.d.ts +3 -0
  294. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-displacement-half.d.ts +3 -0
  295. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-displacement.d.ts +3 -0
  296. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-hash-half.d.ts +3 -0
  297. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-hash.d.ts +3 -0
  298. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-lod-fade-half.d.ts +3 -0
  299. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-lod-fade.d.ts +3 -0
  300. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-morph-half.d.ts +3 -0
  301. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-morph.d.ts +3 -0
  302. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-row-values-half.d.ts +3 -0
  303. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-row-values.d.ts +3 -0
  304. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-skinning-half.d.ts +3 -0
  305. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-skinning.d.ts +3 -0
  306. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-transmission-half.d.ts +3 -0
  307. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-transmission.d.ts +3 -0
  308. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-weighted-half.d.ts +3 -0
  309. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-and-weighted.d.ts +3 -0
  310. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen-half.d.ts +3 -0
  311. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coat-sheen.d.ts +3 -0
  312. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-displacement-half.d.ts +3 -0
  313. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-displacement.d.ts +3 -0
  314. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-lod-fade-half.d.ts +3 -0
  315. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-lod-fade.d.ts +3 -0
  316. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-morph-half.d.ts +3 -0
  317. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-morph.d.ts +3 -0
  318. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-row-values-half.d.ts +3 -0
  319. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-row-values.d.ts +3 -0
  320. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-skinning-half.d.ts +3 -0
  321. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-skinning.d.ts +3 -0
  322. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-translucency-half.d.ts +3 -0
  323. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-translucency.d.ts +3 -0
  324. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-transmission-half.d.ts +3 -0
  325. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-and-transmission.d.ts +3 -0
  326. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage-half.d.ts +3 -0
  327. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-coverage.d.ts +3 -0
  328. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-hash-half.d.ts +3 -0
  329. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-hash.d.ts +3 -0
  330. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-morph-half.d.ts +3 -0
  331. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-morph.d.ts +3 -0
  332. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-row-values-half.d.ts +3 -0
  333. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-row-values.d.ts +3 -0
  334. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-skinning-half.d.ts +3 -0
  335. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-skinning.d.ts +3 -0
  336. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-translucency-half.d.ts +3 -0
  337. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-translucency.d.ts +3 -0
  338. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-transmission-half.d.ts +3 -0
  339. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-transmission.d.ts +3 -0
  340. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-weighted-half.d.ts +3 -0
  341. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-and-weighted.d.ts +3 -0
  342. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement-half.d.ts +3 -0
  343. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-displacement.d.ts +3 -0
  344. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-morph-half.d.ts +3 -0
  345. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-morph.d.ts +3 -0
  346. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-row-values-half.d.ts +3 -0
  347. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-row-values.d.ts +3 -0
  348. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-skinning-half.d.ts +3 -0
  349. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-skinning.d.ts +3 -0
  350. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-translucency-half.d.ts +3 -0
  351. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-and-translucency.d.ts +3 -0
  352. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash-half.d.ts +3 -0
  353. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-hash.d.ts +3 -0
  354. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-and-row-values-half.d.ts +3 -0
  355. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-and-row-values.d.ts +3 -0
  356. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-and-translucency-half.d.ts +3 -0
  357. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-and-translucency.d.ts +3 -0
  358. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade-half.d.ts +3 -0
  359. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-lod-fade.d.ts +3 -0
  360. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-skinning-half.d.ts +3 -0
  361. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-skinning.d.ts +3 -0
  362. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-translucency-half.d.ts +3 -0
  363. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-translucency.d.ts +3 -0
  364. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-transmission-half.d.ts +3 -0
  365. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-transmission.d.ts +3 -0
  366. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-weighted-half.d.ts +3 -0
  367. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-and-weighted.d.ts +3 -0
  368. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph-half.d.ts +3 -0
  369. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-morph.d.ts +3 -0
  370. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-and-translucency-half.d.ts +3 -0
  371. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-and-translucency.d.ts +3 -0
  372. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-and-weighted-half.d.ts +3 -0
  373. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-and-weighted.d.ts +3 -0
  374. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values-half.d.ts +3 -0
  375. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-row-values.d.ts +3 -0
  376. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-translucency-half.d.ts +3 -0
  377. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-translucency.d.ts +3 -0
  378. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-transmission-half.d.ts +3 -0
  379. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-transmission.d.ts +3 -0
  380. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-weighted-half.d.ts +3 -0
  381. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-and-weighted.d.ts +3 -0
  382. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning-half.d.ts +3 -0
  383. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-skinning.d.ts +3 -0
  384. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-translucency-half.d.ts +3 -0
  385. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-translucency.d.ts +3 -0
  386. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-transmission-half.d.ts +3 -0
  387. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-transmission.d.ts +3 -0
  388. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-weighted-half.d.ts +3 -0
  389. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-and-weighted.d.ts +3 -0
  390. package/lib/generated/shaders-glsl-combos-area-lights-and-bump-half.d.ts +3 -0
  391. package/lib/generated/shaders-glsl-combos-area-lights-and-bump.d.ts +3 -0
  392. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-displacement-half.d.ts +3 -0
  393. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-displacement.d.ts +3 -0
  394. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-lod-fade-half.d.ts +3 -0
  395. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-lod-fade.d.ts +3 -0
  396. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-morph-half.d.ts +3 -0
  397. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-morph.d.ts +3 -0
  398. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-row-values-half.d.ts +3 -0
  399. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-row-values.d.ts +3 -0
  400. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-skinning-half.d.ts +3 -0
  401. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-skinning.d.ts +3 -0
  402. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-transmission-half.d.ts +3 -0
  403. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-and-transmission.d.ts +3 -0
  404. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage-half.d.ts +3 -0
  405. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-coverage.d.ts +3 -0
  406. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-hash-half.d.ts +3 -0
  407. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-hash.d.ts +3 -0
  408. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-morph-half.d.ts +3 -0
  409. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-morph.d.ts +3 -0
  410. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-row-values-half.d.ts +3 -0
  411. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-row-values.d.ts +3 -0
  412. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-skinning-half.d.ts +3 -0
  413. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-skinning.d.ts +3 -0
  414. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-transmission-half.d.ts +3 -0
  415. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-transmission.d.ts +3 -0
  416. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-weighted-half.d.ts +3 -0
  417. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-and-weighted.d.ts +3 -0
  418. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement-half.d.ts +3 -0
  419. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-displacement.d.ts +3 -0
  420. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-morph-half.d.ts +3 -0
  421. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-morph.d.ts +3 -0
  422. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-row-values-half.d.ts +3 -0
  423. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-row-values.d.ts +3 -0
  424. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-skinning-half.d.ts +3 -0
  425. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-and-skinning.d.ts +3 -0
  426. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash-half.d.ts +3 -0
  427. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-hash.d.ts +3 -0
  428. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-lod-fade-and-row-values-half.d.ts +3 -0
  429. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-lod-fade-and-row-values.d.ts +3 -0
  430. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-lod-fade-half.d.ts +3 -0
  431. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-lod-fade.d.ts +3 -0
  432. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-skinning-half.d.ts +3 -0
  433. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-skinning.d.ts +3 -0
  434. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-transmission-half.d.ts +3 -0
  435. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-transmission.d.ts +3 -0
  436. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-weighted-half.d.ts +3 -0
  437. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-and-weighted.d.ts +3 -0
  438. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph-half.d.ts +3 -0
  439. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-morph.d.ts +3 -0
  440. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-row-values-and-weighted-half.d.ts +3 -0
  441. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-row-values-and-weighted.d.ts +3 -0
  442. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-row-values-half.d.ts +3 -0
  443. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-row-values.d.ts +3 -0
  444. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-and-transmission-half.d.ts +3 -0
  445. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-and-transmission.d.ts +3 -0
  446. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-and-weighted-half.d.ts +3 -0
  447. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-and-weighted.d.ts +3 -0
  448. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning-half.d.ts +3 -0
  449. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-skinning.d.ts +3 -0
  450. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-transmission-half.d.ts +3 -0
  451. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-transmission.d.ts +3 -0
  452. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-weighted-half.d.ts +3 -0
  453. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-and-weighted.d.ts +3 -0
  454. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen-half.d.ts +3 -0
  455. package/lib/generated/shaders-glsl-combos-area-lights-and-coat-sheen.d.ts +3 -0
  456. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-morph-half.d.ts +3 -0
  457. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-morph.d.ts +3 -0
  458. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-row-values-half.d.ts +3 -0
  459. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-row-values.d.ts +3 -0
  460. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-skinning-half.d.ts +3 -0
  461. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-skinning.d.ts +3 -0
  462. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-translucency-half.d.ts +3 -0
  463. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-translucency.d.ts +3 -0
  464. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-transmission-half.d.ts +3 -0
  465. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-and-transmission.d.ts +3 -0
  466. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement-half.d.ts +3 -0
  467. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-displacement.d.ts +3 -0
  468. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-and-row-values-half.d.ts +3 -0
  469. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-and-row-values.d.ts +3 -0
  470. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-and-translucency-half.d.ts +3 -0
  471. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-and-translucency.d.ts +3 -0
  472. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade-half.d.ts +3 -0
  473. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-lod-fade.d.ts +3 -0
  474. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-skinning-half.d.ts +3 -0
  475. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-skinning.d.ts +3 -0
  476. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-translucency-half.d.ts +3 -0
  477. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-translucency.d.ts +3 -0
  478. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-transmission-half.d.ts +3 -0
  479. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-and-transmission.d.ts +3 -0
  480. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph-half.d.ts +3 -0
  481. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-morph.d.ts +3 -0
  482. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-row-values-and-translucency-half.d.ts +3 -0
  483. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-row-values-and-translucency.d.ts +3 -0
  484. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-row-values-half.d.ts +3 -0
  485. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-row-values.d.ts +3 -0
  486. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-and-translucency-half.d.ts +3 -0
  487. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-and-translucency.d.ts +3 -0
  488. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-and-transmission-half.d.ts +3 -0
  489. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-and-transmission.d.ts +3 -0
  490. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning-half.d.ts +3 -0
  491. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-skinning.d.ts +3 -0
  492. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-translucency-half.d.ts +3 -0
  493. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-translucency.d.ts +3 -0
  494. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-transmission-half.d.ts +3 -0
  495. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-and-transmission.d.ts +3 -0
  496. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage-half.d.ts +3 -0
  497. package/lib/generated/shaders-glsl-combos-area-lights-and-coverage.d.ts +3 -0
  498. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-morph-half.d.ts +3 -0
  499. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-morph.d.ts +3 -0
  500. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-row-values-half.d.ts +3 -0
  501. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-row-values.d.ts +3 -0
  502. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-skinning-half.d.ts +3 -0
  503. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-skinning.d.ts +3 -0
  504. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-translucency-half.d.ts +3 -0
  505. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-and-translucency.d.ts +3 -0
  506. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash-half.d.ts +3 -0
  507. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-hash.d.ts +3 -0
  508. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-morph-half.d.ts +3 -0
  509. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-morph.d.ts +3 -0
  510. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-row-values-half.d.ts +3 -0
  511. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-row-values.d.ts +3 -0
  512. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-skinning-half.d.ts +3 -0
  513. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-skinning.d.ts +3 -0
  514. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-translucency-half.d.ts +3 -0
  515. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-and-translucency.d.ts +3 -0
  516. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment-half.d.ts +3 -0
  517. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-moment.d.ts +3 -0
  518. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-skinning-half.d.ts +3 -0
  519. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-skinning.d.ts +3 -0
  520. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-translucency-half.d.ts +3 -0
  521. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-translucency.d.ts +3 -0
  522. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-transmission-half.d.ts +3 -0
  523. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-transmission.d.ts +3 -0
  524. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-weighted-half.d.ts +3 -0
  525. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-and-weighted.d.ts +3 -0
  526. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph-half.d.ts +3 -0
  527. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-morph.d.ts +3 -0
  528. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-and-translucency-half.d.ts +3 -0
  529. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-and-translucency.d.ts +3 -0
  530. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-and-weighted-half.d.ts +3 -0
  531. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-and-weighted.d.ts +3 -0
  532. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values-half.d.ts +3 -0
  533. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-row-values.d.ts +3 -0
  534. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-translucency-half.d.ts +3 -0
  535. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-translucency.d.ts +3 -0
  536. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-transmission-half.d.ts +3 -0
  537. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-transmission.d.ts +3 -0
  538. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-weighted-half.d.ts +3 -0
  539. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-and-weighted.d.ts +3 -0
  540. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning-half.d.ts +3 -0
  541. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-skinning.d.ts +3 -0
  542. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-translucency-half.d.ts +3 -0
  543. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-translucency.d.ts +3 -0
  544. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-transmission-half.d.ts +3 -0
  545. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-transmission.d.ts +3 -0
  546. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-weighted-half.d.ts +3 -0
  547. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-and-weighted.d.ts +3 -0
  548. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement-half.d.ts +3 -0
  549. package/lib/generated/shaders-glsl-combos-area-lights-and-displacement.d.ts +3 -0
  550. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-and-skinning-half.d.ts +3 -0
  551. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-and-skinning.d.ts +3 -0
  552. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-and-translucency-half.d.ts +3 -0
  553. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-and-translucency.d.ts +3 -0
  554. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph-half.d.ts +3 -0
  555. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-morph.d.ts +3 -0
  556. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-row-values-and-translucency-half.d.ts +3 -0
  557. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-row-values-and-translucency.d.ts +3 -0
  558. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-row-values-half.d.ts +3 -0
  559. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-row-values.d.ts +3 -0
  560. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-skinning-and-translucency-half.d.ts +3 -0
  561. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-skinning-and-translucency.d.ts +3 -0
  562. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-skinning-half.d.ts +3 -0
  563. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-skinning.d.ts +3 -0
  564. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-translucency-half.d.ts +3 -0
  565. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-and-translucency.d.ts +3 -0
  566. package/lib/generated/shaders-glsl-combos-area-lights-and-hash-half.d.ts +3 -0
  567. package/lib/generated/shaders-glsl-combos-area-lights-and-hash.d.ts +3 -0
  568. package/lib/generated/shaders-glsl-combos-area-lights-and-lines.d.ts +3 -0
  569. package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-row-values-and-translucency-half.d.ts +3 -0
  570. package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-row-values-and-translucency.d.ts +3 -0
  571. package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-row-values-half.d.ts +3 -0
  572. package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-row-values.d.ts +3 -0
  573. package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-translucency-half.d.ts +3 -0
  574. package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-and-translucency.d.ts +3 -0
  575. package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade-half.d.ts +3 -0
  576. package/lib/generated/shaders-glsl-combos-area-lights-and-lod-fade.d.ts +3 -0
  577. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-and-skinning-half.d.ts +3 -0
  578. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-and-skinning.d.ts +3 -0
  579. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-and-translucency-half.d.ts +3 -0
  580. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-and-translucency.d.ts +3 -0
  581. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph-half.d.ts +3 -0
  582. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-morph.d.ts +3 -0
  583. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-row-values-and-translucency-half.d.ts +3 -0
  584. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-row-values-and-translucency.d.ts +3 -0
  585. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-row-values-half.d.ts +3 -0
  586. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-row-values.d.ts +3 -0
  587. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-skinning-and-translucency-half.d.ts +3 -0
  588. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-skinning-and-translucency.d.ts +3 -0
  589. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-skinning-half.d.ts +3 -0
  590. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-skinning.d.ts +3 -0
  591. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-translucency-half.d.ts +3 -0
  592. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-and-translucency.d.ts +3 -0
  593. package/lib/generated/shaders-glsl-combos-area-lights-and-moment-half.d.ts +3 -0
  594. package/lib/generated/shaders-glsl-combos-area-lights-and-moment.d.ts +3 -0
  595. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-translucency-half.d.ts +3 -0
  596. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-translucency.d.ts +3 -0
  597. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-transmission-half.d.ts +3 -0
  598. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-transmission.d.ts +3 -0
  599. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-weighted-half.d.ts +3 -0
  600. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-and-weighted.d.ts +3 -0
  601. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning-half.d.ts +3 -0
  602. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-skinning.d.ts +3 -0
  603. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-translucency-half.d.ts +3 -0
  604. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-translucency.d.ts +3 -0
  605. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-transmission-half.d.ts +3 -0
  606. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-transmission.d.ts +3 -0
  607. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-weighted-half.d.ts +3 -0
  608. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-and-weighted.d.ts +3 -0
  609. package/lib/generated/shaders-glsl-combos-area-lights-and-morph-half.d.ts +3 -0
  610. package/lib/generated/shaders-glsl-combos-area-lights-and-morph.d.ts +3 -0
  611. package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-and-translucency-half.d.ts +3 -0
  612. package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-and-translucency.d.ts +3 -0
  613. package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-and-weighted-half.d.ts +3 -0
  614. package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-and-weighted.d.ts +3 -0
  615. package/lib/generated/shaders-glsl-combos-area-lights-and-row-values-half.d.ts +3 -0
  616. package/lib/generated/shaders-glsl-combos-area-lights-and-row-values.d.ts +3 -0
  617. package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-translucency-half.d.ts +3 -0
  618. package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-translucency.d.ts +3 -0
  619. package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-transmission-half.d.ts +3 -0
  620. package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-transmission.d.ts +3 -0
  621. package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-weighted-half.d.ts +3 -0
  622. package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-and-weighted.d.ts +3 -0
  623. package/lib/generated/shaders-glsl-combos-area-lights-and-skinning-half.d.ts +3 -0
  624. package/lib/generated/shaders-glsl-combos-area-lights-and-skinning.d.ts +3 -0
  625. package/lib/generated/shaders-glsl-combos-area-lights-and-translucency-half.d.ts +3 -0
  626. package/lib/generated/shaders-glsl-combos-area-lights-and-translucency.d.ts +3 -0
  627. package/lib/generated/shaders-glsl-combos-area-lights-and-transmission-half.d.ts +3 -0
  628. package/lib/generated/shaders-glsl-combos-area-lights-and-transmission.d.ts +3 -0
  629. package/lib/generated/shaders-glsl-combos-area-lights-and-weighted-half.d.ts +3 -0
  630. package/lib/generated/shaders-glsl-combos-area-lights-and-weighted.d.ts +3 -0
  631. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-coverage-half.d.ts +3 -0
  632. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-coverage.d.ts +3 -0
  633. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-displacement-half.d.ts +3 -0
  634. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-displacement.d.ts +3 -0
  635. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-hash-half.d.ts +3 -0
  636. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-hash.d.ts +3 -0
  637. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-lod-fade-half.d.ts +3 -0
  638. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-lod-fade.d.ts +3 -0
  639. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-morph-half.d.ts +3 -0
  640. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-morph.d.ts +3 -0
  641. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-row-values-half.d.ts +3 -0
  642. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-row-values.d.ts +3 -0
  643. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-skinning-half.d.ts +3 -0
  644. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-skinning.d.ts +3 -0
  645. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-transmission-half.d.ts +3 -0
  646. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-transmission.d.ts +3 -0
  647. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-weighted-half.d.ts +3 -0
  648. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-and-weighted.d.ts +3 -0
  649. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen-half.d.ts +3 -0
  650. package/lib/generated/shaders-glsl-combos-bump-and-coat-sheen.d.ts +3 -0
  651. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-displacement-half.d.ts +3 -0
  652. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-displacement.d.ts +3 -0
  653. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-lod-fade-half.d.ts +3 -0
  654. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-lod-fade.d.ts +3 -0
  655. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-morph-half.d.ts +3 -0
  656. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-morph.d.ts +3 -0
  657. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-row-values-half.d.ts +3 -0
  658. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-row-values.d.ts +3 -0
  659. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-skinning-half.d.ts +3 -0
  660. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-skinning.d.ts +3 -0
  661. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-translucency-half.d.ts +3 -0
  662. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-translucency.d.ts +3 -0
  663. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-transmission-half.d.ts +3 -0
  664. package/lib/generated/shaders-glsl-combos-bump-and-coverage-and-transmission.d.ts +3 -0
  665. package/lib/generated/shaders-glsl-combos-bump-and-coverage-half.d.ts +3 -0
  666. package/lib/generated/shaders-glsl-combos-bump-and-coverage.d.ts +3 -0
  667. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-hash-half.d.ts +3 -0
  668. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-hash.d.ts +3 -0
  669. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-morph-half.d.ts +3 -0
  670. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-morph.d.ts +3 -0
  671. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-row-values-half.d.ts +3 -0
  672. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-row-values.d.ts +3 -0
  673. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-skinning-half.d.ts +3 -0
  674. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-skinning.d.ts +3 -0
  675. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-translucency-half.d.ts +3 -0
  676. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-translucency.d.ts +3 -0
  677. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-transmission-half.d.ts +3 -0
  678. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-transmission.d.ts +3 -0
  679. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-weighted-half.d.ts +3 -0
  680. package/lib/generated/shaders-glsl-combos-bump-and-displacement-and-weighted.d.ts +3 -0
  681. package/lib/generated/shaders-glsl-combos-bump-and-displacement-half.d.ts +3 -0
  682. package/lib/generated/shaders-glsl-combos-bump-and-displacement.d.ts +3 -0
  683. package/lib/generated/shaders-glsl-combos-bump-and-hash-and-morph-half.d.ts +3 -0
  684. package/lib/generated/shaders-glsl-combos-bump-and-hash-and-morph.d.ts +3 -0
  685. package/lib/generated/shaders-glsl-combos-bump-and-hash-and-row-values-half.d.ts +3 -0
  686. package/lib/generated/shaders-glsl-combos-bump-and-hash-and-row-values.d.ts +3 -0
  687. package/lib/generated/shaders-glsl-combos-bump-and-hash-and-skinning-half.d.ts +3 -0
  688. package/lib/generated/shaders-glsl-combos-bump-and-hash-and-skinning.d.ts +3 -0
  689. package/lib/generated/shaders-glsl-combos-bump-and-hash-and-translucency-half.d.ts +3 -0
  690. package/lib/generated/shaders-glsl-combos-bump-and-hash-and-translucency.d.ts +3 -0
  691. package/lib/generated/shaders-glsl-combos-bump-and-hash-half.d.ts +3 -0
  692. package/lib/generated/shaders-glsl-combos-bump-and-hash.d.ts +3 -0
  693. package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-and-row-values-half.d.ts +3 -0
  694. package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-and-row-values.d.ts +3 -0
  695. package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-and-translucency-half.d.ts +3 -0
  696. package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-and-translucency.d.ts +3 -0
  697. package/lib/generated/shaders-glsl-combos-bump-and-lod-fade-half.d.ts +3 -0
  698. package/lib/generated/shaders-glsl-combos-bump-and-lod-fade.d.ts +3 -0
  699. package/lib/generated/shaders-glsl-combos-bump-and-morph-and-skinning-half.d.ts +3 -0
  700. package/lib/generated/shaders-glsl-combos-bump-and-morph-and-skinning.d.ts +3 -0
  701. package/lib/generated/shaders-glsl-combos-bump-and-morph-and-translucency-half.d.ts +3 -0
  702. package/lib/generated/shaders-glsl-combos-bump-and-morph-and-translucency.d.ts +3 -0
  703. package/lib/generated/shaders-glsl-combos-bump-and-morph-and-transmission-half.d.ts +3 -0
  704. package/lib/generated/shaders-glsl-combos-bump-and-morph-and-transmission.d.ts +3 -0
  705. package/lib/generated/shaders-glsl-combos-bump-and-morph-and-weighted-half.d.ts +3 -0
  706. package/lib/generated/shaders-glsl-combos-bump-and-morph-and-weighted.d.ts +3 -0
  707. package/lib/generated/shaders-glsl-combos-bump-and-morph-half.d.ts +3 -0
  708. package/lib/generated/shaders-glsl-combos-bump-and-morph.d.ts +3 -0
  709. package/lib/generated/shaders-glsl-combos-bump-and-row-values-and-translucency-half.d.ts +3 -0
  710. package/lib/generated/shaders-glsl-combos-bump-and-row-values-and-translucency.d.ts +3 -0
  711. package/lib/generated/shaders-glsl-combos-bump-and-row-values-and-weighted-half.d.ts +3 -0
  712. package/lib/generated/shaders-glsl-combos-bump-and-row-values-and-weighted.d.ts +3 -0
  713. package/lib/generated/shaders-glsl-combos-bump-and-row-values-half.d.ts +3 -0
  714. package/lib/generated/shaders-glsl-combos-bump-and-row-values.d.ts +3 -0
  715. package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-translucency-half.d.ts +3 -0
  716. package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-translucency.d.ts +3 -0
  717. package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-transmission-half.d.ts +3 -0
  718. package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-transmission.d.ts +3 -0
  719. package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-weighted-half.d.ts +3 -0
  720. package/lib/generated/shaders-glsl-combos-bump-and-skinning-and-weighted.d.ts +3 -0
  721. package/lib/generated/shaders-glsl-combos-bump-and-skinning-half.d.ts +3 -0
  722. package/lib/generated/shaders-glsl-combos-bump-and-skinning.d.ts +3 -0
  723. package/lib/generated/shaders-glsl-combos-bump-and-translucency-half.d.ts +3 -0
  724. package/lib/generated/shaders-glsl-combos-bump-and-translucency.d.ts +3 -0
  725. package/lib/generated/shaders-glsl-combos-bump-and-transmission-half.d.ts +3 -0
  726. package/lib/generated/shaders-glsl-combos-bump-and-transmission.d.ts +3 -0
  727. package/lib/generated/shaders-glsl-combos-bump-and-weighted-half.d.ts +3 -0
  728. package/lib/generated/shaders-glsl-combos-bump-and-weighted.d.ts +3 -0
  729. package/lib/generated/shaders-glsl-combos-coat-sheen-and-coverage-half.d.ts +3 -0
  730. package/lib/generated/shaders-glsl-combos-coat-sheen-and-coverage.d.ts +3 -0
  731. package/lib/generated/shaders-glsl-combos-coat-sheen-and-displacement-half.d.ts +3 -0
  732. package/lib/generated/shaders-glsl-combos-coat-sheen-and-displacement.d.ts +3 -0
  733. package/lib/generated/shaders-glsl-combos-coat-sheen-and-hash-half.d.ts +3 -0
  734. package/lib/generated/shaders-glsl-combos-coat-sheen-and-hash.d.ts +3 -0
  735. package/lib/generated/shaders-glsl-combos-coat-sheen-and-lod-fade-half.d.ts +3 -0
  736. package/lib/generated/shaders-glsl-combos-coat-sheen-and-lod-fade.d.ts +3 -0
  737. package/lib/generated/shaders-glsl-combos-coat-sheen-and-morph-half.d.ts +3 -0
  738. package/lib/generated/shaders-glsl-combos-coat-sheen-and-morph.d.ts +3 -0
  739. package/lib/generated/shaders-glsl-combos-coat-sheen-and-row-values-half.d.ts +3 -0
  740. package/lib/generated/shaders-glsl-combos-coat-sheen-and-row-values.d.ts +3 -0
  741. package/lib/generated/shaders-glsl-combos-coat-sheen-and-skinning-half.d.ts +3 -0
  742. package/lib/generated/shaders-glsl-combos-coat-sheen-and-skinning.d.ts +3 -0
  743. package/lib/generated/shaders-glsl-combos-coat-sheen-and-transmission-half.d.ts +3 -0
  744. package/lib/generated/shaders-glsl-combos-coat-sheen-and-transmission.d.ts +3 -0
  745. package/lib/generated/shaders-glsl-combos-coat-sheen-and-weighted-half.d.ts +3 -0
  746. package/lib/generated/shaders-glsl-combos-coat-sheen-and-weighted.d.ts +3 -0
  747. package/lib/generated/shaders-glsl-combos-coverage-half.d.ts +3 -0
  748. package/lib/generated/shaders-glsl-combos-coverage.d.ts +3 -0
  749. package/lib/generated/shaders-glsl-combos-cutout.d.ts +3 -0
  750. package/lib/generated/shaders-glsl-combos-decals-half.d.ts +3 -0
  751. package/lib/generated/shaders-glsl-combos-decals.d.ts +3 -0
  752. package/lib/generated/shaders-glsl-combos-displacement-half.d.ts +3 -0
  753. package/lib/generated/shaders-glsl-combos-displacement.d.ts +3 -0
  754. package/lib/generated/shaders-glsl-combos-hash-half.d.ts +3 -0
  755. package/lib/generated/shaders-glsl-combos-hash.d.ts +3 -0
  756. package/lib/generated/shaders-glsl-combos-lod-fade-half.d.ts +3 -0
  757. package/lib/generated/shaders-glsl-combos-lod-fade.d.ts +3 -0
  758. package/lib/generated/shaders-glsl-combos-moment-half.d.ts +3 -0
  759. package/lib/generated/shaders-glsl-combos-moment.d.ts +3 -0
  760. package/lib/generated/shaders-glsl-combos-morph-half.d.ts +3 -0
  761. package/lib/generated/shaders-glsl-combos-morph.d.ts +3 -0
  762. package/lib/generated/shaders-glsl-combos-motion.d.ts +3 -0
  763. package/lib/generated/shaders-glsl-combos-picking.d.ts +3 -0
  764. package/lib/generated/shaders-glsl-combos-probe-grid-half.d.ts +3 -0
  765. package/lib/generated/shaders-glsl-combos-probe-grid.d.ts +3 -0
  766. package/lib/generated/shaders-glsl-combos-row-values-half.d.ts +3 -0
  767. package/lib/generated/shaders-glsl-combos-row-values.d.ts +3 -0
  768. package/lib/generated/shaders-glsl-combos-skinning-half.d.ts +3 -0
  769. package/lib/generated/shaders-glsl-combos-skinning.d.ts +3 -0
  770. package/lib/generated/shaders-glsl-combos-sprites.d.ts +3 -0
  771. package/lib/generated/shaders-glsl-combos-subsurface-half.d.ts +3 -0
  772. package/lib/generated/shaders-glsl-combos-subsurface.d.ts +3 -0
  773. package/lib/generated/shaders-probe-glsl.d.ts +11 -0
  774. package/lib/generated/shaders-probe-wgsl.d.ts +11 -0
  775. package/lib/generated/shaders-sky-volume-env-glsl.d.ts +11 -0
  776. package/lib/generated/shaders-sky-volume-env-wgsl.d.ts +11 -0
  777. package/lib/generated/shaders-sky-volume-panorama-glsl.d.ts +11 -0
  778. package/lib/generated/shaders-sky-volume-panorama-wgsl.d.ts +11 -0
  779. package/lib/generated/shaders-wgsl-combos-area-lights-and-bump-half.d.ts +3 -0
  780. package/lib/generated/shaders-wgsl-combos-area-lights-and-bump.d.ts +3 -0
  781. package/lib/generated/shaders-wgsl-combos-area-lights-and-coat-sheen-half.d.ts +3 -0
  782. package/lib/generated/shaders-wgsl-combos-area-lights-and-coat-sheen.d.ts +3 -0
  783. package/lib/generated/shaders-wgsl-combos-area-lights-and-coverage-half.d.ts +3 -0
  784. package/lib/generated/shaders-wgsl-combos-area-lights-and-coverage.d.ts +3 -0
  785. package/lib/generated/shaders-wgsl-combos-area-lights-and-displacement-half.d.ts +3 -0
  786. package/lib/generated/shaders-wgsl-combos-area-lights-and-displacement.d.ts +3 -0
  787. package/lib/generated/shaders-wgsl-combos-area-lights-and-hash-half.d.ts +3 -0
  788. package/lib/generated/shaders-wgsl-combos-area-lights-and-hash.d.ts +3 -0
  789. package/lib/generated/shaders-wgsl-combos-area-lights-and-instance-index-half.d.ts +3 -0
  790. package/lib/generated/shaders-wgsl-combos-area-lights-and-instance-index.d.ts +3 -0
  791. package/lib/generated/shaders-wgsl-combos-area-lights-and-lines.d.ts +3 -0
  792. package/lib/generated/shaders-wgsl-combos-area-lights-and-lod-fade-half.d.ts +3 -0
  793. package/lib/generated/shaders-wgsl-combos-area-lights-and-lod-fade.d.ts +3 -0
  794. package/lib/generated/shaders-wgsl-combos-area-lights-and-moment-half.d.ts +3 -0
  795. package/lib/generated/shaders-wgsl-combos-area-lights-and-moment.d.ts +3 -0
  796. package/lib/generated/shaders-wgsl-combos-area-lights-and-row-values-half.d.ts +3 -0
  797. package/lib/generated/shaders-wgsl-combos-area-lights-and-row-values.d.ts +3 -0
  798. package/lib/generated/shaders-wgsl-combos-area-lights-and-skinning-half.d.ts +3 -0
  799. package/lib/generated/shaders-wgsl-combos-area-lights-and-skinning.d.ts +3 -0
  800. package/lib/generated/shaders-wgsl-combos-area-lights-and-translucency-half.d.ts +3 -0
  801. package/lib/generated/shaders-wgsl-combos-area-lights-and-translucency.d.ts +3 -0
  802. package/lib/generated/shaders-wgsl-combos-area-lights-and-transmission-half.d.ts +3 -0
  803. package/lib/generated/shaders-wgsl-combos-area-lights-and-transmission.d.ts +3 -0
  804. package/lib/generated/shaders-wgsl-combos-area-lights-and-weighted-half.d.ts +3 -0
  805. package/lib/generated/shaders-wgsl-combos-area-lights-and-weighted.d.ts +3 -0
  806. package/lib/generated/shaders-wgsl-combos-bump-half.d.ts +3 -0
  807. package/lib/generated/shaders-wgsl-combos-bump.d.ts +3 -0
  808. package/lib/generated/shaders-wgsl-combos-coat-sheen-half.d.ts +3 -0
  809. package/lib/generated/shaders-wgsl-combos-coat-sheen.d.ts +3 -0
  810. package/lib/generated/shaders-wgsl-combos-coverage-half.d.ts +3 -0
  811. package/lib/generated/shaders-wgsl-combos-coverage.d.ts +3 -0
  812. package/lib/generated/shaders-wgsl-combos-cutout.d.ts +3 -0
  813. package/lib/generated/shaders-wgsl-combos-decals-half.d.ts +3 -0
  814. package/lib/generated/shaders-wgsl-combos-decals.d.ts +3 -0
  815. package/lib/generated/shaders-wgsl-combos-displacement-half.d.ts +3 -0
  816. package/lib/generated/shaders-wgsl-combos-displacement.d.ts +3 -0
  817. package/lib/generated/shaders-wgsl-combos-hash-half.d.ts +3 -0
  818. package/lib/generated/shaders-wgsl-combos-hash.d.ts +3 -0
  819. package/lib/generated/shaders-wgsl-combos-instance-index-half.d.ts +3 -0
  820. package/lib/generated/shaders-wgsl-combos-instance-index.d.ts +3 -0
  821. package/lib/generated/shaders-wgsl-combos-lod-fade-half.d.ts +3 -0
  822. package/lib/generated/shaders-wgsl-combos-lod-fade.d.ts +3 -0
  823. package/lib/generated/shaders-wgsl-combos-moment-half.d.ts +3 -0
  824. package/lib/generated/shaders-wgsl-combos-moment.d.ts +3 -0
  825. package/lib/generated/shaders-wgsl-combos-motion.d.ts +3 -0
  826. package/lib/generated/shaders-wgsl-combos-picking.d.ts +3 -0
  827. package/lib/generated/shaders-wgsl-combos-probe-grid-half.d.ts +3 -0
  828. package/lib/generated/shaders-wgsl-combos-probe-grid.d.ts +3 -0
  829. package/lib/generated/shaders-wgsl-combos-row-values-half.d.ts +3 -0
  830. package/lib/generated/shaders-wgsl-combos-row-values.d.ts +3 -0
  831. package/lib/generated/shaders-wgsl-combos-skinning-half.d.ts +3 -0
  832. package/lib/generated/shaders-wgsl-combos-skinning.d.ts +3 -0
  833. package/lib/generated/shaders-wgsl-combos-sprites.d.ts +3 -0
  834. package/lib/generated/shaders-wgsl-combos-subsurface-half.d.ts +3 -0
  835. package/lib/generated/shaders-wgsl-combos-subsurface.d.ts +3 -0
  836. package/lib/generated/shaders.d.ts +1146 -0
  837. package/lib/gpu/canvas-release.d.ts +20 -0
  838. package/lib/gpu/canvas-release.js +67 -0
  839. package/lib/gpu/completion.d.ts +35 -0
  840. package/lib/gpu/completion.js +256 -0
  841. package/lib/gpu/device-shaders.d.ts +69 -0
  842. package/lib/gpu/device-shaders.js +177 -0
  843. package/lib/gpu/early-builds.d.ts +68 -0
  844. package/lib/gpu/early-builds.js +158 -0
  845. package/lib/gpu/effect-join.d.ts +83 -0
  846. package/lib/gpu/effect-join.js +134 -0
  847. package/lib/gpu/effect-joiner.d.ts +14 -0
  848. package/lib/gpu/effect-joiner.js +165 -0
  849. package/lib/gpu/environment-steps.d.ts +135 -0
  850. package/lib/gpu/environment-steps.js +210 -0
  851. package/lib/gpu/environment-words.d.ts +14 -0
  852. package/lib/gpu/environment-words.js +19 -0
  853. package/lib/gpu/environment.d.ts +4 -0
  854. package/lib/gpu/environment.js +8 -0
  855. package/lib/gpu/float-bits.d.ts +2 -0
  856. package/lib/gpu/float-bits.js +9 -0
  857. package/lib/gpu/line-vertices.d.ts +1 -0
  858. package/lib/gpu/line-vertices.js +14 -0
  859. package/lib/gpu/memory.d.ts +19 -0
  860. package/lib/gpu/memory.js +50 -0
  861. package/lib/gpu/particle-records.d.ts +1 -0
  862. package/lib/gpu/particle-records.js +15 -0
  863. package/lib/gpu/pipeline-name.d.ts +6 -0
  864. package/lib/gpu/pipeline-name.js +23 -0
  865. package/lib/gpu/probe-steps.d.ts +22 -0
  866. package/lib/gpu/probe-steps.js +43 -0
  867. package/lib/gpu/readback.d.ts +32 -0
  868. package/lib/gpu/readback.js +163 -0
  869. package/lib/gpu/variants.d.ts +16 -0
  870. package/lib/gpu/variants.js +67 -0
  871. package/lib/gpu/vertex-format.d.ts +46 -0
  872. package/lib/gpu/vertex-format.js +111 -0
  873. package/lib/gpu/webgl2/backend.d.ts +714 -0
  874. package/lib/gpu/webgl2/backend.js +2964 -0
  875. package/lib/gpu/webgl2/call-timing.d.ts +34 -0
  876. package/lib/gpu/webgl2/call-timing.js +143 -0
  877. package/lib/gpu/webgl2/context.d.ts +31 -0
  878. package/lib/gpu/webgl2/context.js +111 -0
  879. package/lib/gpu/webgl2/depth.d.ts +25 -0
  880. package/lib/gpu/webgl2/depth.js +30 -0
  881. package/lib/gpu/webgl2/environment.d.ts +65 -0
  882. package/lib/gpu/webgl2/environment.js +572 -0
  883. package/lib/gpu/webgl2/gpu-timer.d.ts +25 -0
  884. package/lib/gpu/webgl2/gpu-timer.js +93 -0
  885. package/lib/gpu/webgl2/probes.d.ts +38 -0
  886. package/lib/gpu/webgl2/probes.js +117 -0
  887. package/lib/gpu/webgl2/programs.d.ts +238 -0
  888. package/lib/gpu/webgl2/programs.js +487 -0
  889. package/lib/gpu/webgpu/backend.d.ts +460 -0
  890. package/lib/gpu/webgpu/backend.js +1812 -0
  891. package/lib/gpu/webgpu/buffer-reads.d.ts +42 -0
  892. package/lib/gpu/webgpu/buffer-reads.js +95 -0
  893. package/lib/gpu/webgpu/culled-counts.d.ts +79 -0
  894. package/lib/gpu/webgpu/culled-counts.js +259 -0
  895. package/lib/gpu/webgpu/draw-path-probe.d.ts +37 -0
  896. package/lib/gpu/webgpu/draw-path-probe.js +187 -0
  897. package/lib/gpu/webgpu/environment.d.ts +36 -0
  898. package/lib/gpu/webgpu/environment.js +735 -0
  899. package/lib/gpu/webgpu/first-pass.d.ts +13 -0
  900. package/lib/gpu/webgpu/first-pass.js +61 -0
  901. package/lib/gpu/webgpu/gpu-timer.d.ts +67 -0
  902. package/lib/gpu/webgpu/gpu-timer.js +328 -0
  903. package/lib/gpu/webgpu/indirect-arguments.d.ts +42 -0
  904. package/lib/gpu/webgpu/indirect-arguments.js +156 -0
  905. package/lib/gpu/webgpu/pipelines.d.ts +264 -0
  906. package/lib/gpu/webgpu/pipelines.js +2013 -0
  907. package/lib/gpu/webgpu/probes.d.ts +27 -0
  908. package/lib/gpu/webgpu/probes.js +190 -0
  909. package/lib/gpu/webgpu/reusable.d.ts +74 -0
  910. package/lib/gpu/webgpu/reusable.js +212 -0
  911. package/lib/gpu/webgpu/staging.d.ts +79 -0
  912. package/lib/gpu/webgpu/staging.js +238 -0
  913. package/lib/gpu/webgpu/upload-routes.d.ts +55 -0
  914. package/lib/gpu/webgpu/upload-routes.js +128 -0
  915. package/lib/index.d.ts +121 -0
  916. package/lib/index.js +54 -0
  917. package/lib/math/color.d.ts +18 -0
  918. package/lib/math/color.js +71 -0
  919. package/lib/math/create-math.d.ts +101 -0
  920. package/lib/math/create-math.js +207 -0
  921. package/lib/math/hex.d.ts +8 -0
  922. package/lib/math/hex.js +38 -0
  923. package/lib/math/index.d.ts +2 -0
  924. package/lib/math/index.js +11 -0
  925. package/lib/math/mat4.d.ts +22 -0
  926. package/lib/math/mat4.js +206 -0
  927. package/lib/math/math.d.ts +16 -0
  928. package/lib/math/math.js +42 -0
  929. package/lib/math/namespaces/math.d.ts +7 -0
  930. package/lib/math/namespaces/math.js +14 -0
  931. package/lib/math/namespaces/quat.d.ts +20 -0
  932. package/lib/math/namespaces/quat.js +30 -0
  933. package/lib/math/namespaces/vec3.d.ts +4 -0
  934. package/lib/math/namespaces/vec3.js +8 -0
  935. package/lib/math/quat.d.ts +36 -0
  936. package/lib/math/quat.js +224 -0
  937. package/lib/math/random.d.ts +16 -0
  938. package/lib/math/random.js +57 -0
  939. package/lib/math/types.d.ts +43 -0
  940. package/lib/math/types.js +4 -0
  941. package/lib/math/vec3.d.ts +43 -0
  942. package/lib/math/vec3.js +187 -0
  943. package/lib/page/abortable.d.ts +2 -0
  944. package/lib/page/abortable.js +19 -0
  945. package/lib/page/browser-check.d.ts +8 -0
  946. package/lib/page/browser-check.js +23 -0
  947. package/lib/page/canvas-watch.d.ts +34 -0
  948. package/lib/page/canvas-watch.js +141 -0
  949. package/lib/page/capabilities.d.ts +201 -0
  950. package/lib/page/capabilities.js +409 -0
  951. package/lib/page/check-store.d.ts +54 -0
  952. package/lib/page/check-store.js +169 -0
  953. package/lib/page/display.d.ts +2 -0
  954. package/lib/page/display.js +25 -0
  955. package/lib/page/early-core.d.ts +1 -0
  956. package/lib/page/early-core.js +23 -0
  957. package/lib/page/engine.d.ts +942 -0
  958. package/lib/page/engine.js +2459 -0
  959. package/lib/page/first-frame.d.ts +16 -0
  960. package/lib/page/first-frame.js +35 -0
  961. package/lib/page/frame-stats.d.ts +402 -0
  962. package/lib/page/frame-stats.js +389 -0
  963. package/lib/page/gamepads.d.ts +37 -0
  964. package/lib/page/gamepads.js +123 -0
  965. package/lib/page/held-input.d.ts +19 -0
  966. package/lib/page/held-input.js +54 -0
  967. package/lib/page/hold.d.ts +186 -0
  968. package/lib/page/hold.js +49 -0
  969. package/lib/page/input-ring.d.ts +13 -0
  970. package/lib/page/input-ring.js +25 -0
  971. package/lib/page/input.d.ts +6 -0
  972. package/lib/page/input.js +159 -0
  973. package/lib/page/isolation-check.d.ts +14 -0
  974. package/lib/page/isolation-check.js +21 -0
  975. package/lib/page/label-loop.d.ts +80 -0
  976. package/lib/page/label-loop.js +417 -0
  977. package/lib/page/labels.d.ts +56 -0
  978. package/lib/page/labels.js +102 -0
  979. package/lib/page/limits.d.ts +321 -0
  980. package/lib/page/limits.js +323 -0
  981. package/lib/page/loader.d.ts +78 -0
  982. package/lib/page/loader.js +149 -0
  983. package/lib/page/main-thread.d.ts +10 -0
  984. package/lib/page/main-thread.js +41 -0
  985. package/lib/page/memory-pool.d.ts +26 -0
  986. package/lib/page/memory-pool.js +69 -0
  987. package/lib/page/ownership.d.ts +65 -0
  988. package/lib/page/ownership.js +166 -0
  989. package/lib/page/permutation-recording.d.ts +26 -0
  990. package/lib/page/permutation-recording.js +32 -0
  991. package/lib/page/pipeline-store.d.ts +25 -0
  992. package/lib/page/pipeline-store.js +84 -0
  993. package/lib/page/pointer-lock.d.ts +14 -0
  994. package/lib/page/pointer-lock.js +60 -0
  995. package/lib/page/preferences.d.ts +2 -0
  996. package/lib/page/preferences.js +11 -0
  997. package/lib/page/record-button.d.ts +5 -0
  998. package/lib/page/record-button.js +60 -0
  999. package/lib/page/start-marker.d.ts +47 -0
  1000. package/lib/page/start-marker.js +119 -0
  1001. package/lib/page/stats-switch.d.ts +16 -0
  1002. package/lib/page/stats-switch.js +38 -0
  1003. package/lib/page/stop-jobs.d.ts +37 -0
  1004. package/lib/page/stop-jobs.js +87 -0
  1005. package/lib/page/switches.d.ts +347 -0
  1006. package/lib/page/switches.js +150 -0
  1007. package/lib/page/videos.d.ts +70 -0
  1008. package/lib/page/videos.js +244 -0
  1009. package/lib/quality/budget.d.ts +14 -0
  1010. package/lib/quality/budget.js +25 -0
  1011. package/lib/quality/check.d.ts +119 -0
  1012. package/lib/quality/check.js +84 -0
  1013. package/lib/quality/chooser.d.ts +98 -0
  1014. package/lib/quality/chooser.js +108 -0
  1015. package/lib/quality/device-hints.d.ts +8 -0
  1016. package/lib/quality/device-hints.js +18 -0
  1017. package/lib/quality/governor.d.ts +571 -0
  1018. package/lib/quality/governor.js +1293 -0
  1019. package/lib/quality/preset-docs.d.ts +402 -0
  1020. package/lib/quality/preset-docs.js +179 -0
  1021. package/lib/quality/presets.d.ts +821 -0
  1022. package/lib/quality/presets.js +678 -0
  1023. package/lib/render/direct-loop.d.ts +4 -0
  1024. package/lib/render/direct-loop.js +52 -0
  1025. package/lib/render/draw.d.ts +66 -0
  1026. package/lib/render/draw.js +111 -0
  1027. package/lib/render/load-draw.d.ts +12 -0
  1028. package/lib/render/load-draw.js +18 -0
  1029. package/lib/render/loop.d.ts +241 -0
  1030. package/lib/render/loop.js +566 -0
  1031. package/lib/render/loss.d.ts +53 -0
  1032. package/lib/render/loss.js +127 -0
  1033. package/lib/render/pacer.d.ts +24 -0
  1034. package/lib/render/pacer.js +51 -0
  1035. package/lib/render/recovery.d.ts +82 -0
  1036. package/lib/render/recovery.js +160 -0
  1037. package/lib/render/refresh.d.ts +38 -0
  1038. package/lib/render/refresh.js +111 -0
  1039. package/lib/render/renderer.d.ts +192 -0
  1040. package/lib/render/renderer.js +295 -0
  1041. package/lib/render/scene-renderer.d.ts +135 -0
  1042. package/lib/render/scene-renderer.js +216 -0
  1043. package/lib/render/shader-salt.d.ts +5 -0
  1044. package/lib/render/shader-salt.js +31 -0
  1045. package/lib/render/webgl2-renderers.d.ts +11 -0
  1046. package/lib/render/webgl2-renderers.js +227 -0
  1047. package/lib/render/webgpu-renderers.d.ts +10 -0
  1048. package/lib/render/webgpu-renderers.js +254 -0
  1049. package/lib/scene/addon-debug-views.d.ts +30 -0
  1050. package/lib/scene/addon-debug-views.js +63 -0
  1051. package/lib/scene/animation.d.ts +547 -0
  1052. package/lib/scene/animation.js +1425 -0
  1053. package/lib/scene/area-light-tables.d.ts +32 -0
  1054. package/lib/scene/area-light-tables.js +89 -0
  1055. package/lib/scene/assets.d.ts +375 -0
  1056. package/lib/scene/assets.js +736 -0
  1057. package/lib/scene/background.d.ts +238 -0
  1058. package/lib/scene/background.js +470 -0
  1059. package/lib/scene/baked-light.d.ts +60 -0
  1060. package/lib/scene/baked-light.js +300 -0
  1061. package/lib/scene/builtin-environments.d.ts +36 -0
  1062. package/lib/scene/builtin-environments.js +43 -0
  1063. package/lib/scene/chunk-rows.d.ts +81 -0
  1064. package/lib/scene/chunk-rows.js +146 -0
  1065. package/lib/scene/color.d.ts +22 -0
  1066. package/lib/scene/color.js +45 -0
  1067. package/lib/scene/derived-cache.d.ts +139 -0
  1068. package/lib/scene/derived-cache.js +547 -0
  1069. package/lib/scene/downloads.d.ts +2 -0
  1070. package/lib/scene/downloads.js +371 -0
  1071. package/lib/scene/effects.d.ts +193 -0
  1072. package/lib/scene/effects.js +476 -0
  1073. package/lib/scene/environment-file.d.ts +22 -0
  1074. package/lib/scene/environment-file.js +81 -0
  1075. package/lib/scene/environment.d.ts +57 -0
  1076. package/lib/scene/environment.js +131 -0
  1077. package/lib/scene/fake-call-values.d.ts +8 -0
  1078. package/lib/scene/fake-call-values.js +51 -0
  1079. package/lib/scene/feature-draws.d.ts +169 -0
  1080. package/lib/scene/feature-draws.js +269 -0
  1081. package/lib/scene/feature-effects.d.ts +42 -0
  1082. package/lib/scene/feature-effects.js +155 -0
  1083. package/lib/scene/feature-host.d.ts +129 -0
  1084. package/lib/scene/feature-host.js +299 -0
  1085. package/lib/scene/feature-instances.d.ts +130 -0
  1086. package/lib/scene/feature-instances.js +326 -0
  1087. package/lib/scene/features.d.ts +412 -0
  1088. package/lib/scene/features.js +550 -0
  1089. package/lib/scene/file-limits.d.ts +70 -0
  1090. package/lib/scene/file-limits.js +224 -0
  1091. package/lib/scene/fog.d.ts +101 -0
  1092. package/lib/scene/fog.js +148 -0
  1093. package/lib/scene/frame-cameras.d.ts +175 -0
  1094. package/lib/scene/frame-cameras.js +492 -0
  1095. package/lib/scene/gltf-animation.d.ts +129 -0
  1096. package/lib/scene/gltf-animation.js +887 -0
  1097. package/lib/scene/gltf-draco.d.ts +9 -0
  1098. package/lib/scene/gltf-draco.js +224 -0
  1099. package/lib/scene/gltf-extensions.d.ts +31 -0
  1100. package/lib/scene/gltf-extensions.js +92 -0
  1101. package/lib/scene/gltf-json.d.ts +49 -0
  1102. package/lib/scene/gltf-json.js +94 -0
  1103. package/lib/scene/gltf-math.d.ts +16 -0
  1104. package/lib/scene/gltf-math.js +129 -0
  1105. package/lib/scene/gltf-meshopt.d.ts +3 -0
  1106. package/lib/scene/gltf-meshopt.js +48 -0
  1107. package/lib/scene/gltf-parse.d.ts +600 -0
  1108. package/lib/scene/gltf-parse.js +1854 -0
  1109. package/lib/scene/gltf.d.ts +189 -0
  1110. package/lib/scene/gltf.js +1589 -0
  1111. package/lib/scene/grade-table.d.ts +9 -0
  1112. package/lib/scene/grade-table.js +23 -0
  1113. package/lib/scene/grade-task.d.ts +12 -0
  1114. package/lib/scene/grade-task.js +11 -0
  1115. package/lib/scene/grading.d.ts +110 -0
  1116. package/lib/scene/grading.js +142 -0
  1117. package/lib/scene/half-float.d.ts +4 -0
  1118. package/lib/scene/half-float.js +42 -0
  1119. package/lib/scene/ktx2-cache.d.ts +32 -0
  1120. package/lib/scene/ktx2-cache.js +62 -0
  1121. package/lib/scene/ktx2-file.d.ts +57 -0
  1122. package/lib/scene/ktx2-file.js +207 -0
  1123. package/lib/scene/ktx2-transcode.d.ts +15 -0
  1124. package/lib/scene/ktx2-transcode.js +94 -0
  1125. package/lib/scene/ktx2.d.ts +42 -0
  1126. package/lib/scene/ktx2.js +179 -0
  1127. package/lib/scene/lens.d.ts +61 -0
  1128. package/lib/scene/lens.js +101 -0
  1129. package/lib/scene/level-meshopt.d.ts +20 -0
  1130. package/lib/scene/level-meshopt.js +122 -0
  1131. package/lib/scene/level-pieces.d.ts +24 -0
  1132. package/lib/scene/level-pieces.js +138 -0
  1133. package/lib/scene/level-rule.d.ts +120 -0
  1134. package/lib/scene/level-rule.js +130 -0
  1135. package/lib/scene/level-words.d.ts +19 -0
  1136. package/lib/scene/level-words.js +34 -0
  1137. package/lib/scene/levels-task.d.ts +51 -0
  1138. package/lib/scene/levels-task.js +132 -0
  1139. package/lib/scene/light-images.d.ts +36 -0
  1140. package/lib/scene/light-images.js +88 -0
  1141. package/lib/scene/light-probes.d.ts +240 -0
  1142. package/lib/scene/light-probes.js +644 -0
  1143. package/lib/scene/lines.d.ts +188 -0
  1144. package/lib/scene/lines.js +257 -0
  1145. package/lib/scene/lut-files.d.ts +41 -0
  1146. package/lib/scene/lut-files.js +399 -0
  1147. package/lib/scene/lut.d.ts +55 -0
  1148. package/lib/scene/lut.js +47 -0
  1149. package/lib/scene/memory.d.ts +72 -0
  1150. package/lib/scene/memory.js +159 -0
  1151. package/lib/scene/mesh-arrays.d.ts +110 -0
  1152. package/lib/scene/mesh-arrays.js +701 -0
  1153. package/lib/scene/mesh-levels.d.ts +10 -0
  1154. package/lib/scene/mesh-levels.js +52 -0
  1155. package/lib/scene/namespaces.d.ts +125 -0
  1156. package/lib/scene/namespaces.js +313 -0
  1157. package/lib/scene/panorama-files.d.ts +71 -0
  1158. package/lib/scene/panorama-files.js +1103 -0
  1159. package/lib/scene/panorama.d.ts +23 -0
  1160. package/lib/scene/panorama.js +108 -0
  1161. package/lib/scene/particles.d.ts +452 -0
  1162. package/lib/scene/particles.js +814 -0
  1163. package/lib/scene/pass-reads.d.ts +70 -0
  1164. package/lib/scene/pass-reads.js +220 -0
  1165. package/lib/scene/picks.d.ts +69 -0
  1166. package/lib/scene/picks.js +208 -0
  1167. package/lib/scene/pointer-events.d.ts +202 -0
  1168. package/lib/scene/pointer-events.js +500 -0
  1169. package/lib/scene/post.d.ts +567 -0
  1170. package/lib/scene/post.js +928 -0
  1171. package/lib/scene/prefab.d.ts +109 -0
  1172. package/lib/scene/prefab.js +166 -0
  1173. package/lib/scene/probes.d.ts +71 -0
  1174. package/lib/scene/probes.js +169 -0
  1175. package/lib/scene/property-animation.d.ts +160 -0
  1176. package/lib/scene/property-animation.js +276 -0
  1177. package/lib/scene/queries.d.ts +176 -0
  1178. package/lib/scene/queries.js +393 -0
  1179. package/lib/scene/render.d.ts +487 -0
  1180. package/lib/scene/render.js +829 -0
  1181. package/lib/scene/resources.d.ts +1598 -0
  1182. package/lib/scene/resources.js +2843 -0
  1183. package/lib/scene/rotation.d.ts +6 -0
  1184. package/lib/scene/rotation.js +12 -0
  1185. package/lib/scene/scene.d.ts +1858 -0
  1186. package/lib/scene/scene.js +4680 -0
  1187. package/lib/scene/serial-loads.d.ts +29 -0
  1188. package/lib/scene/serial-loads.js +68 -0
  1189. package/lib/scene/shader-preloads.d.ts +74 -0
  1190. package/lib/scene/shader-preloads.js +116 -0
  1191. package/lib/scene/shader-templates.d.ts +60 -0
  1192. package/lib/scene/shader-templates.js +156 -0
  1193. package/lib/scene/sprites.d.ts +262 -0
  1194. package/lib/scene/sprites.js +292 -0
  1195. package/lib/scene/stale-calls-scenario.d.ts +20 -0
  1196. package/lib/scene/stale-calls-scenario.js +175 -0
  1197. package/lib/scene/textures.d.ts +323 -0
  1198. package/lib/scene/textures.js +953 -0
  1199. package/lib/scene/time-of-day.d.ts +145 -0
  1200. package/lib/scene/time-of-day.js +644 -0
  1201. package/lib/scene/unmarked-writes.d.ts +118 -0
  1202. package/lib/scene/unmarked-writes.js +283 -0
  1203. package/lib/scene/unread-extensions-scenario.d.ts +6 -0
  1204. package/lib/scene/unread-extensions-scenario.js +26 -0
  1205. package/lib/scene/vertex-draws.d.ts +82 -0
  1206. package/lib/scene/vertex-draws.js +85 -0
  1207. package/lib/scene/wgsl-uniforms.d.ts +167 -0
  1208. package/lib/scene/wgsl-uniforms.js +12 -0
  1209. package/lib/shader-artifact.json +1 -0
  1210. package/lib/shared/await-later.d.ts +5 -0
  1211. package/lib/shared/await-later.js +10 -0
  1212. package/lib/shared/control.d.ts +94 -0
  1213. package/lib/shared/control.js +150 -0
  1214. package/lib/shared/core-sources.d.ts +2 -0
  1215. package/lib/shared/core-sources.js +7 -0
  1216. package/lib/shared/core.d.ts +1254 -0
  1217. package/lib/shared/core.js +381 -0
  1218. package/lib/shared/counter.d.ts +52 -0
  1219. package/lib/shared/counter.js +55 -0
  1220. package/lib/shared/dev.d.ts +8 -0
  1221. package/lib/shared/dev.js +13 -0
  1222. package/lib/shared/feature-stats.d.ts +16 -0
  1223. package/lib/shared/feature-stats.js +27 -0
  1224. package/lib/shared/frame-image.d.ts +13 -0
  1225. package/lib/shared/frame-image.js +32 -0
  1226. package/lib/shared/gpu-clock.d.ts +14 -0
  1227. package/lib/shared/gpu-clock.js +38 -0
  1228. package/lib/shared/gpu-counter.d.ts +12 -0
  1229. package/lib/shared/gpu-counter.js +15 -0
  1230. package/lib/shared/gpu-scope.d.ts +14 -0
  1231. package/lib/shared/gpu-scope.js +104 -0
  1232. package/lib/shared/helper-workers.d.ts +4 -0
  1233. package/lib/shared/helper-workers.js +23 -0
  1234. package/lib/shared/images.d.ts +255 -0
  1235. package/lib/shared/images.js +450 -0
  1236. package/lib/shared/import-once.d.ts +6 -0
  1237. package/lib/shared/import-once.js +19 -0
  1238. package/lib/shared/key-codes.d.ts +2 -0
  1239. package/lib/shared/key-codes.js +69 -0
  1240. package/lib/shared/labels.d.ts +94 -0
  1241. package/lib/shared/labels.js +172 -0
  1242. package/lib/shared/memory-area.d.ts +6 -0
  1243. package/lib/shared/memory-area.js +21 -0
  1244. package/lib/shared/memory-figure.d.ts +14 -0
  1245. package/lib/shared/memory-figure.js +18 -0
  1246. package/lib/shared/memory-views.d.ts +48 -0
  1247. package/lib/shared/memory-views.js +90 -0
  1248. package/lib/shared/metrics.d.ts +353 -0
  1249. package/lib/shared/metrics.js +799 -0
  1250. package/lib/shared/page-measurement.d.ts +9 -0
  1251. package/lib/shared/page-measurement.js +37 -0
  1252. package/lib/shared/phase.d.ts +17 -0
  1253. package/lib/shared/phase.js +20 -0
  1254. package/lib/shared/policy.d.ts +20 -0
  1255. package/lib/shared/policy.js +46 -0
  1256. package/lib/shared/recording.d.ts +100 -0
  1257. package/lib/shared/recording.js +378 -0
  1258. package/lib/shared/role.d.ts +10 -0
  1259. package/lib/shared/role.js +13 -0
  1260. package/lib/shared/run-task.d.ts +39 -0
  1261. package/lib/shared/run-task.js +69 -0
  1262. package/lib/shared/slot.d.ts +218 -0
  1263. package/lib/shared/slot.js +221 -0
  1264. package/lib/shared/software.d.ts +24 -0
  1265. package/lib/shared/software.js +22 -0
  1266. package/lib/shared/stats.d.ts +62 -0
  1267. package/lib/shared/stats.js +86 -0
  1268. package/lib/shared/task-failure.d.ts +24 -0
  1269. package/lib/shared/task-failure.js +36 -0
  1270. package/lib/shared/task-host.d.ts +42 -0
  1271. package/lib/shared/task-host.js +60 -0
  1272. package/lib/shared/task-load-error.d.ts +10 -0
  1273. package/lib/shared/task-load-error.js +13 -0
  1274. package/lib/shared/task-modules.d.ts +2 -0
  1275. package/lib/shared/task-modules.js +8 -0
  1276. package/lib/shared/task-pending.d.ts +24 -0
  1277. package/lib/shared/task-pending.js +101 -0
  1278. package/lib/shared/tasks.d.ts +54 -0
  1279. package/lib/shared/tasks.js +426 -0
  1280. package/lib/shared/tier.d.ts +7 -0
  1281. package/lib/shared/tier.js +3 -0
  1282. package/lib/shared/version.d.ts +72 -0
  1283. package/lib/shared/version.js +103 -0
  1284. package/lib/shared/videos.d.ts +15 -0
  1285. package/lib/shared/videos.js +11 -0
  1286. package/lib/shared/wake.d.ts +38 -0
  1287. package/lib/shared/wake.js +76 -0
  1288. package/lib/shared/wasm-limits.d.ts +13 -0
  1289. package/lib/shared/wasm-limits.js +75 -0
  1290. package/lib/shared/wasm.d.ts +34 -0
  1291. package/lib/shared/wasm.js +151 -0
  1292. package/lib/shared/webkit.d.ts +33 -0
  1293. package/lib/shared/webkit.js +59 -0
  1294. package/lib/shared/wgsl-updates.d.ts +9 -0
  1295. package/lib/shared/wgsl-updates.js +8 -0
  1296. package/lib/shared/worker-start.d.ts +56 -0
  1297. package/lib/shared/worker-start.js +186 -0
  1298. package/lib/sketch/clock.d.ts +61 -0
  1299. package/lib/sketch/clock.js +98 -0
  1300. package/lib/sketch/define-sketch.d.ts +269 -0
  1301. package/lib/sketch/define-sketch.js +103 -0
  1302. package/lib/sketch/input-off-scenario.d.ts +7 -0
  1303. package/lib/sketch/input-off-scenario.js +24 -0
  1304. package/lib/sketch/input-off.d.ts +16 -0
  1305. package/lib/sketch/input-off.js +38 -0
  1306. package/lib/sketch/input.d.ts +243 -0
  1307. package/lib/sketch/input.js +554 -0
  1308. package/lib/sketch/preset-check.d.ts +42 -0
  1309. package/lib/sketch/preset-check.js +120 -0
  1310. package/lib/sketch/quality.d.ts +392 -0
  1311. package/lib/sketch/quality.js +355 -0
  1312. package/lib/sketch/random.d.ts +13 -0
  1313. package/lib/sketch/random.js +25 -0
  1314. package/lib/sketch/runner.d.ts +574 -0
  1315. package/lib/sketch/runner.js +2159 -0
  1316. package/lib/sketch/ui.d.ts +94 -0
  1317. package/lib/sketch/ui.js +391 -0
  1318. package/lib/stats.d.ts +4 -0
  1319. package/lib/stats.js +8 -0
  1320. package/lib/workers/drawing-host.d.ts +24 -0
  1321. package/lib/workers/drawing-host.js +48 -0
  1322. package/lib/workers/gltf-worker.d.ts +35 -0
  1323. package/lib/workers/gltf-worker.js +210 -0
  1324. package/lib/workers/job-worker.d.ts +1 -0
  1325. package/lib/workers/job-worker.js +102 -0
  1326. package/lib/workers/panorama-worker.d.ts +15 -0
  1327. package/lib/workers/panorama-worker.js +21 -0
  1328. package/lib/workers/probe-worker.d.ts +34 -0
  1329. package/lib/workers/probe-worker.js +58 -0
  1330. package/lib/workers/protocol.d.ts +377 -0
  1331. package/lib/workers/protocol.js +57 -0
  1332. package/lib/workers/render-worker.d.ts +1 -0
  1333. package/lib/workers/render-worker.js +103 -0
  1334. package/lib/workers/sketch-worker.d.ts +1 -0
  1335. package/lib/workers/sketch-worker.js +295 -0
  1336. package/lib/workers/task-worker.d.ts +1 -0
  1337. package/lib/workers/task-worker.js +5 -0
  1338. package/lib/workers/tasks.d.ts +65 -0
  1339. package/lib/workers/tasks.js +85 -0
  1340. package/package.json +106 -5
  1341. package/vendor/basis/LICENSE +201 -0
  1342. package/vendor/basis/LICENSE-zstd +30 -0
  1343. package/vendor/basis/NOTICE +15 -0
  1344. package/vendor/basis/basis_transcoder.d.mts +36 -0
  1345. package/vendor/basis/basis_transcoder.mjs +2 -0
  1346. package/vendor/basis/basis_transcoder.wasm +0 -0
  1347. package/vendor/draco/LICENSE +252 -0
  1348. package/vendor/draco/draco_decoder_gltf.wasm +0 -0
  1349. package/vendor/draco/draco_wasm_wrapper_gltf.d.ts +71 -0
  1350. package/vendor/draco/draco_wasm_wrapper_gltf.js +116 -0
  1351. package/vendor/ltc/LICENSE +31 -0
  1352. package/vendor/ltc/area-light-tables.bin +0 -0
  1353. package/vendor/meshopt/LICENSE.md +21 -0
  1354. package/vendor/meshopt/meshopt_clusterizer.wasm +0 -0
  1355. package/vendor/meshopt/meshopt_decoder.wasm +0 -0
  1356. package/vendor/meshopt/meshopt_encoder.wasm +0 -0
  1357. package/vendor/meshopt/meshopt_simplifier.wasm +0 -0
@@ -0,0 +1,244 @@
1
+ ---
2
+ id: api/reference/post
3
+ title: "Post-processing API: API reference"
4
+ status: generated
5
+ since: "0.1"
6
+ summary: "Every export of the Post-processing API API, from the engine's doc comments."
7
+ ---
8
+
9
+ # Post-processing API: API reference
10
+
11
+ > [Post-processing API](../post.md) explains these exports. The engine's doc comments make this page.
12
+
13
+ ## `AoSettings`
14
+
15
+ Interface `AoSettings`.
16
+
17
+ Ambient occlusion's settings, for ground-truth ambient occlusion (GTAO). A setting that a call leaves out keeps its value.
18
+
19
+ | Member | Description |
20
+ | --- | --- |
21
+ | `radius?: number` | How far from a surface the search for what hides it reaches, in world units: 0 or more, and 0.25 by default. |
22
+ | `thickness?: number` | How far in front of a surface, along the view, an object still hides it, in world units: 0 or more, and 1 by default. Objects farther in front cast no occlusion, so a thin pole does not darken the wall far behind it. |
23
+ | `distanceExponent?: number` | How the search's steps spread over the radius: 1 spreads them evenly, the default, and higher values gather them near the surface. It is above 0. |
24
+ | `distanceFalloff?: number` | From 0 to 1: how much less the farther steps of the search count. It is 1 by default. |
25
+ | `scale?: number` | The power that the occlusion is raised to: 0 or more, and 1 by default. Above 1 it darkens. |
26
+ | `samples?: number` | The depth samples that each pixel's search reads: a whole number from 1 to 64, and 16 by default. Below 30 they spread over 3 directions, and from 30 over 5. |
27
+ | `intensity?: number` | From 0 to 1: how much of the occlusion reaches the ambient light. It is 1 by default. |
28
+
29
+ ## `AutoExposureSettings`
30
+
31
+ Interface `AutoExposureSettings`.
32
+
33
+ Automatic exposure's settings. The engine meters the scene's brightness on the GPU in each frame, and moves the exposure toward it, as an eye or a camera adapts. Brightness counts in stops from the camera's exposure: at 0 the scene shows as the `exposure` and `ev100` settings show it, and each stop is twice as bright. A setting that a call leaves out keeps its value.
34
+
35
+ | Member | Description |
36
+ | --- | --- |
37
+ | `metering?: ExposureMetering` | How the meter averages the scene's brightness. It is `'percentile'` by default. |
38
+ | `percentiles?: readonly [number, number]` | For `'percentile'` metering, the shares of the image, from the darkest, that the mean starts and ends at: two numbers from 0 to 1, the first no larger, and `[0.1, 0.9]` by default. `[0.5, 0.5]` takes the median. |
39
+ | `centerWeight?: number` | How much more the center of the image counts than its edges: 0 counts every part the same, and 1 counts the edges very little. It is 0.5 by default. |
40
+ | `speedUp?: number` | How fast the eye adapts while the scene grows brighter, in stops per second: 0 or more, and 3 by default. Within one stop of the target it slows down, so it settles smoothly. |
41
+ | `speedDown?: number` | How fast the eye adapts while the scene grows darker, in stops per second: 0 or more, and 1 by default. Eyes adapt to the dark more slowly than to the light. |
42
+ | `minEv?: number` | The darkest scene that the eye adapts to, in stops from the camera's exposure: -4 by default. A darker scene shows darker. With `ev100`, the eye adapts down to a scene of about `ev100 + minEv`. |
43
+ | `maxEv?: number` | The brightest scene that the eye adapts to, in stops from the camera's exposure: 4 by default, and no lower than `minEv`. A brighter scene shows brighter. |
44
+ | `compensation?: number` | Stops added to the adapted exposure: 1 shows the picture twice as bright, and -1 half as bright. It is 0 by default. |
45
+
46
+ ## `BloomBlend`
47
+
48
+ ```ts
49
+ type BloomBlend = 'mix' | 'add' | 'screen';
50
+ ```
51
+
52
+ How bloom's glow meets the scene's color. The `'mix'` blend moves each pixel's color toward the glow by the intensity, which keeps the image's total light. The `'add'` blend adds the glow, so the image gains light. The `'screen'` blend screens it, so the glow adds less where the scene is already bright.
53
+
54
+ ## `BloomSettings`
55
+
56
+ Interface `BloomSettings`.
57
+
58
+ Bloom's settings. Bloom blurs the scene's color through a chain of up to 10 levels, each half the size of the one before. It blends their sum into the image. A setting that a call leaves out keeps its value.
59
+
60
+ | Member | Description |
61
+ | --- | --- |
62
+ | `intensity?: number` | How strong the glow is: 0 or more, and 0.15 by default. With the `'mix'` blend it is the glow's share of each pixel, at most 1. With `'add'` and `'screen'` it multiplies the glow. |
63
+ | `threshold?: number` | The luminance from which a pixel glows, in linear color before the exposure: 0 or more, and 0 by default, so all light glows a little. At 1, only colors brighter than white glow, such as strong emissive light. |
64
+ | `knee?: number` | The width of the threshold's soft edge, in luminance: 0 or more, and 0.1 by default. A pixel glows more as its luminance rises from the threshold to the threshold plus this width. |
65
+ | `blend?: BloomBlend` | How the glow meets the scene's color. It is `'mix'` by default. |
66
+ | `weights?: readonly number[]` | Each level's share of the glow, from the narrowest level to the widest: up to 10 numbers of 0 or more, not all 0. The engine divides them by their sum, and a missing level takes 0. Each level spreads light twice as far as the one before: the eighth over about a quarter of the canvas's shorter side, and the tenth over all of it. Levels past the last one with a weight cost nothing. The default gives 8 levels weights, most to the narrow ones, for a soft glow. |
67
+
68
+ ## `DofSettings`
69
+
70
+ Interface `DofSettings`.
71
+
72
+ Depth of field's settings: a camera lens's blur, which keeps sharp only what lies near the focus distance. The lens is a photographer's: a focal length in millimeters on a full-frame sensor, 24 mm tall, and an aperture as an f-number. World units count as meters. A setting that a call leaves out keeps its value.
73
+
74
+ | Member | Description |
75
+ | --- | --- |
76
+ | `focusDistance?: number` | The distance from the camera, along its view, that is sharp, in world units: above 0, and 10 by default. Setting it stops a focus on `focusPoint`. |
77
+ | `focusPoint?: Vec3Like \| false` | A point in the world to focus on in every frame, as a camera's autofocus does: the focus follows the camera and the point. `false`, the default, focuses at `focusDistance`. The engine reads the point when `post.set` runs, so a sketch that follows a moving point passes it again each frame. |
78
+ | `aperture?: number` | The aperture as an f-number, above 0, and 2.8 by default. A lower number opens the lens and blurs more: f/1.4 blurs twice as much as f/2.8. |
79
+ | `focalLength?: number \| 'camera'` | The lens's focal length in millimeters, above 0, or `'camera'`, the default, for the active camera's: its field of view on a full-frame sensor, which `camera.setFocalLength` sets. A longer lens blurs more at the same aperture. |
80
+ | `maxBlur?: number` | The largest blur radius, as a share of the image's height: 0 to 0.1, and 0.02 by default. It caps the blur of things very near the camera, and the gather never reaches further. |
81
+ | `blades?: number` | The shape of out-of-focus highlights, the bokeh: 0, the default, for a round aperture, or a whole number from 3 to 12 for a polygon with that many blades. |
82
+
83
+ ## `Effect`
84
+
85
+ Class `Effect`.
86
+
87
+ A custom effect that `post.addEffect` added. `post.setEffectUniform` changes its uniforms, and `post.removeEffect` removes it. `Values` gives the names and types of its uniforms.
88
+
89
+ | Member | Description |
90
+ | --- | --- |
91
+ | `readonly live: boolean` | True until `post.removeEffect` removes the effect. |
92
+
93
+ ## `EffectOptions`
94
+
95
+ Interface `EffectOptions`.
96
+
97
+ Options of `post.addEffect`: the effect's WGSL, the first values of its uniforms, and its place among the effects. `Wgsl` is the type of the effect's WGSL. It gives the names and types of the uniforms.
98
+
99
+ | Member | Description |
100
+ | --- | --- |
101
+ | `wgsl: Wgsl` | The effect's WGSL, compiled by the null3D Vite plugin. It declares `fn effect(input: EffectInput) -> vec4f`, which the engine calls for each pixel of the scene's image. It can declare `struct Uniforms`, whose fields the effect reads from `uniforms`. Effects made from the same WGSL share their shader. |
102
+ | `uniforms?: NoInfer<[keyof UniformValues<Wgsl>] extends [never] ? { readonly [name: string]: never; } : UniformValues<Wgsl>>` | The first value of each uniform, by name. A uniform without one starts at 0. When TypeScript can see the WGSL's uniforms, a name that the WGSL does not declare fails the type check. |
103
+ | `textures?: NoInfer<TextureValues<Wgsl>>` | The texture of each `var name: texture_2d<f32>;` that the WGSL declares, by name: a texture from files or data, or a render pass's texture from `textures.fromPass`. The WGSL samples it as `textureSampleLevel(name, nameSampler, uv, 0.0)`. A texture samples as white until its image is on the GPU, and a declared texture without one stays white. An effect with textures draws in a pass of its own. The textures are fixed when the effect is added. |
104
+ | `order?: number` | The effect's place among the effects: effects run from the lowest order to the highest, and effects of the same order run in the order they were added. It is 0 by default. |
105
+ | `bloomLevel?: number` | The level of bloom's chain that the effect reads, from 0 for the narrowest glow to 9 for the widest, for WGSL that calls `effectBloom`. The effect reads the level at any pixel of the image, so it draws in a pass of its own. Turn bloom on, with `post.bloom`, to give the chain to the effect. A level that the chain does not draw reads black. |
106
+
107
+ ## `ExposureMetering`
108
+
109
+ ```ts
110
+ type ExposureMetering = 'mean' | 'percentile';
111
+ ```
112
+
113
+ How automatic exposure averages the scene's brightness. `'mean'` takes the weighted mean of every part of the image. `'percentile'` leaves out its darkest and brightest parts, by the `percentiles` setting, so a bright window or a black corner moves the exposure less.
114
+
115
+ ## `GradingSettings`
116
+
117
+ Interface `GradingSettings`.
118
+
119
+ The grading controls that `post.set` takes: white balance, then saturation, then lift, gamma and gain on each channel, then split toning. A job worker bakes them into a table of 32 texels a side, which the final pass reads on every GPU path. A setting that a call leaves out keeps its value; `false` turns the grading off.
120
+
121
+ | Member | Description |
122
+ | --- | --- |
123
+ | `whiteBalance?: WhiteBalanceSettings \| false` | Corrects the light's color temperature, or `false` to leave colors as they are. |
124
+ | `lift?: readonly [number, number, number]` | Adds a value to each channel before the curve: 0 leaves a channel as it is, and positive values lift the blacks. Each channel's value is between -1 and 1. |
125
+ | `gamma?: readonly [number, number, number]` | The gamma of each channel, above 0. A channel is raised to the power of one over its gamma, so values above 1 brighten the shadows and 1 leaves the channel as it is. |
126
+ | `gain?: readonly [number, number, number]` | A factor for each channel, from 0 up: 1 leaves a channel as it is, and higher values brighten the highlights and the whites. |
127
+ | `saturation?: number` | How much color the picture keeps: 0 is gray, 1 leaves it as it is, and higher values add color. |
128
+ | `splitToning?: SplitToningSettings \| false` | Tints the shadows and the highlights with a hue each, or `false` to leave them as they are. |
129
+
130
+ ## `OutlineSettings`
131
+
132
+ Interface `OutlineSettings`.
133
+
134
+ The outline's settings: a sharp line of one width around the objects that `setOutlined(true)` marks. A setting that a call leaves out keeps its value.
135
+
136
+ | Member | Description |
137
+ | --- | --- |
138
+ | `color?: ColorInput` | The color of the line around the parts that nothing hides. The canvas shows this color exactly: the exposure and the tone mapping do not change it. It is white by default. |
139
+ | `hiddenColor?: ColorInput \| false` | The color of the line around the parts that other objects hide, or `false` for no line there. It is `false` by default. |
140
+ | `width?: number` | The line's width in CSS pixels: 0 or more, and 2 by default. Above about 4 pixels of the canvas, parts thinner than the line can leave a gap between themselves and their line. |
141
+
142
+ ## `Post`
143
+
144
+ Class `Post`.
145
+
146
+ The post-processing settings, as `ctx.post`. The engine applies them to every pixel of the scene, the background included, after lighting and before the canvas shows it.
147
+
148
+ | Member | Description |
149
+ | --- | --- |
150
+ | `dropViews(): void` | Forgets the view of the block, which the next write makes again. |
151
+ | `addEffect<const Wgsl extends string \| CompiledWgsl>(options: EffectOptions<Wgsl>): Effect<UniformValues<Wgsl>>` | Adds a custom effect, which runs from the next frame on, and returns it. An effect is a full-screen pass of WGSL that declares `fn effect(input: EffectInput) -> vec4f`. It reads the scene's HDR color after the exposure, before bloom and the tone mapping, and returns the new color. Effects run from the lowest `order` to the highest. The engine joins an effect that reads only its own pixel into the pass of the effect before it, so effects take few passes. At most 8 run at once. An effect needs HDR color, as bloom does; on a device without an HDR target it stays off, and development builds warn once. Throws E1215 for WGSL that the null3D Vite plugin did not compile as an effect, E1216 for a uniform that the WGSL does not declare or a value of the wrong kind, E1203 for an order that is not a number, and E1213 for a ninth effect. |
152
+ | `setEffectUniform<Values, Name extends keyof Values & string>(effect: Effect<Values>, name: Name, value: NonNullable<Values[Name]>): void` | Changes one uniform of an effect, from the next frame on. It allocates nothing, so a sketch can change a uniform every frame. Keep a vector's values in one array that the sketch changes in place. Throws E1216 for a uniform that the effect's WGSL does not declare or a value of the wrong kind, and E1101 for an effect that `removeEffect` removed. |
153
+ | `removeEffect<Values>(effect: Effect<Values>): void` | Removes an effect from the next frame on. Removing an effect twice does nothing. |
154
+ | `addFeatureEffect<const Wgsl extends string \| CompiledWgsl>(description: FeatureDescription, options: FeatureEffectOptions<Wgsl>): Promise<FeatureEffect<UniformValues<Wgsl>>>` | An add-on's full-screen pass, declared by a feature description with the kind `'fullscreen'` at the `'resolve'` point. The description gives the place where the pass runs, what it reads and writes, and whether it draws at all. The options give the WGSL, its first values and its textures, as `addEffect` takes them. The adapter loads on first use. The effect runs while the feature is ready. The adapter asks again when the quality changes, so a feature that the preset or the sketch switches off costs no pass and no target. Its values stay, and apply when it draws again. Throws E1223 for a description that this adapter cannot place, and the errors of `addEffect` for WGSL and values that the chain refuses. E1406 when the adapter does not download. |
155
+ | `set(settings: PostSettings): void` | Changes the settings that `settings` gives, from the next frame on. It allocates nothing, so a sketch can change the exposure, bloom, the outline, the table's intensity or the vignette every frame. It throws E1213 for a setting or a tone mapping it does not know, or a value out of its range, E1203 for a value that is not a number, E1204 for a color it cannot read, and E1101 for a table that was destroyed. |
156
+
157
+ ## `PostSettings`
158
+
159
+ Interface `PostSettings`.
160
+
161
+ Settings for `post.set`. A setting that the call leaves out keeps its value.
162
+
163
+ | Member | Description |
164
+ | --- | --- |
165
+ | `toneMapping?: ToneMapping \| ToneCurve` | How the engine maps high dynamic range color to the screen: a built-in curve's name, or a custom tone curve's WGSL. The default is `'agx-punchy'`, which keeps the hues of bright colors on their way to white and keeps the picture's contrast. A custom curve needs HDR color, as bloom does; on a device without an HDR target the built-in curve stays. |
166
+ | `exposure?: number` | Scales the scene's color before the tone mapping: 2 is one stop brighter, and 0.5 one stop darker. It is 0 or more, and 1 by default. With `ev100`, it scales the camera's exposure, as exposure compensation does. |
167
+ | `ev100?: number \| false` | The camera's exposure value at ISO 100, for lights in real units: 15 suits a sunny day lit by a sun of 100,000 lux, 12 an overcast day, and 7 a lit room. It scales the scene's color by 1 / (1.2 × 2^ev100), as Filament and Bevy do, so each step up is one stop darker. It is a number from -20 to 30. The default, `false`, turns it off, for scenes whose lights have small intensities, such as a sun of 3. |
168
+ | `bloom?: BloomSettings \| false` | Light that spreads from the bright parts of the scene through a chain of blurred levels. Settings turn bloom on, `{}` with the values it had, and `false` turns it off. It is off by default. Its glow keeps its size as a share of the canvas at any pixel ratio and render scale. |
169
+ | `ao?: AoSettings \| false` | Ambient occlusion: darkens the ambient light where nearby surfaces hide a surface from the sky, found with ground-truth ambient occlusion (GTAO). It darkens only the light that comes from all around, so direct light keeps its strength. Settings turn it on, `{}` with the values it had, and `false` turns it off. It is off by default, and draws only where the quality setting `aoScale` is above 0. |
170
+ | `lut?: Lut \| false` | A color grading table from `assets.loadLut` or `assets.lutFromData`, which maps each pixel's color after the tone mapping. `false` turns it off. It is off by default. |
171
+ | `lutIntensity?: number` | The share of the table's color in each pixel, from 0 for none to 1 for all of it. It is 1 by default. |
172
+ | `grading?: GradingSettings \| false` | The grading controls: white balance, lift, gamma, gain, saturation and split toning, which a job worker bakes into a table of 32 texels a side. The final pass grades each pixel's display color with the table after the tone mapping, so changing a value costs no frame work. The picture shows the new grade once the worker has baked the table. Settings turn it on, `{}` with the values it had, and `false` turns it off. It is off by default. |
173
+ | `vignette?: VignetteSettings \| false` | Darkens the picture toward its edges. Settings turn the vignette on, `{}` with the values it had, and `false` turns it off. It is off by default. |
174
+ | `outline?: OutlineSettings \| false` | A sharp line around the objects that `setOutlined(true)` marks. Settings turn outlines on, `{}` with the values they had, and `false` turns them off. They are off by default. |
175
+ | `dof?: DofSettings \| false` | Depth of field: blurs what lies in front of and behind the focus distance, as a camera lens does. The near and far fields blur apart. It runs after the custom effects and before bloom. Settings turn it on, `{}` with the values it had, and `false` turns it off. It is off by default, and draws only where the quality setting `dofSamples` is above 0. |
176
+ | `ssr?: SsrSettings \| false` | Screen-space reflections: shiny opaque surfaces reflect what the screen shows along their mirror direction, blurred by their roughness, in place of the environment's reflection. They fade into the environment's light where the screen holds no hit, as near its edges, so wet streets, polished floors and metal reflect the scene around them. Settings turn them on, `{}` with the values they had, and `false` turns them off. They are off by default, and draw only where the quality setting `ssrScale` is above 0. A planar reflection pass's reflection wins on its plane. |
177
+ | `autoExposure?: AutoExposureSettings \| false` | Automatic exposure: the picture adapts to the scene's brightness over time, as an eye does, so a dark hall brightens after a sunny street. The engine meters each frame on the GPU, and the final pass multiplies the color by the adapted exposure before the tone mapping. The scene draws at the camera's `exposure` and `ev100`, and the eye adapts from there. Settings turn it on, `{}` with the values it had, and `false` turns it off. It is off by default. It needs HDR color, as bloom does. |
178
+ | `sharpen?: number \| false` | Sharpens edges and fine detail: a share from 0 for none to 1 for the most, or `false` to turn it off. It is off by default, and 0.5 is a good start. The engine sharpens the display color after the tone mapping, so bright edges cannot gain rings the way sharpened light does. It draws at the whole canvas's render scale; below one, the upscale sharpens the image itself. See the post-processing concepts page. |
179
+
180
+ ## `SplitToningSettings`
181
+
182
+ Interface `SplitToningSettings`.
183
+
184
+ The colors that tint the shadows and the highlights, and where the split between them falls.
185
+
186
+ | Member | Description |
187
+ | --- | --- |
188
+ | `shadows?: ColorInput` | The hue that tints the dark parts of the picture, as a color. Its brightness does not matter, only the hue that it adds: a gray tint changes nothing. |
189
+ | `highlights?: ColorInput` | The hue that tints the bright parts of the picture, as a color. |
190
+ | `balance?: number` | Where the split between shadows and highlights falls, from -1 to 1: 0 the middle of the picture's brightness, higher values tint more of it with the shadows' hue, and lower values more with the highlights'. |
191
+ | `strength?: number` | How much of the tints reaches the picture, from 0 for none to 1 for the most. |
192
+
193
+ ## `SsrSettings`
194
+
195
+ Interface `SsrSettings`.
196
+
197
+ Screen-space reflections' settings. A setting that a call leaves out keeps its value.
198
+
199
+ | Member | Description |
200
+ | --- | --- |
201
+ | `intensity?: number` | From 0 to 1: how much of the environment's reflection the screen's reflection replaces where a ray hits, and 1 by default. The material's Fresnel term, metalness and specular values still weigh the reflection. |
202
+ | `maxDistance?: number` | How far a reflected ray travels, in world units: above 0, and 100 by default. Reflections fade out over the last fifth of it. |
203
+ | `thickness?: number` | How far behind a surface on the screen a ray may pass and still hit it, in world units. It is 0 or more, and 0.5 by default. Thin objects need a small value, or objects behind them reflect as if they were solid. |
204
+ | `maxRoughness?: number` | The roughest surface that shows screen-space reflections, from 0 to 1, and 0.5 by default. Rougher surfaces keep the environment's reflection. Reflections fade out from 70% of it, and blur more on rougher surfaces. |
205
+
206
+ ## `ToneCurve`
207
+
208
+ ```ts
209
+ type ToneCurve = CompiledWgsl | `${string}toneCurve${string}`;
210
+ ```
211
+
212
+ A custom tone curve: WGSL that declares `fn toneCurve(color: vec3f) -> vec3f`, compiled by the null3D Vite plugin. The final pass calls it in place of the built-in curves, with the exposed linear color of each pixel. It clamps what the curve returns to 0 to 1. TypeScript sees a tagged template literal as its text, which names the function.
213
+
214
+ ## `ToneMapping`
215
+
216
+ ```ts
217
+ type ToneMapping = 'agx' | 'agx-punchy' | 'neutral' | 'aces' | 'none';
218
+ ```
219
+
220
+ How the engine maps the scene's high dynamic range color to the screen. The `'agx'` curve is AgX, the curve of Blender and Filament. The `'agx-punchy'` curve is AgX with Filament's punchy look, which adds contrast and color. The `'neutral'` curve is Khronos PBR Neutral, which keeps base colors as they are until they near white. The `'aces'` curve is a fit of the ACES filmic curve, which first scales the color by 1 / 0.6 and shifts the hues of bright colors. The value `'none'` clips the exposed color at 1.
221
+
222
+ ## `VignetteSettings`
223
+
224
+ Interface `VignetteSettings`.
225
+
226
+ The vignette's settings. The vignette multiplies each pixel's light by a factor that falls from 1 at the canvas's center toward its edges. It works before the tone mapping, so bright corners darken as dark ones do. A setting that a call leaves out keeps its value.
227
+
228
+ | Member | Description |
229
+ | --- | --- |
230
+ | `intensity?: number` | How dark the edges turn: 0 or more, and 1 by default. At 0 nothing changes, and at 1 the edges turn black where the darkening is full. Above 1 they turn black sooner. |
231
+ | `size?: number` | How much of the picture the darkening covers: 0 or more, and 1 by default. It scales the distance from the center. From about 1.41 the corners take the full intensity, and higher values darken more of the picture. |
232
+ | `falloff?: number` | How fast the light falls from the center: the power of the falloff curve, above 0, and 2 by default. Higher values darken more of the picture, and lower values keep the darkening near the edges. |
233
+ | `roundness?: number` | The vignette's shape, from 0 to 1, and 0 by default. At 0 it follows the canvas's shape, an ellipse on a wide canvas. At 1 it is a circle. |
234
+
235
+ ## `WhiteBalanceSettings`
236
+
237
+ Interface `WhiteBalanceSettings`.
238
+
239
+ The color temperature that whites take, and the green to magenta shift around it.
240
+
241
+ | Member | Description |
242
+ | --- | --- |
243
+ | `temperature?: number` | The color temperature of the light that whites are corrected for, in kelvin: 6500 is neutral. A lower value, such as 3200 for a tungsten lamp, makes the picture cooler, and a higher one, such as 8000 in the shade, makes it warmer. The value is between 1667 and 25000. |
244
+ | `tint?: number` | The green to magenta shift, from -1 for green to 1 for magenta. It is 0 by default, and each step of 1 halves or doubles the green channel. |
@@ -0,0 +1,213 @@
1
+ ---
2
+ id: api/reference/quality
3
+ title: "Quality API: API reference"
4
+ status: generated
5
+ since: "0.1"
6
+ summary: "Every export of the Quality API API, from the engine's doc comments."
7
+ ---
8
+
9
+ # Quality API: API reference
10
+
11
+ > [Quality API](../quality.md) explains these exports. The engine's doc comments make this page.
12
+
13
+ ## `DeviceHints`
14
+
15
+ Interface `DeviceHints`.
16
+
17
+ The facts about the device that the engine chooses a quality preset from. The page reads them when the engine starts, and `engine.report` holds them.
18
+
19
+ | Member | Description |
20
+ | --- | --- |
21
+ | `coarsePointer: boolean` | True when the main pointer is coarse, as on a touch screen: `(pointer: coarse)`. |
22
+ | `screenMinEdge: number` | The screen's smaller edge in CSS pixels, which stays the same when the device turns or the window changes size. |
23
+ | `deviceMemoryGB: number \| null` | The device's memory in GB, as `navigator.deviceMemory` rounds it, or null in browsers that do not report it, such as Safari and Firefox. |
24
+
25
+ ## `deviceKind`
26
+
27
+ ```ts
28
+ function deviceKind(hints: DeviceHints): DeviceKind
29
+ ```
30
+
31
+ The kind of device that the hints describe.
32
+
33
+ ## `DeviceKind`
34
+
35
+ ```ts
36
+ type DeviceKind = 'phone' | 'tablet' | 'desktop';
37
+ ```
38
+
39
+ A kind of device, as the main pointer and the screen's smaller edge tell them apart.
40
+
41
+ ## `PresetCheck`
42
+
43
+ Interface `PresetCheck`.
44
+
45
+ What the preset check measured when the engine started, as `engine.mode.presetCheck` reports it.
46
+
47
+ | Member | Description |
48
+ | --- | --- |
49
+ | `from: QualityPreset` | The preset that the engine chose from the device before the check. |
50
+ | `targetFps: number` | The frame rate that each preset had to hold: the display's refresh rate, at most 60 or at most the page's `targetFps` option. |
51
+ | `rounds: PresetCheckRound[]` | Each preset that the check measured, from `from` down. The last is the preset that the engine runs. |
52
+ | `reused: boolean` | True when the engine took this result from an earlier start of the sketch in this browser on this device, and did not measure again. The engine stores each check's result for a week. A check that went on from the rounds of an earlier start, whose check never ended, is false, and lists those rounds first. |
53
+
54
+ ## `PresetCheckRound`
55
+
56
+ Interface `PresetCheckRound`.
57
+
58
+ What the preset check measured at one preset.
59
+
60
+ | Member | Description |
61
+ | --- | --- |
62
+ | `preset: QualityPreset` | The preset that the check measured. |
63
+ | `presentedFps: number` | Frames per second that the thread that draws presented. |
64
+ | `completedFps: number` | Frames per second that the GPU finished. |
65
+
66
+ ## `Quality`
67
+
68
+ Interface `Quality`.
69
+
70
+ The quality preset and settings, as a sketch reads and changes them through `ctx.quality`.
71
+
72
+ | Member | Description |
73
+ | --- | --- |
74
+ | `readonly preset: QualityPreset` | The preset that the engine runs. |
75
+ | `readonly highest: QualityPreset` | The heaviest preset that the GPU path allows. `setPreset` caps a heavier request at this one, so a page can tell which presets this device cannot run. |
76
+ | `readonly settings: Readonly<QualitySettings>` | The settings in use: the preset's values, with the values of the page's options and the changes that `set` made. |
77
+ | `readonly renderScale: number` | The render scale that the engine draws the scene at: the part of the canvas's width and height, from `minRenderScale` to `maxRenderScale`. The engine lowers it when frames take too long and raises it again when they have time to spare. A change of the range applies to the frame being drawn. |
78
+ | `readonly governor: QualityGovernor` | What the frame-budget governor has lowered below `settings`. When frames take too long, the governor lowers the render scale, then the levels of detail, the shadow settings, the effects' settings and the far characters' updates, one step at a time, in the order that the quality presets page lists. The `onChange` handlers run after each of those steps, but not after a step of the render scale. Hold mode has no governor, so it draws with the settings as set. |
79
+ | `readonly textureMemory: TextureMemory` | The GPU memory that textures take, against `settings.textureMemoryMiB`, and the mip levels that the engine dropped to stay under it. The `onChange` handlers run after the engine drops levels or asks for them again. |
80
+ | `set(settings: Partial<QualitySettings>): Promise<void>` | Changes settings from the next frame on, and resolves at once. It takes the settings that change during play, each with a value that the setting takes, and throws E1213 for any other setting or value, or for a `minRenderScale` above `maxRenderScale`. A setting that it does not get keeps its value. |
81
+ | `setPreset(preset: QualityPreset): Promise<void>` | Switches to another preset at a point that the sketch picks, such as a menu or a loading screen. Every setting that changes during play takes the new preset's value, including the settings that `set` changed, apart from those that the page's options give. The settings fixed when the engine starts, such as `antialias`, keep their values. The GPU path caps the preset, as it caps the page's choice. The promise resolves once the engine has drawn a frame at the new preset with all of its pipelines built. Until then the last frame stays on screen, and the sketch's frames wait. A name that is no preset throws E1213. |
82
+ | `setBudget(options: QualityBudgetOptions): QualityBudget` | Registers a budget for a system of the sketch's own, such as its AI or its particles, and returns it. The frame-budget governor gives every budget one scale from 0 to 1, each no lower than its `min`. When frames take too long, the governor lowers the scale by 0.25 before each step of the render scale, so the system scales down before the render scale reaches its floor. It raises the scale again in the reverse order. A budget with the name of another replaces it. Options that the call does not take throw E1213. |
83
+ | `onChange(handler: (quality: Quality) => void): () => void` | Calls `handler` at the start of the first frame after the settings change. Returns a function that removes the handler. |
84
+
85
+ ## `QualityBudget`
86
+
87
+ Interface `QualityBudget`.
88
+
89
+ A budget that `quality.setBudget` registered: the scale that the frame-budget governor gives the system now.
90
+
91
+ | Member | Description |
92
+ | --- | --- |
93
+ | `readonly name: string` | The system's name. |
94
+ | `readonly scale: number` | The scale from `min` to 1 that the system runs at now: 1 at full quality. The governor lowers it in steps of 0.25 when frames take too long, and raises it again when they have time to spare. |
95
+ | `readonly ms: number` | The time in ms that the system may take in each frame now: the budget's `ms` times `scale`. |
96
+ | `remove(): void` | Removes the budget: the governor stops lowering the system, and `onScale` is not called again. The scale keeps its last value. |
97
+
98
+ ## `QualityBudgetOptions`
99
+
100
+ Interface `QualityBudgetOptions`.
101
+
102
+ A system of the sketch's own that the frame-budget governor scales, as `quality.setBudget` gets it.
103
+
104
+ | Member | Description |
105
+ | --- | --- |
106
+ | `name: string` | The system's name, such as `'ai'` or `'particles'`. A second budget with the same name replaces the first. |
107
+ | `ms: number` | The time in ms that the system may take in each frame at full quality: a number above 0. The engine does not measure the system. It scales this time into the budget's `ms`. |
108
+ | `min?: number` | The lowest scale that the governor gives the system, from 0 to 1. The default is 0. |
109
+ | `onScale?: (scale: number) => void` | Called with the budget's scale when the budget is set, and again at the start of each frame after the governor moves it. |
110
+
111
+ ## `QualityGovernor`
112
+
113
+ Interface `QualityGovernor`.
114
+
115
+ What the frame-budget governor has lowered, in `quality.governor`. It lowers a sketch's budgets and the render scale in turn, a budget's step first, which `quality.renderScale` reports, then the settings here, and last the volumetric fog's slices, which have no member here.
116
+
117
+ | Member | Description |
118
+ | --- | --- |
119
+ | `readonly steps: number` | The steps past the render scale that the governor has taken: 0 while every setting applies as set. The steps of the levels of detail and of the volumetric fog count too. Each step lowers the frame's cost after the render scale has reached `minRenderScale`, so a sketch can lighten its own work too, such as its particles. |
120
+ | `readonly farCascadeInterval: number` | How often each far shadow cascade draws now: `settings.farCascadeInterval`, or up to twice as long for each of the governor's steps, at most every 8th frame. While `settings.followMovingCasters` is false, the governor takes no such step. |
121
+ | `readonly shadowFilter: 3 \| 5` | The shadow filter that shadows draw with now: `settings.shadowFilter`, or 3 after the last step. |
122
+ | `readonly bloomSize: number` | The texels on the short side of bloom's largest level now: `settings.bloomSize`, or half as many after the governor's step that follows the shadow steps, while bloom is on. The glow keeps its size. |
123
+ | `readonly aoScale: number` | The size of ambient occlusion's targets now: `settings.aoScale`, or half as large after the governor's step that follows bloom's while ambient occlusion draws, and then 0 when the frames still run long, which draws none. |
124
+ | `readonly ssrScale: number` | The size of screen-space reflections' grid now: `settings.ssrScale`, or a quarter of the render size after the governor's step that follows ambient occlusion's while reflections draw. |
125
+ | `readonly contactShadowSteps: number` | The steps of each search for the sun's contact shadows now: `settings.contactShadowSteps`, or the fewest after the governor's last step. |
126
+ | `readonly farAnimationInterval: number` | The frames between two updates of a far character's pose now. It is `settings.farAnimationInterval`, or up to twice as long for each of the governor's last steps, at most every 4th frame. Give it to `animator.setUpdateInterval` for the characters that the camera sees from far. |
127
+ | `readonly lowest: boolean` | True while the lowest quality tier applies: the render scale's floor has fallen to a third, the sun's cast shadows and bloom are off, reflections draw at a quarter of the render size, and WebGL2 draws no depth prepass. The governor enters the tier when the scale has held at the preset's floor through its sustained window and the frames still miss. It leaves the tier when the frames keep room through the window that raises a step. |
128
+
129
+ ## `QualityPreset`
130
+
131
+ ```ts
132
+ type QualityPreset = 'low' | 'medium' | 'high' | 'ultra';
133
+ ```
134
+
135
+ A quality preset: `low`, `medium`, `high` or `ultra`, from the lightest to the heaviest. Each preset gives every quality setting a value, and the engine starts with the values of the preset it runs.
136
+
137
+ ## `QualitySettings`
138
+
139
+ Interface `QualitySettings`.
140
+
141
+ The quality settings that a sketch reads and changes through `ctx.quality`. Each starts at the value of the preset that the engine runs, or at the value of the page's `createEngine` option for the setting.
142
+
143
+ | Member | Description |
144
+ | --- | --- |
145
+ | `maxPixelRatio: number` | The highest device pixel ratio that the engine draws at. The canvas's drawing buffer is its CSS size times the lower of this and the screen's pixel ratio. `Infinity` draws at the screen's full ratio. It takes a number from 0.5 up, and changes during play: the canvas takes its new size within a frame or two. |
146
+ | `minRenderScale: number` | The lowest render scale: the smallest part of the canvas's width and height that the scene draws at when frames take too long. The engine draws the scene at a render scale between this and `maxRenderScale`, and scales the image up to the canvas. It takes a number from 0.25 to 1, at most `maxRenderScale`, and changes during play. 1 keeps the whole canvas. |
147
+ | `maxRenderScale: number` | The highest render scale, where the engine starts. It takes a number from 0.25 to 1, and changes during play. With `minRenderScale` at the same value, the scene always draws at that scale. |
148
+ | `maxAnisotropy: number` | The highest anisotropy that textures sample with. A texture whose own `anisotropy` option is higher samples at this value. It takes a whole number from 1 to 16, and changes during play. |
149
+ | `textureMemoryMiB: number` | The GPU memory in MiB that textures may take: 256, 512, 1,024 or 2,048 from Low to Ultra, and at most 1,008 on phones and tablets unless the page's `textureMemoryMiB` option gives a value. When the textures take more, the engine drops the largest mip levels of the textures that it can load again from their files, and loads those levels again once room returns. It takes a whole number from 64 to 16,384, and changes during play. |
150
+ | `uploadBytesPerFrame: number` | The texel bytes that one frame may upload, so that loading many textures does not make one frame slow. A larger texture goes up in bands of rows over several frames. It takes a whole number from 65,536 (64 KiB) to 67,108,864 (64 MiB), and changes during play. |
151
+ | `shadowFilter: 3 \| 5` | The texels on each side of the square of shadow map texels that blend into each point's shadow: 3 or 5. A larger square gives softer shadow edges and costs more per pixel that receives shadows. It changes during play. |
152
+ | `farCascadeInterval: number` | How often each far shadow cascade draws: once in this many frames, a whole number from 1 to 8. The nearest cascade draws in every frame, and the far ones take turns. A far cascade that a dynamic object touches draws in every frame, so moving shadows follow their casters. A higher value costs less where far cascades hold still casters alone. It changes during play. |
153
+ | `followMovingCasters: boolean` | True when a far shadow cascade draws in every frame while a dynamic object that casts shadows touches it, so moving shadows stay under their casters. False keeps each far cascade to its turns of `farCascadeInterval` frames: a moving shadow in a far cascade then trails its caster by up to that many frames less one, and the frames draw fewer shadow passes. The governor then leaves `farCascadeInterval` as set, so the trail never grows. Every preset turns it on. It changes during play. |
154
+ | `farAnimationInterval: number` | How often a far character's pose updates: once in this many frames, from 1 to 4. Give it to `animator.setUpdateInterval` for the characters that the camera sees from far. Give 1 to the ones near it, so a crowd samples and skins less without a near character stepping. The governor raises it when frames take too long, after its shadow and effect steps and before its step of the volumetric fog. It changes during play. |
155
+ | `shadowCascadeBlend: number` | The share of each shadow cascade's length, at its far end, over which its shadow blends into the next cascade's, from 0 to 0.5. The blend hides the line where a near cascade's sharper shadows hand over to a far cascade's softer ones. Pixels in the band read both cascades, so a wider band costs a little more. 0 hands over at once. It changes during play. |
156
+ | `castShadows: boolean` | True while the scene draws the sun's cast shadows, which a sketch gives its directional lights' `castShadows` option. Every preset starts it on. The lowest quality tier turns it off when the frames still miss with the render scale at the preset's floor. It changes during play. |
157
+ | `bloomSize: 64 \| 128 \| 256 \| 512` | The texels on the short side of the largest level of bloom's chain: 64, 128, 256 or 512. A smaller value costs less and keeps the glow's size, with a softer core. The base never takes more than half the canvas's short side. It changes during play, which makes bloom's targets again. |
158
+ | `bloom: boolean` | True while the sketch draws bloom's glow, which it turns on through `post.set`. Every preset starts it on. The lowest quality tier turns it off when the frames still miss with the render scale at the preset's floor. It changes during play. |
159
+ | `aoScale: 0 \| 0.25 \| 0.5` | The size of ambient occlusion's targets, as a share of the render size each way: 0.5, 0.25, or 0, which draws no ambient occlusion even when `post.set` turns it on. A smaller share costs less, with softer occlusion. It changes during play: 0.5 and 0.25 make no GPU object, and a change to or from 0 adds or removes ambient occlusion's passes. |
160
+ | `contactShadowSteps: 0 \| 4 \| 8 \| 16` | The steps of each search for the sun's contact shadows: 4, 8 or 16, or 0, which draws none. More steps find thinner contacts and cost more. Contact shadows need a directional light that casts shadows, with a `contactDistance` above 0. They read the depth of a prepass, which they turn on where the preset leaves it off. It changes during play. |
161
+ | `dofSamples: 0 \| 16 \| 22 \| 43 \| 71` | The taps of depth of field's gather: 16, 22, 43 or 71, or 0, which draws no depth of field even when `post.set` turns it on. More taps fill a wide blur more smoothly and cost more. It changes during play. |
162
+ | `subsurfaceSamples: 0 \| 11 \| 17 \| 25` | /** The taps of each step of the subsurface blur, which spreads the light under the surface of materials with a `subsurfaceRadius`, such as skin: 11, 17 or 25, or 0, which draws no blur. More taps spread a wide blur more smoothly and cost more. High takes 17 and Ultra 25; Low and Medium take 0. The blur needs HDR color: a value above 0 that the page or the sketch gives moves compatibility mode from its 8-bit path to HDR color, as bloom does. It changes during play. |
163
+ | `ssrScale: 0 \| 0.25 \| 0.5` | The size of screen-space reflections' grid, as a share of the render size each way: 0.5, 0.25, or 0, which draws no screen-space reflections even when `post.set` turns them on. A smaller share costs less, with blockier edges where reflections start and stop. It changes during play: 0.5 and 0.25 make no GPU object, and a change to or from 0 adds or removes the reflections' passes. |
164
+ | `ssrSteps: 16 \| 24 \| 32 \| 48 \| 64` | The most steps of each reflected ray's march: 16, 24, 32, 48 or 64. More steps let rays reach farther objects and cost more. It changes during play. |
165
+ | `bounceRays: 0 \| 4 \| 8 \| 16` | The rays that each texel of screen-space bounce light casts: 0, 4, 8 or 16. 0 draws no bounce light, which leaves the environment's indirect light alone. Each ray marches through the depth that the frame saw and takes the light that the frame before showed where it lands, so more rays make the light smoother and cost more. It changes during play. |
166
+ | `exposureMeter: 'downsample' \| 'histogram'` | How automatic exposure meters the scene's brightness while `post.set` turns it on: `histogram` bins a grid of samples in compute shaders, on WebGPU, and `downsample` averages 16 x 16 cells of the image, on every GPU path. WebGL2 always takes the downsample. The downsample costs less, with a coarser meter. It changes during play. |
167
+ | `fogSlices: 0 \| 32 \| 64 \| 96` | The slices of the volumetric fog's grid along the view: 32, 64 or 96, with 64, 96 or 128 cells across its short side, or 0, which draws no volumetric fog even when `scene.setFog` turns it on. The fog then keeps its sun glow. More slices give finer light shafts and cost more. It changes during play. |
168
+ | `reflectionScale: 0.25 \| 0.5 \| 1` | The size of a reflection pass's texture, as a share of the render size each way: 1, 0.5 or 0.25, for each reflection whose `scale` option names none. A reflection draws the scene again, so a smaller share costs less, with a softer reflection. It changes during play, which makes the reflections' textures again. |
169
+ | `probeSize: 128 \| 256 \| 512` | The texels across the largest level of each reflection probe's map: 128, 256 or 512. A larger map gives sharper reflections on polished surfaces, and takes four times the memory for each step. It changes during play, which makes the maps again and captures every probe again. |
170
+ | `areaLights: number` | The most rectangle and tube lights that one frame shades, a whole number from 0 to 64. When more are in view, the ones that give the camera the most light shade: the brightest and largest, for their distance. A light that joins or leaves them fades over a few frames. An area light costs each surface it reaches several times what a point light costs. It changes during play. |
171
+ | `lightFit: boolean` | Whether the light clustering fits its depth slices to the depth that the frame before measured, on WebGPU. A fitted slice lists fewer lights per shaded fragment, and every fragment reads the grid's header to find its slice. False keeps the CPU's slicing and its lookup in the frame uniform. It changes during play. |
172
+ | `lodThreshold: number` | The error in pixels under which a mesh's coarser level of detail draws (see `mesh.setLevels`). Each object and instance row draws the coarsest level whose error covers fewer pixels than this on the screen, at the render scale. A larger number draws coarser levels nearer the camera, which costs less. 0 draws every mesh's base level. It takes a number from 0 to 16, and changes during play. |
173
+ | `lodShadowThreshold: number` | The error in texels of a shadow map under which a shadow caster's coarser level of detail draws in that map. Each cascade and each spot or point light's tile picks the level in its own texels, whatever the camera's distance, so a shadow map that keeps its depth between draws stays right as the camera moves. A caster whose bounds cover fewer texels than this draws nothing in the map. A larger number draws coarser casters, which costs less. 0 draws every caster's base level. It takes a number from 0 to 16, and changes during play. |
174
+ | `lodFade: boolean` | Whether a mesh's distance band, from `setDrawRange`, fades at each edge over a short band where a dither pattern drops a growing share of the pixels, so the mesh does not pop. False cuts each edge at once. A level of detail's own hand-over follows the level: a hand-set level fades whatever this setting, and a measured one switches at once until the governor raises the threshold above about one and a half pixels, where it fades. It changes during play. |
175
+ | `physicalSky: boolean` | Whether `{ atmosphere }` backgrounds draw the physical sky from its tables. False draws the analytic `{ sky }` background in its place, with the same sun, moon, air and clouds, matched to the physical sky's brightness, and keeps the haze on distant objects. It changes during play. |
176
+ | `cloudSteps: number` | The steps of each ray of the sky's volumetric cloud tier. Above 0 the sky draws volumetric clouds in place of the flat layer, from the same cloud settings, with this many steps along each ray; 0 draws the flat layer, as the lighter presets do. It changes during play. The noise field and the tier's shaders load at its first use. The sky's environment map marches at most 16 steps, and draws them only from a start above 0, because it picks its tier's shaders then. |
177
+ | `governor: boolean` | Whether the frame-budget governor runs. When frames take too long, it lowers the settings one step at a time: a sketch's budget and the render scale in turn, a budget's step first, so a sketch's system scales down before the render scale reaches `minRenderScale`; once the scale is at its floor, the budgets' remaining steps come first. Then it raises `lodThreshold` up to four times while a mesh has levels of detail. Then it lowers how often far shadow cascades draw, the shadow filter, bloom's size while bloom is on, ambient occlusion's scale while it draws, the scale of screen-space reflections while they draw, the steps of contact shadows, how often far characters' poses update, and the volumetric fog's slices while it draws. It raises them again, in the reverse order, once frames have time to spare. `quality.governor` reports its steps. False keeps the render scale at `maxRenderScale` and the other settings as set, as benchmarks and captures need. It changes during play. |
178
+ | `governorLevels: boolean` | Whether the governor may raise `lodThreshold` as one of its steps, trading model detail for frames. True does, up to four doublings while a mesh has levels of detail. False leaves every model's level where its distance puts it, while the governor's other steps still run, so a model stays whole near the camera on a slow device. It changes during play. |
179
+ | `antialias: 'none' \| 'fxaa' \| 'msaa'` | How the engine smooths the edges of what it draws: `msaa` draws 4 samples per pixel, `fxaa` smooths edges in the final pass, and `none` leaves them sharp. The mode is fixed when the engine starts: the page's `antialias` option of `createEngine` sets it, and `set` does not take it. |
180
+ | `momentTransparency: boolean` | True to blend the camera's blended surfaces in the moment transparency layer, which needs no sort and is nearer an exact back-to-front blend than `blending: 'weighted'` is, and which draws those surfaces twice. The mode is fixed when the engine starts: the page's `momentTransparency` option of `createEngine` sets it, and `set` does not take it. |
181
+ | `shadowCascades: number` | The cascades of a directional light's shadows, a whole number from 1 to 4, for each light whose `shadow` options name none. More cascades keep shadows sharp further from the camera, and each draws the shadow casters once more. The `shadowCascades` option of `createEngine` sets it, and `set` does not take it. |
182
+ | `shadowMapSize: number` | Texels on each side of each cascade's shadow map, for each directional light whose `shadow` options name no `mapSize`: 512, 1,024, 2,048 or 4,096. A larger map gives sharper shadow edges and takes more memory, 2 bytes per texel in each cascade. The `shadowMapSize` option of `createEngine` sets it, and `set` does not take it. |
183
+ | `shadowTiles: number` | The most tiles of the shadow atlas, which spot and point lights cast their shadows into: a spot light takes one tile. When more lights cast shadows than the tiles hold, the lights that look largest from the camera get them. It takes a whole number from 0, which turns the shadows of spot and point lights off, to 24. The `shadowTiles` option of `createEngine` sets it, and `set` does not take it. |
184
+ | `shadowTileSize: number` | Texels on each side of each tile of the shadow atlas: 256, 512, 1,024 or 2,048. Larger tiles give sharper shadows and take more memory, 4 bytes per texel. The `shadowTileSize` option of `createEngine` sets it, and `set` does not take it. |
185
+ | `heroTileSize: number` | Texels on each side of the tile that holds a directional light's hero shadow, for each light whose `shadow` options name no `heroTileSize`: 1,024, 2,048 or 4,096. The tile is a layer of the shadow atlas, so every layer takes its size and a larger one takes more memory, 4 bytes per texel. The `heroTileSize` option of `createEngine` sets it, and `set` does not take it. |
186
+ | `pointLightShadows: boolean` | True when point lights cast shadows. Each point light that casts them takes six tiles of the shadow atlas, one for each face of a cube around it, within `shadowTiles`. The `pointLightShadows` option of `createEngine` sets it, and `set` does not take it. |
187
+ | `depthPrepass: boolean` | True when the engine draws the depth of the opaque objects before it shades them, so it shades each pixel once, for its nearest surface. Every preset turns it on for WebGL2 and off for WebGPU. The page's `depthPrepass` option of `createEngine` gives its first value. It changes during play, and ambient occlusion, contact shadows, the bounce light and screen-space reflections still draw the prepass while they run, as they read its depth. |
188
+ | `gpuOcclusion: boolean` | True when GPU occlusion culling runs on WebGPU: each camera view draws the depth of the opaque objects that showed in the last frame and look large on the screen, and skips every object that lies wholly behind them. `setOccluder(false)` keeps an object out of them. A check during play turns the extra passes off while they hide too little or make the GPU's frame longer, and on again when they pay. High and Ultra turn it on for desktops, and phones and tablets keep it off unless the page asks for it. The page's `gpuOcclusion` option of `createEngine` sets it, and `set` does not take it. It is always false on WebGL2, and when the depth prepass is on. |
189
+ | `morphTargets: number` | The most morph target weights of each object that a WebGL2 device draws, a whole number from 1 to 256. Each object keeps the weights farthest from 0, and draws the others as 0. WebGPU draws every weight. The `morphTargets` option of `createEngine` sets it, and `set` does not take it. |
190
+ | `softwareOcclusion: boolean` | True when software occlusion culling runs on WebGL2: each frame, the job workers draw the objects that `setOccluder(true)` marks into a small depth buffer, and the engine skips every object that lies wholly behind them. It costs the job workers time for each blocker, and saves drawing what they hide. Every preset leaves it off, and the `softwareOcclusion` option of `createEngine` turns it on. It changes during play. WebGPU ignores it. |
191
+ | `parallax: boolean` | True when materials with `parallax` draw it. Off, they draw with their displacement map alone, which saves a dozen texture reads or more at each of their pixels. It changes during play. |
192
+ | `softParticles: boolean` | True when particle systems with `softness` fade where they near the surfaces behind them. The camera then copies its opaque depth once per frame, while such a system draws. False draws them with hard edges where they cut into the scene. It changes during play. |
193
+
194
+ ## `TargetFps`
195
+
196
+ ```ts
197
+ type TargetFps = 'display' | number;
198
+ ```
199
+
200
+ The frame rate that the engine defends, as `createEngine`'s `targetFps` option and the `?target-fps=` switch name it: `display` for the display's full refresh rate, or a whole number of frames per second that caps the target. Without it, the target is at most 60.
201
+
202
+ ## `TextureMemory`
203
+
204
+ Interface `TextureMemory`.
205
+
206
+ The GPU memory that textures take, against the quality setting `textureMemoryMiB`, and the mip levels that the engine dropped to stay under it, as `quality.textureMemory` reports them.
207
+
208
+ | Member | Description |
209
+ | --- | --- |
210
+ | `readonly bytes: number` | The GPU bytes that every texture takes now, with the free layers of their texture arrays. |
211
+ | `readonly budgetBytes: number` | The GPU bytes that textures may take: `textureMemoryMiB` in bytes. |
212
+ | `readonly droppedLevels: number` | The largest mip levels that the engine dropped, over every texture. |
213
+ | `readonly droppedTextures: number` | The textures that hold fewer mip levels than their own. |
@@ -0,0 +1,94 @@
1
+ ---
2
+ id: api/reference/raycast
3
+ title: "Raycasting and spatial queries: API reference"
4
+ status: generated
5
+ since: "0.2"
6
+ summary: "Every export of the Raycasting and spatial queries API, from the engine's doc comments."
7
+ ---
8
+
9
+ # Raycasting and spatial queries: API reference
10
+
11
+ > [Raycasting and spatial queries](../raycast.md) explains these exports. The engine's doc comments make this page.
12
+
13
+ ## `OverlapHit`
14
+
15
+ Interface `OverlapHit`.
16
+
17
+ An object that a query found: a scene object, or a row of an instance batch.
18
+
19
+ | Member | Description |
20
+ | --- | --- |
21
+ | `object: QueryTarget \| null` | The object or the batch of a row, or null after a raycast that hit nothing. |
22
+ | `instance: number` | The row of a batch: an instance row, a sprite, a point or a line's segment. -1 for an object. |
23
+
24
+ ## `PickHit`
25
+
26
+ Interface `PickHit`.
27
+
28
+ What a pick found: an object or the batch of a row, the row of an instance batch, and where on the surface the pixel landed.
29
+
30
+ | Member | Description |
31
+ | --- | --- |
32
+ | `object: QueryTarget` | The object or the batch of a row. |
33
+ | `instance: number` | The row of a batch, or -1 for an object of the scene. |
34
+ | `uv?: Vec2Like` | Where on the surface the pixel landed, as the first texture coordinates of the hit triangle blended across its three corners. Read `hasUv` first: the numbers mean nothing when it is false. |
35
+ | `hasUv?: boolean` | True when the picked surface has a first texture coordinate set, so `uv` holds where on the surface the pixel landed. False for a mesh that has no such coordinates, and when the ray that finds them met another source than the pick's. |
36
+
37
+ ## `QueryOptions`
38
+
39
+ Interface `QueryOptions`.
40
+
41
+ The options of every query.
42
+
43
+ | Member | Description |
44
+ | --- | --- |
45
+ | `layers?: number` | The layers to test, as a 32-bit mask like `Object3D.setLayers` takes. A query tests an object when their masks share a layer. The default is layer 0 alone, as for a camera. |
46
+
47
+ ## `QueryTarget`
48
+
49
+ ```ts
50
+ type QueryTarget = Object3D | InstanceBatch | SpriteBatch | PointBatch | LineBatch;
51
+ ```
52
+
53
+ What a query can find: an object, or the batch of a row. That batch is an instance, sprite, point or line batch.
54
+
55
+ ## `RaycastBatchHits`
56
+
57
+ Interface `RaycastBatchHits`.
58
+
59
+ The arrays that `scene.raycastBatch` fills: one entry per ray, or three numbers per ray for points and normals. Only `distances` is required; the call fills each other array you give.
60
+
61
+ | Member | Description |
62
+ | --- | --- |
63
+ | `distances: Float32Array \| Float64Array` | The distance to each ray's closest hit in meters, or -1 when the ray hits nothing. |
64
+ | `objects?: (QueryTarget \| null)[]` | The object or the batch of a row that each ray hit, or null. |
65
+ | `instances?: Int32Array` | The row of a batch that each ray hit, or -1. |
66
+ | `points?: Float32Array \| Float64Array` | Each hit's point in world space, three numbers per ray. |
67
+ | `normals?: Float32Array \| Float64Array` | Each hit triangle's unit normal in world space, facing the ray, three numbers per ray. |
68
+
69
+ ## `RaycastHit`
70
+
71
+ Interface `RaycastHit`, which extends `OverlapHit`.
72
+
73
+ A raycast's hit. Create one with `point` and `normal` arrays, and pass it to each raycast.
74
+
75
+ | Member | Description |
76
+ | --- | --- |
77
+ | `point: Vec3Like` | Where the ray hit, in world space. |
78
+ | `normal: Vec3Like` | The unit normal of the hit triangle in world space, on the side that faces the ray. A hit on a sprite or a point faces the camera; on a line, or within a threshold, it points back along the ray. |
79
+ | `distance: number` | The distance from the ray's origin to the hit, in meters. |
80
+ | `triangle: number` | The index of the hit triangle in its mesh, or -1 for a sprite, a point or a line. |
81
+ | `uv?: Vec2Like` | Where on the surface the ray hit, as the first texture coordinates of the hit triangle blended across its three corners. Give the hit object an array of two numbers, as it has arrays for `point` and `normal`, and every raycast fills it. Read `hasUv` first: the numbers mean nothing when it is false. |
82
+ | `hasUv?: boolean` | True when the raycast found a triangle with a first texture coordinate set, so `uv` holds where on the surface the ray hit. False for a hit on a sprite, a point or a line, and for a mesh that has no such coordinates. Every raycast writes it. |
83
+
84
+ ## `RaycastOptions`
85
+
86
+ Interface `RaycastOptions`, which extends `QueryOptions`.
87
+
88
+ The options of a raycast.
89
+
90
+ | Member | Description |
91
+ | --- | --- |
92
+ | `maxDistance?: number` | The farthest hit, in meters from the ray's origin. The default is no limit. |
93
+ | `pointThreshold?: number` | When set, a ray hits a point that it passes within this many meters of, whatever the point's size. By default a ray hits the square that a point draws. |
94
+ | `lineThreshold?: number` | When set, a ray hits a line that it passes within this many meters of, whatever the line's width. By default a ray hits a line within half its width. |