@forgeax/engine-render 0.1.28 → 0.1.30

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 (768) hide show
  1. package/README.md +856 -126
  2. package/dist/assembly/atmosphere-shader-prewarm.d.ts +6 -0
  3. package/dist/assembly/atmosphere-shader-prewarm.d.ts.map +1 -0
  4. package/dist/assembly/device-feature-admission.d.ts +4 -3
  5. package/dist/assembly/device-feature-admission.d.ts.map +1 -1
  6. package/dist/assembly/dynamic-geometry-host.d.ts +27 -0
  7. package/dist/assembly/dynamic-geometry-host.d.ts.map +1 -1
  8. package/dist/assembly/dynamic-geometry-runtime.d.ts +20 -0
  9. package/dist/assembly/dynamic-geometry-runtime.d.ts.map +1 -0
  10. package/dist/assembly/factory.d.ts +3 -1
  11. package/dist/assembly/factory.d.ts.map +1 -1
  12. package/dist/assembly/gpu-driven-owner.d.ts +10 -0
  13. package/dist/assembly/gpu-driven-owner.d.ts.map +1 -0
  14. package/dist/assembly/host-contract.d.ts +14 -0
  15. package/dist/assembly/host-contract.d.ts.map +1 -1
  16. package/dist/assembly/material/assembly.d.ts +31 -1
  17. package/dist/assembly/material/assembly.d.ts.map +1 -1
  18. package/dist/assembly/material/pipeline-helpers.d.ts +24 -0
  19. package/dist/assembly/material/pipeline-helpers.d.ts.map +1 -0
  20. package/dist/assembly/material-shader-policy.d.ts +3 -1
  21. package/dist/assembly/material-shader-policy.d.ts.map +1 -1
  22. package/dist/assembly/recovery/device-loss-fanout.d.ts.map +1 -1
  23. package/dist/assembly/recovery/failure-location.d.ts +12 -0
  24. package/dist/assembly/recovery/failure-location.d.ts.map +1 -0
  25. package/dist/assembly/recovery/recovery-attempt.d.ts +1 -6
  26. package/dist/assembly/recovery/recovery-attempt.d.ts.map +1 -1
  27. package/dist/assembly/recovery/renderer-recover.d.ts +7 -4
  28. package/dist/assembly/recovery/renderer-recover.d.ts.map +1 -1
  29. package/dist/assembly/renderer-facade.d.ts.map +1 -1
  30. package/dist/assembly/renderer-feature-inspection.d.ts +5 -0
  31. package/dist/assembly/renderer-feature-inspection.d.ts.map +1 -0
  32. package/dist/assembly/renderer-frame-transaction.d.ts +19 -0
  33. package/dist/assembly/renderer-frame-transaction.d.ts.map +1 -1
  34. package/dist/assembly/renderer-helpers.d.ts +3 -0
  35. package/dist/assembly/renderer-helpers.d.ts.map +1 -1
  36. package/dist/assembly/renderer-inspection.d.ts +4 -0
  37. package/dist/assembly/renderer-inspection.d.ts.map +1 -1
  38. package/dist/assembly/shader-prewarm-policy.d.ts +7 -1
  39. package/dist/assembly/shader-prewarm-policy.d.ts.map +1 -1
  40. package/dist/assembly/skin-palette-owner.d.ts +8 -0
  41. package/dist/assembly/skin-palette-owner.d.ts.map +1 -0
  42. package/dist/assembly/ssr-shader-prewarm.d.ts +6 -0
  43. package/dist/assembly/ssr-shader-prewarm.d.ts.map +1 -0
  44. package/dist/assembly/webgpu-device-loss.d.ts +15 -0
  45. package/dist/assembly/webgpu-device-loss.d.ts.map +1 -0
  46. package/dist/assembly/webgpu-pbr-ready.d.ts +38 -0
  47. package/dist/assembly/webgpu-pbr-ready.d.ts.map +1 -0
  48. package/dist/assembly/webgpu-ready-mipmap.d.ts +11 -0
  49. package/dist/assembly/webgpu-ready-mipmap.d.ts.map +1 -0
  50. package/dist/assembly/webgpu-ready.d.ts +7 -3
  51. package/dist/assembly/webgpu-ready.d.ts.map +1 -1
  52. package/dist/assembly/webgpu-renderer-bootstrap.d.ts +10 -0
  53. package/dist/assembly/webgpu-renderer-bootstrap.d.ts.map +1 -0
  54. package/dist/assembly/webgpu-renderer-contract.d.ts +62 -0
  55. package/dist/assembly/webgpu-renderer-contract.d.ts.map +1 -0
  56. package/dist/assembly/webgpu-renderer-guards.d.ts +9 -0
  57. package/dist/assembly/webgpu-renderer-guards.d.ts.map +1 -0
  58. package/dist/assembly/webgpu-renderer-observation.d.ts +6 -0
  59. package/dist/assembly/webgpu-renderer-observation.d.ts.map +1 -0
  60. package/dist/assembly/webgpu-renderer-recovery-failure.d.ts +12 -0
  61. package/dist/assembly/webgpu-renderer-recovery-failure.d.ts.map +1 -0
  62. package/dist/assembly/webgpu-renderer.d.ts +7 -141
  63. package/dist/assembly/webgpu-renderer.d.ts.map +1 -1
  64. package/dist/assembly/webgpu-vertex-layouts.d.ts +28 -84
  65. package/dist/assembly/webgpu-vertex-layouts.d.ts.map +1 -1
  66. package/dist/authoring.mjs +2 -2
  67. package/dist/capture/scene-projection.d.ts +41 -0
  68. package/dist/capture/scene-projection.d.ts.map +1 -0
  69. package/dist/{chunk-J52NMQKR.mjs → chunk-7MQ3XBSP.mjs} +1098 -844
  70. package/dist/chunk-7MQ3XBSP.mjs.map +1 -0
  71. package/dist/{chunk-GF523LHF.mjs → chunk-BLXGONR2.mjs} +30 -12
  72. package/dist/chunk-BLXGONR2.mjs.map +1 -0
  73. package/dist/{chunk-VSL23LZE.mjs → chunk-C3DDSXYK.mjs} +1188 -463
  74. package/dist/chunk-C3DDSXYK.mjs.map +1 -0
  75. package/dist/{chunk-IQMKJLNU.mjs → chunk-FUUO4UND.mjs} +443 -30
  76. package/dist/chunk-FUUO4UND.mjs.map +1 -0
  77. package/dist/{chunk-J6KACNOH.mjs → chunk-JRBDO2KB.mjs} +617 -7
  78. package/dist/chunk-JRBDO2KB.mjs.map +1 -0
  79. package/dist/{chunk-GE3SDD72.mjs → chunk-MDQJPY3T.mjs} +20 -40
  80. package/dist/chunk-MDQJPY3T.mjs.map +1 -0
  81. package/dist/{chunk-MYJ5RPJO.mjs → chunk-NO4WZCAH.mjs} +3 -3
  82. package/dist/chunk-NO4WZCAH.mjs.map +1 -0
  83. package/dist/{chunk-RBDBZ5R7.mjs → chunk-PA5DRJNI.mjs} +2 -2
  84. package/dist/chunk-PA5DRJNI.mjs.map +1 -0
  85. package/dist/{chunk-MBU4ZVE7.mjs → chunk-PSEQ6QPH.mjs} +4655 -892
  86. package/dist/chunk-PSEQ6QPH.mjs.map +1 -0
  87. package/dist/{chunk-JAASCMXA.mjs → chunk-S5UE2T5P.mjs} +289 -41
  88. package/dist/chunk-S5UE2T5P.mjs.map +1 -0
  89. package/dist/components/camera.d.ts +62 -2
  90. package/dist/components/camera.d.ts.map +1 -1
  91. package/dist/components/directional-light.d.ts +2 -2
  92. package/dist/components/dynamic-resolution.d.ts +15 -0
  93. package/dist/components/dynamic-resolution.d.ts.map +1 -0
  94. package/dist/components/index.d.ts +2 -0
  95. package/dist/components/index.d.ts.map +1 -1
  96. package/dist/components/instances.d.ts +6 -20
  97. package/dist/components/instances.d.ts.map +1 -1
  98. package/dist/components/light-helpers.d.ts.map +1 -1
  99. package/dist/components/reflection-probe.d.ts +1 -0
  100. package/dist/components/reflection-probe.d.ts.map +1 -1
  101. package/dist/components/scene-instance.d.ts +2 -1
  102. package/dist/components/scene-instance.d.ts.map +1 -1
  103. package/dist/components/screen-space-reflection.d.ts +14 -0
  104. package/dist/components/screen-space-reflection.d.ts.map +1 -0
  105. package/dist/components/skylight.d.ts +4 -1
  106. package/dist/components/skylight.d.ts.map +1 -1
  107. package/dist/construct-renderer.mjs +14809 -7570
  108. package/dist/construct-renderer.mjs.map +1 -1
  109. package/dist/device/device-scope.d.ts +2 -0
  110. package/dist/device/device-scope.d.ts.map +1 -1
  111. package/dist/device/gpu-residency.d.ts +3 -14
  112. package/dist/device/gpu-residency.d.ts.map +1 -1
  113. package/dist/dynamic-geometry.d.ts.map +1 -1
  114. package/dist/environment/background.d.ts +7 -0
  115. package/dist/environment/background.d.ts.map +1 -0
  116. package/dist/environment/ibl.d.ts +11 -0
  117. package/dist/environment/ibl.d.ts.map +1 -0
  118. package/dist/environment/storage.d.ts +14 -0
  119. package/dist/environment/storage.d.ts.map +1 -0
  120. package/dist/errors/gpu-driven.d.ts +6 -3
  121. package/dist/errors/gpu-driven.d.ts.map +1 -1
  122. package/dist/errors/render.d.ts +41 -4
  123. package/dist/errors/render.d.ts.map +1 -1
  124. package/dist/extract/camera.d.ts.map +1 -1
  125. package/dist/extract/contracts.d.ts +7 -0
  126. package/dist/extract/contracts.d.ts.map +1 -1
  127. package/dist/extract/gpu-driven.d.ts +50 -3
  128. package/dist/extract/gpu-driven.d.ts.map +1 -1
  129. package/dist/features/host.d.ts +23 -1
  130. package/dist/features/host.d.ts.map +1 -1
  131. package/dist/features/noise-texture.d.ts +17 -0
  132. package/dist/features/noise-texture.d.ts.map +1 -0
  133. package/dist/features/plan.d.ts +83 -2
  134. package/dist/features/plan.d.ts.map +1 -1
  135. package/dist/features/prepared-gpu-work.d.ts +37 -4
  136. package/dist/features/prepared-gpu-work.d.ts.map +1 -1
  137. package/dist/features/prepared-graphics-store.d.ts.map +1 -1
  138. package/dist/features/prepared-graphics.d.ts +5 -0
  139. package/dist/features/prepared-graphics.d.ts.map +1 -1
  140. package/dist/features/render-graph-compute.d.ts +5 -3
  141. package/dist/features/render-graph-compute.d.ts.map +1 -1
  142. package/dist/features/render-graph-contribution.d.ts +11 -3
  143. package/dist/features/render-graph-contribution.d.ts.map +1 -1
  144. package/dist/features/render-graph-raster.d.ts +19 -3
  145. package/dist/features/render-graph-raster.d.ts.map +1 -1
  146. package/dist/features/types.d.ts +11 -0
  147. package/dist/features/types.d.ts.map +1 -1
  148. package/dist/fullscreen-post-process-pass.d.ts +2 -0
  149. package/dist/fullscreen-post-process-pass.d.ts.map +1 -1
  150. package/dist/gpu-driven/batch-topology.d.ts +34 -1
  151. package/dist/gpu-driven/batch-topology.d.ts.map +1 -1
  152. package/dist/gpu-driven/material-artifacts.d.ts +24 -0
  153. package/dist/gpu-driven/material-artifacts.d.ts.map +1 -0
  154. package/dist/gpu-driven/material-bindings.d.ts +7 -0
  155. package/dist/gpu-driven/material-bindings.d.ts.map +1 -0
  156. package/dist/gpu-driven/pbr-program.d.ts +10 -0
  157. package/dist/gpu-driven/pbr-program.d.ts.map +1 -0
  158. package/dist/gpu-driven/prepared-draw.d.ts +2 -0
  159. package/dist/gpu-driven/prepared-draw.d.ts.map +1 -1
  160. package/dist/gpu-driven/production-raster.d.ts +169 -27
  161. package/dist/gpu-driven/production-raster.d.ts.map +1 -1
  162. package/dist/gpu-driven/shadow-views.d.ts +126 -0
  163. package/dist/gpu-driven/shadow-views.d.ts.map +1 -0
  164. package/dist/gpu-driven/view-gpu.d.ts +18 -2
  165. package/dist/gpu-driven/view-gpu.d.ts.map +1 -1
  166. package/dist/gpu-resource.d.ts +5 -2
  167. package/dist/gpu-resource.d.ts.map +1 -1
  168. package/dist/gpu-scene-schema.d.ts +2 -8
  169. package/dist/gpu-scene-schema.d.ts.map +1 -1
  170. package/dist/gpu-scene.d.ts +14 -0
  171. package/dist/gpu-scene.d.ts.map +1 -1
  172. package/dist/gpu-texture-usage.d.ts +1 -0
  173. package/dist/gpu-texture-usage.d.ts.map +1 -1
  174. package/dist/hdrp-buffers.d.ts +9 -0
  175. package/dist/hdrp-buffers.d.ts.map +1 -1
  176. package/dist/ibl/IblPipelineCache.d.ts +2 -0
  177. package/dist/ibl/IblPipelineCache.d.ts.map +1 -1
  178. package/dist/ibl/frame-resources.d.ts +8 -0
  179. package/dist/ibl/frame-resources.d.ts.map +1 -0
  180. package/dist/ibl/skylight-bind-group.d.ts +3 -1
  181. package/dist/ibl/skylight-bind-group.d.ts.map +1 -1
  182. package/dist/index.d.ts +87 -75
  183. package/dist/index.d.ts.map +1 -1
  184. package/dist/index.mjs +10 -8
  185. package/dist/index.mjs.map +1 -1
  186. package/dist/inspection-types.d.ts +180 -1
  187. package/dist/inspection-types.d.ts.map +1 -1
  188. package/dist/instances-derived-bounds.d.ts +11 -0
  189. package/dist/instances-derived-bounds.d.ts.map +1 -1
  190. package/dist/instances.d.ts +89 -44
  191. package/dist/instances.d.ts.map +1 -1
  192. package/dist/internal.d.ts +3 -0
  193. package/dist/internal.d.ts.map +1 -1
  194. package/dist/internal.mjs +117 -9
  195. package/dist/internal.mjs.map +1 -1
  196. package/dist/lifecycle.d.ts +2 -1
  197. package/dist/lifecycle.d.ts.map +1 -1
  198. package/dist/material-row.d.ts +15 -0
  199. package/dist/material-row.d.ts.map +1 -0
  200. package/dist/materials.d.ts +15 -0
  201. package/dist/materials.d.ts.map +1 -1
  202. package/dist/pbr-pipeline.d.ts +23 -5
  203. package/dist/pbr-pipeline.d.ts.map +1 -1
  204. package/dist/pipeline/render-extent.d.ts +51 -0
  205. package/dist/pipeline/render-extent.d.ts.map +1 -0
  206. package/dist/pipeline/standard-build-context.d.ts +7 -0
  207. package/dist/pipeline/standard-build-context.d.ts.map +1 -0
  208. package/dist/pipeline/standard-forward-lane.d.ts +3 -2
  209. package/dist/pipeline/standard-forward-lane.d.ts.map +1 -1
  210. package/dist/pipeline/standard-output/auto-exposure/capability.d.ts +12 -0
  211. package/dist/pipeline/standard-output/auto-exposure/capability.d.ts.map +1 -0
  212. package/dist/pipeline/standard-output/auto-exposure/gpu.d.ts +70 -0
  213. package/dist/pipeline/standard-output/auto-exposure/gpu.d.ts.map +1 -0
  214. package/dist/pipeline/standard-output/auto-exposure/graph.d.ts +75 -0
  215. package/dist/pipeline/standard-output/auto-exposure/graph.d.ts.map +1 -0
  216. package/dist/pipeline/standard-output/auto-exposure/inspection.d.ts +111 -0
  217. package/dist/pipeline/standard-output/auto-exposure/inspection.d.ts.map +1 -0
  218. package/dist/pipeline/standard-output/auto-exposure/oracle.d.ts +16 -0
  219. package/dist/pipeline/standard-output/auto-exposure/oracle.d.ts.map +1 -0
  220. package/dist/pipeline/standard-output/auto-exposure/preset.d.ts +14 -0
  221. package/dist/pipeline/standard-output/auto-exposure/preset.d.ts.map +1 -0
  222. package/dist/pipeline/standard-output/auto-exposure/state.d.ts +46 -0
  223. package/dist/pipeline/standard-output/auto-exposure/state.d.ts.map +1 -0
  224. package/dist/pipeline/standard-output/color-transform.d.ts +27 -0
  225. package/dist/pipeline/standard-output/color-transform.d.ts.map +1 -0
  226. package/dist/pipeline/standard-output/graph.d.ts +15 -0
  227. package/dist/pipeline/standard-output/graph.d.ts.map +1 -0
  228. package/dist/pipeline/standard-output/lut-admission.d.ts +29 -0
  229. package/dist/pipeline/standard-output/lut-admission.d.ts.map +1 -0
  230. package/dist/pipeline/standard-output/lut-gpu.d.ts +48 -0
  231. package/dist/pipeline/standard-output/lut-gpu.d.ts.map +1 -0
  232. package/dist/pipeline/standard-output/lut-state.d.ts +68 -0
  233. package/dist/pipeline/standard-output/lut-state.d.ts.map +1 -0
  234. package/dist/pipeline/standard-output/resources.d.ts +10 -0
  235. package/dist/pipeline/standard-output/resources.d.ts.map +1 -0
  236. package/dist/pipeline/standard-output/types.d.ts +39 -0
  237. package/dist/pipeline/standard-output/types.d.ts.map +1 -0
  238. package/dist/pipeline/standard-pipeline.d.ts.map +1 -1
  239. package/dist/pipeline/standard-post.d.ts +2 -2
  240. package/dist/pipeline/standard-post.d.ts.map +1 -1
  241. package/dist/pipeline/standard-profile.d.ts +2 -1
  242. package/dist/pipeline/standard-profile.d.ts.map +1 -1
  243. package/dist/pipeline-builder.d.ts +5 -2
  244. package/dist/pipeline-builder.d.ts.map +1 -1
  245. package/dist/pipeline-spec-types.d.ts +4 -0
  246. package/dist/pipeline-spec-types.d.ts.map +1 -1
  247. package/dist/pipeline-spec.d.ts +1 -9
  248. package/dist/pipeline-spec.d.ts.map +1 -1
  249. package/dist/plugin.d.ts.map +1 -1
  250. package/dist/points-lines/standard-owner.d.ts +1 -1
  251. package/dist/points-lines/standard-owner.d.ts.map +1 -1
  252. package/dist/post-process-errors.d.ts +9 -2
  253. package/dist/post-process-errors.d.ts.map +1 -1
  254. package/dist/prepare/extended-lighting/resources.d.ts +3 -3
  255. package/dist/prepare/prepared-graphics-resolver.d.ts +6 -1
  256. package/dist/prepare/prepared-graphics-resolver.d.ts.map +1 -1
  257. package/dist/record/dynamic-geometry-consumption.d.ts +15 -0
  258. package/dist/record/dynamic-geometry-consumption.d.ts.map +1 -0
  259. package/dist/record/frame-lighting.d.ts +3 -3
  260. package/dist/record/frame-lighting.d.ts.map +1 -1
  261. package/dist/record/frame-snapshot.d.ts +109 -13
  262. package/dist/record/frame-snapshot.d.ts.map +1 -1
  263. package/dist/record/frame-targets.d.ts.map +1 -1
  264. package/dist/record/frame.d.ts +41 -5
  265. package/dist/record/frame.d.ts.map +1 -1
  266. package/dist/record/main-pass-geometry.d.ts +13 -9
  267. package/dist/record/main-pass-geometry.d.ts.map +1 -1
  268. package/dist/record/main-pass-material.d.ts +43 -3
  269. package/dist/record/main-pass-material.d.ts.map +1 -1
  270. package/dist/record/main-pass-sprite-draws.d.ts +2 -10
  271. package/dist/record/main-pass-sprite-draws.d.ts.map +1 -1
  272. package/dist/record/main-pass.d.ts +14 -2
  273. package/dist/record/main-pass.d.ts.map +1 -1
  274. package/dist/record/mesh-ssbo.d.ts +15 -6
  275. package/dist/record/mesh-ssbo.d.ts.map +1 -1
  276. package/dist/record/prepared-material-bindings.d.ts +19 -0
  277. package/dist/record/prepared-material-bindings.d.ts.map +1 -0
  278. package/dist/record/recovery-pipeline.d.ts +1 -0
  279. package/dist/record/recovery-pipeline.d.ts.map +1 -1
  280. package/dist/record/render-context.d.ts +101 -22
  281. package/dist/record/render-context.d.ts.map +1 -1
  282. package/dist/record/shadow-pass.d.ts +62 -7
  283. package/dist/record/shadow-pass.d.ts.map +1 -1
  284. package/dist/record/skybox-post-pass.d.ts +1 -1
  285. package/dist/record/skybox-post-pass.d.ts.map +1 -1
  286. package/dist/record/typed-frame-graph.d.ts +39 -8
  287. package/dist/record/typed-frame-graph.d.ts.map +1 -1
  288. package/dist/record/view-ubo.d.ts +1 -0
  289. package/dist/record/view-ubo.d.ts.map +1 -1
  290. package/dist/recovery/render-system-candidate.d.ts +10 -2
  291. package/dist/recovery/render-system-candidate.d.ts.map +1 -1
  292. package/dist/recovery/render-system-roots.d.ts +11 -0
  293. package/dist/recovery/render-system-roots.d.ts.map +1 -0
  294. package/dist/recovery/types.d.ts +76 -0
  295. package/dist/recovery/types.d.ts.map +1 -0
  296. package/dist/reflection/background.d.ts +14 -0
  297. package/dist/reflection/background.d.ts.map +1 -0
  298. package/dist/reflection/filter.d.ts.map +1 -1
  299. package/dist/reflection/projection.d.ts +1 -0
  300. package/dist/reflection/projection.d.ts.map +1 -1
  301. package/dist/reflection/record-owner.d.ts +4 -4
  302. package/dist/reflection/record-owner.d.ts.map +1 -1
  303. package/dist/render-contract.d.ts +211 -53
  304. package/dist/render-contract.d.ts.map +1 -1
  305. package/dist/render-graph-primitives.d.ts +1 -0
  306. package/dist/render-graph-primitives.d.ts.map +1 -1
  307. package/dist/render-pipeline.d.ts +81 -6
  308. package/dist/render-pipeline.d.ts.map +1 -1
  309. package/dist/render-system-extract-tail.d.ts +15 -6
  310. package/dist/render-system-extract-tail.d.ts.map +1 -1
  311. package/dist/render-system-extract.d.ts +128 -41
  312. package/dist/render-system-extract.d.ts.map +1 -1
  313. package/dist/render-system-projections.d.ts +22 -0
  314. package/dist/render-system-projections.d.ts.map +1 -0
  315. package/dist/render-system.d.ts +27 -77
  316. package/dist/render-system.d.ts.map +1 -1
  317. package/dist/scene/render-scene-types.d.ts +14 -7
  318. package/dist/scene/render-scene-types.d.ts.map +1 -1
  319. package/dist/scene/render-scene.d.ts +31 -11
  320. package/dist/scene/render-scene.d.ts.map +1 -1
  321. package/dist/scene/shadow-visibility.d.ts +5 -0
  322. package/dist/scene/shadow-visibility.d.ts.map +1 -0
  323. package/dist/ssao-config.d.ts +8 -6
  324. package/dist/ssao-config.d.ts.map +1 -1
  325. package/dist/ssr/admission.d.ts +70 -1
  326. package/dist/ssr/admission.d.ts.map +1 -1
  327. package/dist/ssr/compose.d.ts +13 -0
  328. package/dist/ssr/compose.d.ts.map +1 -0
  329. package/dist/ssr/errors.d.ts +35 -0
  330. package/dist/ssr/errors.d.ts.map +1 -1
  331. package/dist/ssr/graph.d.ts +60 -0
  332. package/dist/ssr/graph.d.ts.map +1 -0
  333. package/dist/ssr/history.d.ts +97 -0
  334. package/dist/ssr/history.d.ts.map +1 -0
  335. package/dist/ssr/hiz.d.ts +37 -0
  336. package/dist/ssr/hiz.d.ts.map +1 -0
  337. package/dist/ssr/inspection.d.ts +42 -0
  338. package/dist/ssr/inspection.d.ts.map +1 -0
  339. package/dist/ssr/resources.d.ts +58 -0
  340. package/dist/ssr/resources.d.ts.map +1 -0
  341. package/dist/ssr/temporal.d.ts +38 -0
  342. package/dist/ssr/temporal.d.ts.map +1 -0
  343. package/dist/systems/skin-palette-allocator.d.ts +32 -10
  344. package/dist/systems/skin-palette-allocator.d.ts.map +1 -1
  345. package/dist/systems/skin-palette-types.d.ts +15 -0
  346. package/dist/systems/skin-palette-types.d.ts.map +1 -1
  347. package/dist/systems/transparent-dispatch.d.ts +9 -0
  348. package/dist/systems/transparent-dispatch.d.ts.map +1 -0
  349. package/dist/targets/material-source.d.ts +7 -0
  350. package/dist/targets/material-source.d.ts.map +1 -1
  351. package/dist/temporal/frame-coordinator.d.ts +7 -0
  352. package/dist/temporal/frame-coordinator.d.ts.map +1 -1
  353. package/dist/temporal/gpu.d.ts +8 -0
  354. package/dist/temporal/gpu.d.ts.map +1 -1
  355. package/dist/temporal/history.d.ts.map +1 -1
  356. package/dist/temporal/index.mjs +6 -6
  357. package/dist/temporal/inspection.d.ts.map +1 -1
  358. package/dist/temporal/standard-scene-data.d.ts +4 -2
  359. package/dist/temporal/standard-scene-data.d.ts.map +1 -1
  360. package/dist/temporal/target-coverage-attachment.d.ts +15 -0
  361. package/dist/temporal/target-coverage-attachment.d.ts.map +1 -0
  362. package/dist/temporal/temporal-view.d.ts +6 -0
  363. package/dist/temporal/temporal-view.d.ts.map +1 -1
  364. package/dist/temporal/view.d.ts +6 -0
  365. package/dist/temporal/view.d.ts.map +1 -1
  366. package/dist/typed-render-graph-primitives.d.ts +41 -1
  367. package/dist/typed-render-graph-primitives.d.ts.map +1 -1
  368. package/dist/typed-shadow-passes.d.ts +3 -1
  369. package/dist/typed-shadow-passes.d.ts.map +1 -1
  370. package/dist/volume/component.d.ts +1 -0
  371. package/dist/volume/component.d.ts.map +1 -1
  372. package/dist/volume/temporal.d.ts +6 -0
  373. package/dist/volume/temporal.d.ts.map +1 -1
  374. package/package.json +21 -20
  375. package/src/__tests__/auto-exposure-gpu-evidence.ts +291 -0
  376. package/src/__tests__/auto-exposure-inspection.unit.test.ts +80 -0
  377. package/src/__tests__/auto-exposure-transaction.integration.test.ts +99 -0
  378. package/src/__tests__/auto-exposure.browser.test.ts +33 -0
  379. package/src/__tests__/auto-exposure.dawn.test.ts +33 -0
  380. package/src/__tests__/capture-scene-projection.unit.test.ts +24 -0
  381. package/src/__tests__/detached-inspection.integration.test.ts +5 -0
  382. package/src/__tests__/device-feature-admission.unit.test.ts +15 -24
  383. package/src/__tests__/device-loss-fanout.unit.test.ts +43 -0
  384. package/src/__tests__/device-scope-lifecycle.unit.test.ts +18 -0
  385. package/src/__tests__/device-scope-stale-matrix.unit.test.ts +18 -0
  386. package/src/__tests__/docs-gate-green.unit.test.ts +3 -3
  387. package/src/__tests__/dynamic-geometry-batch.unit.test.ts +157 -0
  388. package/src/__tests__/dynamic-geometry.unit.test.ts +36 -0
  389. package/src/__tests__/dynamic-resolution-plugin.integration.test.ts +81 -0
  390. package/src/__tests__/factory-contract.integration.test.ts +231 -9
  391. package/src/__tests__/fallback-row-stride-surface.unit.test.ts +19 -0
  392. package/src/__tests__/feature-depth-input.dawn.test.ts +121 -0
  393. package/src/__tests__/feature-noise.unit.test.ts +38 -0
  394. package/src/__tests__/fixtures/taa-resolve-pinned-baseline.wgsl +301 -0
  395. package/src/__tests__/frame-camera-selection.unit.test.ts +131 -0
  396. package/src/__tests__/frame-observation.contract.test.ts +21 -0
  397. package/src/__tests__/frame-plan-contract.unit.test.ts +24 -0
  398. package/src/__tests__/frame-targets.unit.test.ts +24 -0
  399. package/src/__tests__/fullscreen-feature-plan.unit.test.ts +3 -0
  400. package/src/__tests__/gpu-driven-baseline.characterization.test.ts +79 -0
  401. package/src/__tests__/gpu-driven-batch-topology-pbr.unit.test.ts +307 -7
  402. package/src/__tests__/gpu-driven-indirect-raster-evidence.ts +122 -142
  403. package/src/__tests__/gpu-driven-indirect-raster.browser.test.ts +10 -1
  404. package/src/__tests__/gpu-driven-lod-cache.unit.test.ts +261 -0
  405. package/src/__tests__/gpu-driven-mesh-world-identity.unit.test.ts +346 -0
  406. package/src/__tests__/gpu-driven-pbr.dawn.test.ts +1422 -0
  407. package/src/__tests__/gpu-driven-pbr.integration.test.ts +21 -0
  408. package/src/__tests__/gpu-driven-production-fixture.ts +96 -0
  409. package/src/__tests__/gpu-driven-production.integration.test.ts +1076 -106
  410. package/src/__tests__/gpu-driven-scaling.unit.test.ts +1 -3
  411. package/src/__tests__/gpu-driven-shadow-views.browser.test.ts +63 -0
  412. package/src/__tests__/gpu-driven-shadow-views.dawn.test.ts +294 -0
  413. package/src/__tests__/gpu-driven-shadow-views.integration.test.ts +97 -0
  414. package/src/__tests__/gpu-driven-shadow-views.unit.test.ts +168 -0
  415. package/src/__tests__/gpu-driven-skin-contract.test-d.ts +11 -0
  416. package/src/__tests__/gpu-driven-view-gpu-evidence.ts +72 -20
  417. package/src/__tests__/gpu-driven-view-graph.integration.test.ts +30 -9
  418. package/src/__tests__/gpu-driven-view.unit.test.ts +160 -52
  419. package/src/__tests__/gpu-pass-timing-browser-runner.ts +15 -0
  420. package/src/__tests__/gpu-pass-timing.browser.test.ts +20 -2
  421. package/src/__tests__/gpu-resource-scope.unit.test.ts +71 -0
  422. package/src/__tests__/gpu-resource-store-stride.unit.test.ts +42 -0
  423. package/src/__tests__/gpu-scene-render-graph-gpu.ts +19 -5
  424. package/src/__tests__/gpu-scene.dawn.test.ts +40 -13
  425. package/src/__tests__/gpu-scene.unit.test.ts +613 -33
  426. package/src/__tests__/instances-culling.integration.test.ts +36 -10
  427. package/src/__tests__/instances-derived-bounds.unit.test.ts +54 -0
  428. package/src/__tests__/instances-store.unit.test.ts +242 -39
  429. package/src/__tests__/ktx2-basis-gpu-consumer.dawn.test.ts +6 -0
  430. package/src/__tests__/lighting-scene-roundtrip.integration.test.ts +13 -16
  431. package/src/__tests__/lut-lkg-transaction.integration.test.ts +122 -0
  432. package/src/__tests__/material-contract-inventory.unit.test.ts +5 -6
  433. package/src/__tests__/material-dispatch-shader-id.unit.test.ts +51 -0
  434. package/src/__tests__/material-lane-selection.unit.test.ts +60 -0
  435. package/src/__tests__/material-numeric-upload.unit.test.ts +53 -0
  436. package/src/__tests__/material-texture-handles.unit.test.ts +18 -0
  437. package/src/__tests__/material-texture-source.unit.test.ts +87 -0
  438. package/src/__tests__/materials-authoring-validation.unit.test.ts +41 -0
  439. package/src/__tests__/materials-standard-contract.unit.test.ts +57 -3
  440. package/src/__tests__/mesh-buffer-usage-surface.unit.test.ts +4 -0
  441. package/src/__tests__/mesh-submission-lifetime.unit.test.ts +8 -0
  442. package/src/__tests__/morph-neutral-admission.unit.test.ts +19 -0
  443. package/src/__tests__/normal-fallback.dawn.test.ts +122 -0
  444. package/src/__tests__/particle-material-input-layout.unit.test.ts +104 -0
  445. package/src/__tests__/physical-clearcoat.integration.test.ts +42 -3
  446. package/src/__tests__/pipeline-texture-specialization.unit.test.ts +138 -0
  447. package/src/__tests__/point-shadow-inspection.unit.test.ts +2 -0
  448. package/src/__tests__/post-process-error-policy-owner.unit.test.ts +6 -5
  449. package/src/__tests__/prepared-gpu-driven-pbr-contract.test-d.ts +31 -0
  450. package/src/__tests__/prepared-gpu-driven-pbr-contract.unit.test.ts +39 -0
  451. package/src/__tests__/prepared-gpu-driven-pbr.integration.test.ts +251 -9
  452. package/src/__tests__/prepared-graphics-capability.unit.test.ts +21 -0
  453. package/src/__tests__/prepared-graphics-pipeline-warmup.unit.test.ts +6 -2
  454. package/src/__tests__/profiler-phase-catalog.test.ts +5 -0
  455. package/src/__tests__/public-surface.test-d.ts +3 -0
  456. package/src/__tests__/recovery-candidate-prepare.contract.test.ts +30 -12
  457. package/src/__tests__/reflection-fallback-async-publication.unit.test.ts +171 -0
  458. package/src/__tests__/reflection-probe-authoring.unit.test.ts +12 -10
  459. package/src/__tests__/reflection-probe-box.dawn.test.ts +71 -0
  460. package/src/__tests__/reflection-probe-filter.unit.test.ts +9 -0
  461. package/src/__tests__/reflection-probe-orientation.dawn.test.ts +294 -0
  462. package/src/__tests__/reflection-probe-record-owner.characterization.unit.test.ts +5 -14
  463. package/src/__tests__/reflection-probe-updates.unit.test.ts +129 -0
  464. package/src/__tests__/render-error-code-owner.test-d.ts +7 -0
  465. package/src/__tests__/render-error-detail-ssot.test-d.ts +27 -1
  466. package/src/__tests__/render-error-exhaustive.test-d.ts +15 -0
  467. package/src/__tests__/render-extent.unit.test.ts +63 -0
  468. package/src/__tests__/render-feature-gpu-work.integration.test.ts +285 -2
  469. package/src/__tests__/render-feature-plan.unit.test.ts +245 -0
  470. package/src/__tests__/render-feature-shadow-order.unit.test.ts +228 -0
  471. package/src/__tests__/render-feature-zero-work.unit.test.ts +35 -1
  472. package/src/__tests__/render-graph-fallback.integration.test.ts +2 -2
  473. package/src/__tests__/render-owner-cohesion.unit.test.ts +55 -0
  474. package/src/__tests__/render-scene-mixed-updates.integration.test.ts +426 -0
  475. package/src/__tests__/render-scene-projection.unit.test.ts +915 -23
  476. package/src/__tests__/render-scene-resource-updates.integration.test.ts +214 -0
  477. package/src/__tests__/render-scene-skin-lifecycle.integration.test.ts +173 -0
  478. package/src/__tests__/render-scene-temporal-retry.unit.test.ts +133 -0
  479. package/src/__tests__/render-target-material-source.test-d.ts +27 -3
  480. package/src/__tests__/renderer-factory-material-contract.unit.test.ts +233 -9
  481. package/src/__tests__/renderer-frame-transaction.integration.test.ts +923 -5
  482. package/src/__tests__/shader-manifest-fixture.ts +45 -0
  483. package/src/__tests__/skin-motion-regression.unit.test.ts +0 -33
  484. package/src/__tests__/skin-palette-persistent.integration.test.ts +28 -0
  485. package/src/__tests__/skin-palette-persistent.unit.test.ts +247 -0
  486. package/src/__tests__/skinned-shadow-caster.test.ts +125 -14
  487. package/src/__tests__/specular-environment-scale.dawn.test.ts +158 -0
  488. package/src/__tests__/ssao-config.unit.test.ts +7 -0
  489. package/src/__tests__/ssao-surface.dawn.test.ts +252 -0
  490. package/src/__tests__/ssr-admission-matrix.integration.test.ts +7 -1
  491. package/src/__tests__/ssr-confidence-compose.unit.test.ts +84 -0
  492. package/src/__tests__/ssr-coordinate-oracle.unit.test.ts +28 -0
  493. package/src/__tests__/ssr-cube-silhouette.dawn.test.ts +270 -0
  494. package/src/__tests__/ssr-format-probe-gating.integration.test.ts +82 -0
  495. package/src/__tests__/ssr-gpu-dispatch.browser.test.ts +99 -0
  496. package/src/__tests__/ssr-gpu-dispatch.dawn.test.ts +116 -0
  497. package/src/__tests__/ssr-gpu-dispatch.ts +951 -0
  498. package/src/__tests__/ssr-graph-topology.unit.test.ts +104 -0
  499. package/src/__tests__/ssr-history-filter.dawn.test.ts +198 -0
  500. package/src/__tests__/ssr-hit-color.dawn.test.ts +273 -0
  501. package/src/__tests__/ssr-hiz-odd-reduction.dawn.test.ts +569 -0
  502. package/src/__tests__/ssr-hiz-rescue.dawn.test.ts +279 -0
  503. package/src/__tests__/ssr-hiz.browser.test.ts +150 -0
  504. package/src/__tests__/ssr-hiz.dawn.test.ts +150 -0
  505. package/src/__tests__/ssr-hiz.unit.test.ts +56 -0
  506. package/src/__tests__/ssr-inspection.unit.test.ts +105 -0
  507. package/src/__tests__/ssr-memory-budget.unit.test.ts +45 -0
  508. package/src/__tests__/ssr-performance-sequence-aggregation.unit.test.ts +15 -0
  509. package/src/__tests__/ssr-public-surface.test-d.ts +37 -0
  510. package/src/__tests__/ssr-receiver-coverage.dawn.test.ts +387 -0
  511. package/src/__tests__/ssr-reflection-mip-reducer.dawn.test.ts +309 -0
  512. package/src/__tests__/ssr-reprojection-probe.ts +90 -0
  513. package/src/__tests__/ssr-roughness-mip.dawn.test.ts +163 -0
  514. package/src/__tests__/ssr-shader-prewarm.unit.test.ts +59 -0
  515. package/src/__tests__/ssr-spatial.integration.test.ts +141 -0
  516. package/src/__tests__/ssr-stable-lattice.dawn.test.ts +475 -0
  517. package/src/__tests__/ssr-temporal-history.unit.test.ts +202 -0
  518. package/src/__tests__/ssr-texel-crossing.dawn.test.ts +448 -0
  519. package/src/__tests__/ssr-zero-work.integration.test.ts +87 -0
  520. package/src/__tests__/standard-cluster-variant-resolution.unit.test.ts +84 -12
  521. package/src/__tests__/standard-clustered-pipeline.unit.test.ts +29 -0
  522. package/src/__tests__/standard-output-chain-contract.unit.test.ts +99 -0
  523. package/src/__tests__/standard-output-chain.integration.test.ts +73 -0
  524. package/src/__tests__/standard-output-gpu-evidence.ts +205 -0
  525. package/src/__tests__/standard-output.browser.test.ts +15 -0
  526. package/src/__tests__/standard-output.dawn.test.ts +15 -0
  527. package/src/__tests__/standard-pbr-artifact-assembly.unit.test.ts +275 -0
  528. package/src/__tests__/standard-pipeline.integration.test.ts +320 -3
  529. package/src/__tests__/standard-profile-oracle.unit.test.ts +49 -0
  530. package/src/__tests__/standard-surface-lighting.unit.test.ts +41 -0
  531. package/src/__tests__/standard-texture-specialization.dawn.test.ts +141 -0
  532. package/src/__tests__/surface-adjacent-regressions.integration.test.ts +6 -3
  533. package/src/__tests__/taa-coverage-edge.dawn.test.ts +199 -0
  534. package/src/__tests__/taa-history-clipping.dawn.test.ts +328 -0
  535. package/src/__tests__/taa-neighborhood-equivalence.dawn.test.ts +782 -0
  536. package/src/__tests__/taa-stability-feedback.browser.test.ts +23 -0
  537. package/src/__tests__/taa-stability-feedback.dawn.test.ts +68 -0
  538. package/src/__tests__/taa-stability-feedback.ts +342 -0
  539. package/src/__tests__/temporal-history-lifecycle.unit.test.ts +49 -7
  540. package/src/__tests__/temporal-reset-matrix.unit.test.ts +9 -0
  541. package/src/__tests__/temporal-transaction.integration.test.ts +28 -0
  542. package/src/__tests__/temporal-view.unit.test.ts +17 -0
  543. package/src/__tests__/texture-usage-surface.unit.test.ts +4 -2
  544. package/src/__tests__/transmission-prewarm.unit.test.ts +57 -0
  545. package/src/__tests__/typed-pipeline-topology.unit.test.ts +109 -4
  546. package/src/__tests__/typed-scene-pass-material-cache.integration.test.ts +126 -0
  547. package/src/__tests__/vertex-layouts-ssot.unit.test.ts +47 -0
  548. package/src/__tests__/visibility-extract.perf.test.ts +20 -8
  549. package/src/__tests__/visibility-instances.integration.test.ts +19 -7
  550. package/src/__tests__/visibility-producer-matrix.integration.test.ts +20 -9
  551. package/src/__tests__/volumetric-fog-stage-readback.dawn.test.ts +62 -13
  552. package/src/__tests__/volumetric-fog-topology.unit.test.ts +7 -7
  553. package/src/assembly/atmosphere-shader-prewarm.ts +39 -0
  554. package/src/assembly/device-feature-admission.ts +9 -4
  555. package/src/assembly/dynamic-geometry-host.ts +284 -163
  556. package/src/assembly/dynamic-geometry-runtime.ts +71 -0
  557. package/src/assembly/factory.ts +4 -0
  558. package/src/assembly/gpu-driven-owner.ts +29 -0
  559. package/src/assembly/host-contract.ts +19 -0
  560. package/src/assembly/material/assembly.ts +383 -1
  561. package/src/assembly/material/pipeline-helpers.ts +100 -0
  562. package/src/assembly/material-shader-policy.ts +110 -46
  563. package/src/assembly/recovery/device-loss-fanout.ts +5 -0
  564. package/src/assembly/recovery/failure-location.ts +62 -0
  565. package/src/assembly/recovery/recovery-attempt.ts +2 -29
  566. package/src/assembly/recovery/renderer-recover.ts +16 -17
  567. package/src/assembly/renderer-facade.ts +34 -1
  568. package/src/assembly/renderer-feature-inspection.ts +13 -0
  569. package/src/assembly/renderer-frame-transaction.ts +63 -0
  570. package/src/assembly/renderer-helpers.ts +26 -0
  571. package/src/assembly/renderer-inspection.ts +6 -0
  572. package/src/assembly/shader-prewarm-policy.ts +46 -1
  573. package/src/assembly/skin-palette-owner.ts +21 -0
  574. package/src/assembly/ssr-shader-prewarm.ts +41 -0
  575. package/src/assembly/webgpu-device-loss.ts +75 -0
  576. package/src/assembly/webgpu-pbr-ready.ts +232 -0
  577. package/src/assembly/webgpu-ready-mipmap.ts +26 -0
  578. package/src/assembly/webgpu-ready.ts +161 -131
  579. package/src/assembly/webgpu-renderer-bootstrap.ts +85 -0
  580. package/src/assembly/webgpu-renderer-contract.ts +69 -0
  581. package/src/assembly/webgpu-renderer-guards.ts +32 -0
  582. package/src/assembly/webgpu-renderer-observation.ts +43 -0
  583. package/src/assembly/webgpu-renderer-recovery-failure.ts +62 -0
  584. package/src/assembly/webgpu-renderer.ts +744 -730
  585. package/src/assembly/webgpu-vertex-layouts.ts +233 -87
  586. package/src/capture/scene-projection.ts +37 -0
  587. package/src/components/__tests__/camera-exposure.contract.unit.test.ts +153 -0
  588. package/src/components/__tests__/dynamic-resolution-schema.unit.test.ts +65 -0
  589. package/src/components/__tests__/light-radius.integration.test.ts +59 -0
  590. package/src/components/camera.ts +287 -7
  591. package/src/components/directional-light.ts +3 -3
  592. package/src/components/dynamic-resolution.ts +67 -0
  593. package/src/components/index.ts +2 -0
  594. package/src/components/instances.ts +45 -18
  595. package/src/components/light-helpers.ts +6 -1
  596. package/src/components/reflection-probe.ts +1 -0
  597. package/src/components/scene-instance.ts +2 -1
  598. package/src/components/screen-space-reflection.ts +21 -0
  599. package/src/components/skylight.ts +4 -1
  600. package/src/components/sprite-animation.ts +2 -2
  601. package/src/components/sprite-instances.ts +1 -1
  602. package/src/device/device-scope.ts +13 -7
  603. package/src/device/gpu-residency.ts +45 -42
  604. package/src/dynamic-geometry.ts +13 -8
  605. package/src/environment/background.ts +281 -0
  606. package/src/environment/ibl.ts +211 -0
  607. package/src/environment/storage.ts +63 -0
  608. package/src/errors/gpu-driven.ts +49 -8
  609. package/src/errors/render.ts +91 -3
  610. package/src/extract/camera.ts +37 -1
  611. package/src/extract/contracts.ts +10 -0
  612. package/src/extract/gpu-driven.ts +240 -10
  613. package/src/features/host.ts +237 -19
  614. package/src/features/noise-texture.ts +91 -0
  615. package/src/features/plan.ts +553 -24
  616. package/src/features/prepared-gpu-work.ts +631 -49
  617. package/src/features/prepared-graphics-store.ts +31 -0
  618. package/src/features/prepared-graphics.ts +5 -0
  619. package/src/features/render-graph-compute.ts +41 -8
  620. package/src/features/render-graph-contribution.ts +141 -3
  621. package/src/features/render-graph-raster.ts +143 -30
  622. package/src/features/types.ts +11 -0
  623. package/src/fullscreen-post-process-pass.ts +3 -0
  624. package/src/gpu-driven/batch-topology.ts +452 -108
  625. package/src/gpu-driven/material-artifacts.ts +179 -0
  626. package/src/gpu-driven/material-bindings.ts +41 -0
  627. package/src/gpu-driven/pbr-program.ts +31 -0
  628. package/src/gpu-driven/prepared-draw.ts +42 -6
  629. package/src/gpu-driven/production-raster.ts +2806 -716
  630. package/src/gpu-driven/shadow-views.ts +539 -0
  631. package/src/gpu-driven/view-gpu.ts +188 -41
  632. package/src/gpu-resource.ts +21 -2
  633. package/src/gpu-scene-schema.ts +61 -11
  634. package/src/gpu-scene.ts +197 -99
  635. package/src/gpu-texture-usage.ts +1 -0
  636. package/src/hdrp-buffers.ts +141 -36
  637. package/src/ibl/IblPipelineCache.ts +5 -0
  638. package/src/ibl/frame-resources.ts +38 -0
  639. package/src/ibl/skylight-bind-group.ts +32 -21
  640. package/src/index.ts +194 -75
  641. package/src/inspection-types.ts +207 -1
  642. package/src/instances-derived-bounds.ts +258 -34
  643. package/src/instances.ts +459 -150
  644. package/src/internal.ts +22 -0
  645. package/src/lifecycle.ts +2 -0
  646. package/src/material-row.ts +194 -0
  647. package/src/materials.ts +44 -8
  648. package/src/pbr-pipeline.ts +172 -19
  649. package/src/pipeline/render-extent.ts +111 -0
  650. package/src/pipeline/standard-build-context.ts +7 -0
  651. package/src/pipeline/standard-forward-lane.ts +74 -29
  652. package/src/pipeline/standard-output/__tests__/lut-admission.unit.test.ts +103 -0
  653. package/src/pipeline/standard-output/auto-exposure/__tests__/capability.unit.test.ts +40 -0
  654. package/src/pipeline/standard-output/auto-exposure/__tests__/gpu.contract.unit.test.ts +125 -0
  655. package/src/pipeline/standard-output/auto-exposure/__tests__/graph.contract.unit.test.ts +94 -0
  656. package/src/pipeline/standard-output/auto-exposure/__tests__/oracle.test.ts +108 -0
  657. package/src/pipeline/standard-output/auto-exposure/__tests__/preset.test.ts +26 -0
  658. package/src/pipeline/standard-output/auto-exposure/capability.ts +38 -0
  659. package/src/pipeline/standard-output/auto-exposure/gpu.ts +567 -0
  660. package/src/pipeline/standard-output/auto-exposure/graph.ts +221 -0
  661. package/src/pipeline/standard-output/auto-exposure/inspection.ts +231 -0
  662. package/src/pipeline/standard-output/auto-exposure/oracle.ts +291 -0
  663. package/src/pipeline/standard-output/auto-exposure/preset.ts +28 -0
  664. package/src/pipeline/standard-output/auto-exposure/state.ts +156 -0
  665. package/src/pipeline/standard-output/color-transform.ts +124 -0
  666. package/src/pipeline/standard-output/graph.ts +139 -0
  667. package/src/pipeline/standard-output/lut-admission.ts +121 -0
  668. package/src/pipeline/standard-output/lut-gpu.ts +399 -0
  669. package/src/pipeline/standard-output/lut-state.ts +176 -0
  670. package/src/pipeline/standard-output/resources.ts +121 -0
  671. package/src/pipeline/standard-output/types.ts +58 -0
  672. package/src/pipeline/standard-pipeline.ts +232 -70
  673. package/src/pipeline/standard-post.ts +190 -27
  674. package/src/pipeline/standard-profile.ts +2 -1
  675. package/src/pipeline-builder.ts +28 -9
  676. package/src/pipeline-spec-types.ts +4 -0
  677. package/src/pipeline-spec.ts +37 -29
  678. package/src/plugin.ts +4 -0
  679. package/src/points-lines/standard-owner.ts +6 -14
  680. package/src/post-process-errors.ts +26 -18
  681. package/src/prepare/__tests__/extended-lighting-capability.unit.test.ts +2 -2
  682. package/src/prepare/extended-lighting/resources.ts +3 -3
  683. package/src/prepare/prepared-graphics-resolver.ts +9 -2
  684. package/src/record/__tests__/main-pass-geometry.unit.test.ts +68 -0
  685. package/src/record/__tests__/material-bg-cache.unit.test.ts +45 -0
  686. package/src/record/__tests__/material-slot-plan.unit.test.ts +57 -0
  687. package/src/record/__tests__/mesh-ssbo.unit.test.ts +40 -1
  688. package/src/record/__tests__/recovery-pipeline.unit.test.ts +20 -1
  689. package/src/record/__tests__/sprite-material-abi.unit.test.ts +41 -6
  690. package/src/record/__tests__/temporal-payload.unit.test.ts +2 -0
  691. package/src/record/__tests__/typed-frame-graph-plan.unit.test.ts +45 -0
  692. package/src/record/__tests__/view-ubo-layout.unit.test.ts +5 -0
  693. package/src/record/dynamic-geometry-consumption.ts +59 -0
  694. package/src/record/frame-lighting.ts +15 -12
  695. package/src/record/frame-snapshot.ts +146 -34
  696. package/src/record/frame-targets.ts +9 -0
  697. package/src/record/frame.ts +838 -170
  698. package/src/record/main-pass-geometry.ts +209 -103
  699. package/src/record/main-pass-material.ts +157 -40
  700. package/src/record/main-pass-sprite-draws.ts +16 -107
  701. package/src/record/main-pass.ts +141 -12
  702. package/src/record/material-uniforms.ts +1 -1
  703. package/src/record/mesh-ssbo.ts +59 -15
  704. package/src/record/prepared-material-bindings.ts +238 -0
  705. package/src/record/recovery-pipeline.ts +69 -90
  706. package/src/record/render-context.ts +123 -24
  707. package/src/record/shadow-pass.ts +1389 -230
  708. package/src/record/skybox-post-pass.ts +14 -3
  709. package/src/record/typed-frame-graph.ts +1064 -47
  710. package/src/record/view-ubo.ts +12 -1
  711. package/src/recovery/render-system-candidate.ts +135 -68
  712. package/src/recovery/render-system-roots.ts +113 -0
  713. package/src/recovery/types.ts +77 -0
  714. package/src/reflection/background.ts +151 -0
  715. package/src/reflection/filter.ts +3 -0
  716. package/src/reflection/projection.ts +16 -6
  717. package/src/reflection/record-owner.ts +308 -140
  718. package/src/render-contract.ts +237 -49
  719. package/src/render-graph-primitives.ts +34 -5
  720. package/src/render-pipeline.ts +90 -2
  721. package/src/render-system-extract-tail.ts +431 -162
  722. package/src/render-system-extract.ts +478 -119
  723. package/src/render-system-projections.ts +241 -0
  724. package/src/render-system.ts +715 -828
  725. package/src/scene/render-scene-types.ts +13 -4
  726. package/src/scene/render-scene.ts +577 -355
  727. package/src/scene/shadow-visibility.ts +21 -0
  728. package/src/ssao-config.ts +25 -8
  729. package/src/ssr/admission.ts +380 -14
  730. package/src/ssr/compose.ts +144 -0
  731. package/src/ssr/errors.ts +48 -0
  732. package/src/ssr/graph.ts +797 -0
  733. package/src/ssr/history.ts +436 -0
  734. package/src/ssr/hiz.ts +124 -0
  735. package/src/ssr/inspection.ts +124 -0
  736. package/src/ssr/resources.ts +202 -0
  737. package/src/ssr/temporal.ts +164 -0
  738. package/src/systems/skin-palette-allocator.ts +495 -148
  739. package/src/systems/skin-palette-types.ts +17 -0
  740. package/src/systems/transparent-dispatch.ts +90 -0
  741. package/src/targets/material-source.ts +34 -0
  742. package/src/temporal/coverage.ts +1 -1
  743. package/src/temporal/frame-coordinator.ts +23 -2
  744. package/src/temporal/gpu.ts +79 -12
  745. package/src/temporal/history.ts +3 -1
  746. package/src/temporal/inspection.ts +2 -1
  747. package/src/temporal/standard-scene-data.ts +10 -2
  748. package/src/temporal/target-coverage-attachment.ts +72 -0
  749. package/src/temporal/temporal-view.ts +11 -2
  750. package/src/temporal/view.ts +12 -2
  751. package/src/transmission/__tests__/standard-transmission.dawn.test.ts +219 -139
  752. package/src/typed-render-graph-primitives.ts +304 -74
  753. package/src/typed-shadow-passes.ts +122 -12
  754. package/src/volume/component.ts +1 -0
  755. package/src/volume/passes.ts +3 -3
  756. package/src/volume/temporal.ts +10 -0
  757. package/dist/chunk-GE3SDD72.mjs.map +0 -1
  758. package/dist/chunk-GF523LHF.mjs.map +0 -1
  759. package/dist/chunk-IQMKJLNU.mjs.map +0 -1
  760. package/dist/chunk-J52NMQKR.mjs.map +0 -1
  761. package/dist/chunk-J6KACNOH.mjs.map +0 -1
  762. package/dist/chunk-JAASCMXA.mjs.map +0 -1
  763. package/dist/chunk-MBU4ZVE7.mjs.map +0 -1
  764. package/dist/chunk-MYJ5RPJO.mjs.map +0 -1
  765. package/dist/chunk-RBDBZ5R7.mjs.map +0 -1
  766. package/dist/chunk-VSL23LZE.mjs.map +0 -1
  767. package/src/__tests__/instances-world-ownership.integration.test.ts +0 -62
  768. package/src/scene/__tests__/changed-block-summary.candidate.test.ts +0 -36
@@ -1,34 +1,32 @@
1
- import { type MipmapEncoderWork } from '@forgeax/engine-assets-runtime';
2
- import type { World } from '@forgeax/engine-ecs';
1
+ import type { RenderSceneBounds } from './scene/render-scene-types';
2
+ import { type World } from '@forgeax/engine-ecs';
3
3
  import type { RenderReadLease } from '@forgeax/engine-ecs/projection';
4
4
  import type { CompiledRenderGraphInfo } from '@forgeax/engine-render-graph';
5
- import type { Buffer, RenderPipeline, RhiDevice } from '@forgeax/engine-rhi';
5
+ import type { RhiDevice } from '@forgeax/engine-rhi';
6
6
  import { type Result, RhiError } from '@forgeax/engine-rhi';
7
7
  import { type RenderPipelineAsset } from '@forgeax/engine-types';
8
- import type { DeviceScope, LifecycleResourceSpec } from './device/device-scope';
9
8
  import { type ObservationUnavailableError } from './errors/render';
10
- import { type RenderFeatureHost } from './features/host';
11
- import { type RenderFeatureGpuWorkOwner } from './features/prepared-gpu-work';
12
9
  import { type PostProcessShaderEntry } from './fullscreen-post-process-pass';
13
- import { GpuDrivenProduction } from './gpu-driven/production-raster';
14
- import type { BloomInspection, DirectionalShadowInspection, GpuDrivenProductionInspection, LodOcclusionInspection, MotionBlurInspection, ReflectionProbeInspection, RenderSceneInspection, SsrDependenciesInspection, TemporalTargetInspection, TransmissionInspection } from './inspection-types';
10
+ import type { BloomInspection, DirectionalShadowInspection, GpuDrivenProductionInspection, LodOcclusionInspection, MaterialTextureSourceInspection, MotionBlurInspection, ReflectionProbeInspection, RenderSceneInspection, SsrDependenciesInspection, SsrSpatialInspection, TemporalTargetInspection, TransmissionInspection } from './inspection-types';
11
+ import { type AutoExposureInspection } from './pipeline/standard-output/auto-exposure/inspection';
12
+ import { type StandardLutInspection } from './pipeline/standard-output/lut-state';
15
13
  import type { PointsLinesRetainedSnapshot } from './points-lines/snapshot';
14
+ export { materialTextureHandlesForResidency } from './recovery/render-system-candidate';
15
+ import type { RecoveryGraphCandidate, RecoveryGraphCandidatePreparation, RecoveryGraphCandidateRuntime, RecoveryGraphSetupSubmission, RecoveryPostProcessResources, RecoveryRootBundle, RecoveryRootRuntime } from './recovery/types';
16
+ export type { RecoveryGraphCandidate, RecoveryGraphCandidatePreparation, RecoveryGraphCandidateRuntime, RecoveryGraphSetupSubmission, RecoveryPointsLinesCandidate, RecoveryPostProcessResources, RecoveryRootBundle, RecoveryRootRuntime, } from './recovery/types';
16
17
  export type { RenderSceneInspection } from './inspection-types';
17
- import type { GpuResidencyCache } from './device/gpu-residency';
18
18
  import type { EnvironmentInspection } from './environment/inspection';
19
19
  import type { InstanceCollectionInspection } from './instances';
20
+ import { InstanceCollectionStore } from './instances';
20
21
  import { type MeshMaterialBindingObservation } from './mesh-material-bindings';
21
22
  import type { StandardLightingInspection } from './pipeline/standard-lighting/inspection';
22
23
  import type { PointShadowInspection } from './point-shadow-inspection';
23
24
  import { type FrameObservation, type FrameObservationOptions } from './record/frame';
24
- import type { CurrentGraphTarget, GraphTargetCaptureRequest, RenderFrameState } from './record/frame-snapshot';
25
+ import type { CurrentGraphTarget, GraphTargetCaptureRequest } from './record/frame-snapshot';
25
26
  import type { GpuPassTimingSession } from './record/gpu-pass-timing/session';
26
27
  import type { GpuTimingCapture } from './record/gpu-timing';
27
- import type { RecoveryPipelineReadiness } from './record/recovery-pipeline';
28
28
  import type { PipelineState, RenderSystemInternals } from './record/render-context';
29
- import { type RenderFeatureGraphCandidate } from './record/typed-frame-graph';
30
29
  import { type CameraSnapshot, type DrawOwnerOptions } from './render-contract';
31
- import { type PersistentGpuDrivenCandidate } from './scene/render-scene';
32
30
  import type { RenderTarget } from './targets/contracts';
33
31
  import { type TemporalFrame } from './temporal/frame';
34
32
  import { type TemporalInspection } from './temporal/inspection';
@@ -44,11 +42,6 @@ export interface RendererProducerRoot {
44
42
  readonly visibility: 'visible-workset' | 'non-visible-lazy';
45
43
  readonly disabledWork: 'zero' | 'lazy';
46
44
  }
47
- /** Device-bound post-process resources prepared off to the side of the active renderer. */
48
- export interface RecoveryPostProcessResources {
49
- readonly device: RhiDevice;
50
- readonly paramsBuffers: Map<string, Buffer>;
51
- }
52
45
  export declare function createRendererProducerRootMatrix(): readonly RendererProducerRoot[];
53
46
  /**
54
47
  * Production-owned recovery facts. These values are projections of the live
@@ -87,6 +80,9 @@ export interface RecoveryProductionEvidence {
87
80
  * whose shader identity is `forgeax::default-standard-pbr`).
88
81
  */
89
82
  export interface RenderSystem {
83
+ bounds(world: World, entity: number): RenderSceneBounds | undefined;
84
+ /** Complete explicit SSR capability preparation before drawing a device generation. */
85
+ initializeSsr(device?: RhiDevice): Promise<void>;
90
86
  /** Returns true only when this invocation reached queue submission. */
91
87
  draw(worlds: readonly World[], opts: DrawOwnerOptions, renderReadLeases?: readonly RenderReadLease[], timingCapture?: GpuTimingCapture): boolean;
92
88
  /**
@@ -97,7 +93,7 @@ export interface RenderSystem {
97
93
  isDynamicGeometryConsumed(world: World, entity: number, meshHandle: number | undefined): boolean;
98
94
  invalidateGeometryHistory(): void;
99
95
  /** Prepare a detached graph candidate without entering the frame record path. */
100
- prepareRecoveryGraphCandidate(runtime: RecoveryGraphCandidateRuntime): Promise<RecoveryGraphCandidatePreparation>;
96
+ prepareRecoveryGraphCandidate(runtime: RecoveryGraphCandidateRuntime): RecoveryGraphCandidatePreparation;
101
97
  /** Finish and submit detached candidate setup, never a frame receipt. */
102
98
  submitCandidateSetup(candidate: RecoveryGraphCandidate, isValid: () => boolean): Result<RecoveryGraphSetupSubmission, RhiError>;
103
99
  /** Publish a detached graph candidate at the generation publication boundary. */
@@ -118,6 +114,8 @@ export interface RenderSystem {
118
114
  readonly pipelineDispatchCounts: {
119
115
  readonly unlit: number;
120
116
  };
117
+ /** Renderer-owned source for explicit large instance collections. */
118
+ readonly instances: InstanceCollectionStore;
121
119
  /** Detached residency and upload facts for explicit instance collections. */
122
120
  readonly instanceCollectionsInspection: readonly InstanceCollectionInspection[];
123
121
  /**
@@ -137,11 +135,17 @@ export interface RenderSystem {
137
135
  readonly reflectionProbes: ReflectionProbeInspection;
138
136
  /** Live producer/RHI/temporal receipts projected through SSR admission. */
139
137
  readonly ssrDependencies: SsrDependenciesInspection;
138
+ /** Live SSR spatial admission and bounded graph/history projection. */
139
+ readonly ssr: SsrSpatialInspection;
140
140
  /** Producer completion fence included in the public FrameReceipt. */
141
141
  readonly reflectionFallbackCompletion: Promise<void> | undefined;
142
142
  /** True while a progressive CubeCamera candidate still owns unfinished faces. */
143
143
  isCubeCapturePending(target: RenderTarget): boolean;
144
144
  readonly environment: EnvironmentInspection;
145
+ /** Detached auto-exposure state published after a successful frame submit. */
146
+ readonly autoExposure: AutoExposureInspection | undefined;
147
+ /** Detached Standard LUT state published after a successful frame submit. */
148
+ readonly standardLut: StandardLutInspection;
145
149
  readonly temporal: TemporalInspection;
146
150
  readonly bloom: BloomInspection;
147
151
  readonly motionBlurInspection: MotionBlurInspection | undefined;
@@ -176,6 +180,10 @@ export interface RenderSystem {
176
180
  readonly lastSuccessfulCameraAntialias: CameraSnapshot['antialias'] | undefined;
177
181
  /** Detached compiled-graph facts used by the renderer inspection owner. */
178
182
  readonly perFrameGraphInfo: CompiledRenderGraphInfo | undefined;
183
+ /** Detached feature signature/compile/lifetime counters. */
184
+ readonly featureGraphInspection: import('./inspection-types').RenderFeatureGraphInspection;
185
+ /** Detached material texture-source probe counters from the last extract. */
186
+ readonly materialTextureSources: MaterialTextureSourceInspection;
179
187
  /** Production-owner recovery facts used by Renderer.inspect(). */
180
188
  readonly recoveryEvidence: RecoveryProductionEvidence;
181
189
  /**
@@ -241,64 +249,6 @@ export interface RenderSystem {
241
249
  /** Build candidate roots from explicit candidate-owned device state. */
242
250
  prepareRecoveryRoots(runtime: RecoveryRootRuntime): RecoveryRootBundle;
243
251
  }
244
- /** The single Points/Lines owner’s staged device-generation handoff. */
245
- export interface RecoveryPointsLinesCandidate {
246
- createRecoveryRoot(scope: DeviceScope): LifecycleResourceSpec<unknown>;
247
- publish(): void;
248
- release(): void;
249
- }
250
- /** Candidate-only device/runtime inputs used by the recovery prepare seam. */
251
- export interface RecoveryGraphCandidateRuntime {
252
- readonly internals: RenderSystemInternals;
253
- readonly pipelineState: PipelineState;
254
- }
255
- /** Detached graph state prepared on a replacement device, before publication. */
256
- export interface RecoveryGraphCandidate {
257
- readonly frameState: RenderFrameState;
258
- readonly setupWorks: readonly MipmapEncoderWork[];
259
- readonly device: RhiDevice;
260
- readonly generation: number;
261
- readonly gpuDrivenProduction?: GpuDrivenProduction;
262
- readonly gpuDrivenScene?: PersistentGpuDrivenCandidate;
263
- /** Staged CPU-expanded Points/Lines buffers owned by the same RenderSystem. */
264
- readonly pointsLines?: RecoveryPointsLinesCandidate;
265
- readonly featureHost?: RenderFeatureHost;
266
- readonly featureGpuWork?: RenderFeatureGpuWorkOwner;
267
- readonly featureGraphCandidate?: RenderFeatureGraphCandidate;
268
- readonly postProcessPipelines?: ReadonlyMap<string, RenderPipeline>;
269
- readonly recoveryReadiness: RecoveryPipelineReadiness;
270
- /** Release all candidate roots before publication; safe to call repeatedly. */
271
- readonly release: () => void;
272
- /** Transfer candidate-root ownership to the published RenderSystem. */
273
- readonly markPublished: () => void;
274
- }
275
- /** Candidate setup completion; completion is bounded by the recovery owner. */
276
- export interface RecoveryGraphSetupSubmission {
277
- readonly completion?: PromiseLike<unknown>;
278
- }
279
- export type RecoveryGraphCandidatePreparation = {
280
- readonly kind: 'no-seed';
281
- } | {
282
- readonly kind: 'ready';
283
- readonly candidate: RecoveryGraphCandidate;
284
- } | {
285
- readonly kind: 'failed';
286
- readonly reason: string;
287
- readonly cause?: unknown;
288
- };
289
- /** Explicit candidate-owned inputs for lifecycle-root preparation. */
290
- export interface RecoveryRootRuntime {
291
- readonly scope: DeviceScope;
292
- readonly device: RhiDevice;
293
- readonly gpuStore: GpuResidencyCache;
294
- readonly graphCandidate?: RecoveryGraphCandidate | undefined;
295
- }
296
- /** Candidate roots plus the one synchronous owner switch at publication. */
297
- export interface RecoveryRootBundle {
298
- readonly roots: readonly LifecycleResourceSpec<unknown>[];
299
- publish(): void;
300
- discard(): void;
301
- }
302
252
  export declare function createRenderSystem(internals: RenderSystemInternals): RenderSystem;
303
253
  /** Resolve the build identity used by every inspection submit. */
304
254
  export declare function resolveInspectionBuild(internals: Pick<RenderSystemInternals, 'build'>): string;
@@ -1 +1 @@
1
- {"version":3,"file":"render-system.d.ts","sourceRoot":"","sources":["../src/render-system.ts"],"names":[],"mappings":"AAkBA,OAAO,EACL,KAAK,iBAAiB,EAGvB,MAAM,gCAAgC,CAAC;AACxC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAEtE,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,KAAK,EAGV,MAAM,EACN,cAAc,EACd,SAAS,EACV,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAW,KAAK,MAAM,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACrE,OAAO,EAML,KAAK,mBAAmB,EAKzB,MAAM,uBAAuB,CAAC;AAO/B,OAAO,KAAK,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,uBAAuB,CAAC;AAGhF,OAAO,EACL,KAAK,2BAA2B,EAGjC,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,KAAK,iBAAiB,EAIvB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAEL,KAAK,yBAAyB,EAC/B,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAIL,KAAK,sBAAsB,EAI5B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AACrE,OAAO,KAAK,EACV,eAAe,EACf,2BAA2B,EAC3B,6BAA6B,EAC7B,sBAAsB,EAGtB,oBAAoB,EACpB,yBAAyB,EACzB,qBAAqB,EACrB,yBAAyB,EACzB,wBAAwB,EACxB,sBAAsB,EACvB,MAAM,oBAAoB,CAAC;AAE5B,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC;AAe3E,YAAY,EAAE,qBAAqB,EAAE,MAAM,oBA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AAC,aAAa,EAAE,OAAO,qBAAqB,EAAE,uBAAuB,CAAC;IAC9E,sEAAsE;IACtE,iBAAiB,CAAC,MAAM,EAAE,mBAAmB,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;IAC/D,+EAA+E;IAC/E,0BAA0B,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,sBAAsB,GAAG,MAAM,IAAI,CAAC;IAClF,qFAAqF;IACrF,QAAQ,CAAC,iBAAiB,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,sBAAsB,GAAG,SAAS,CAAC;IAC/E;;;;;;;;;OASG;IACH,iBAAiB,IAAI,IAAI,CAAC;IAE1B;;;;;;;;;;OAUG;IACH,eAAe,CAAC,qBAAqB,CAAC,EAAE,aAAa,EAAE,iBAAiB,CAAC,EAAE,SAAS,GAAG,IAAI,CAAC;IAC5F,+EAA+E;IAC/E,mCAAmC,CACjC,MAAM,EAAE,SAAS,GAChB,MAAM,CAAC,4BAA4B,EAAE,QAAQ,CAAC,CAAC;IAClD,kFAAkF;IAClF,mCAAmC,CAAC,SAAS,EAAE,4BAA4B,GAAG,IAAI,CAAC;IACnF,2DAA2D;IAC3D,mCAAmC,CAAC,SAAS,EAAE,4BAA4B,GAAG,IAAI,CAAC;IACnF,4EAA4E;IAC5E,2BAA2B,IAAI,IAAI,CAAC;IACpC,wEAAwE;IACxE,oBAAoB,CAAC,OAAO,EAAE,mBAAmB,GAAG,kBAAkB,CAAC;CACxE;AAsMD,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,qBAAqB,GAAG,YAAY,CA+5FjF;AAED,kEAAkE;AAClE,wBAAgB,sBAAsB,CAAC,SAAS,EAAE,IAAI,CAAC,qBAAqB,EAAE,OAAO,CAAC,GAAG,MAAM,CAE9F;AAOD;;;;GAIG"}
@@ -1,4 +1,5 @@
1
1
  import type { RenderSceneResyncReason } from '../inspection-types';
2
+ import type { InstanceBoundsCacheInspection } from '../instances-derived-bounds';
2
3
  import type { PointsLinesRetainedSnapshot } from '../points-lines/snapshot';
3
4
  import type { RenderableSnapshot } from '../render-system-extract';
4
5
  export type { RenderSceneResyncReason } from '../inspection-types';
@@ -6,12 +7,14 @@ export interface RenderSceneIdentity {
6
7
  readonly worldId: number;
7
8
  readonly entityKey: number;
8
9
  }
9
- export type RenderSceneOperation = {
10
- readonly kind: 'create';
11
- readonly snapshot: RenderableSnapshot;
12
- } | (RenderSceneIdentity & {
13
- readonly kind: 'update-transform';
14
- readonly world: Float32Array;
10
+ /** One entity update merges the changed producer fields before publication. */
11
+ export type RenderSceneOperation = (RenderSceneIdentity & {
12
+ readonly kind: 'update';
13
+ /** Complete source projection for membership, geometry or material edits. */
14
+ readonly snapshot?: RenderableSnapshot;
15
+ /** Detached instance payload; can accompany a root-transform update. */
16
+ readonly instances?: NonNullable<RenderableSnapshot['instances']>;
17
+ readonly world?: Float32Array;
15
18
  }) | (RenderSceneIdentity & {
16
19
  readonly kind: 'remove';
17
20
  });
@@ -33,7 +36,9 @@ export interface RenderSceneApplyResult {
33
36
  readonly createdSlots: readonly RenderSceneSlot[];
34
37
  readonly updatedSlots: readonly RenderSceneSlot[];
35
38
  /** Full retained-snapshot updates; transform spans stay in updatedSlots only. */
36
- readonly contentUpdatedSlots?: readonly RenderSceneSlot[];
39
+ readonly contentUpdatedSlots: readonly RenderSceneSlot[];
40
+ /** Retained snapshots with changed instance payloads; root transforms may change too. */
41
+ readonly instanceUpdatedSlots: readonly RenderSceneSlot[];
37
42
  readonly removedSlots: readonly RenderSceneRecord[];
38
43
  readonly recreatedSlots: readonly RenderSceneSlot[];
39
44
  readonly resynced: number;
@@ -49,6 +54,8 @@ export interface RenderSceneInspection {
49
54
  readonly fullRebuilds: number;
50
55
  readonly resyncs: number;
51
56
  readonly lastResyncReason: RenderSceneResyncReason | undefined;
57
+ /** Allocation/cache evidence for instance bounds derivation. */
58
+ readonly instanceBoundsCache?: InstanceBoundsCacheInspection;
52
59
  }
53
60
  export interface RenderSceneBounds {
54
61
  readon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C,GAAG,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;IAChD,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CACjD"}
@@ -5,14 +5,13 @@ import { type Result } from '@forgeax/engine-types';
5
5
  import type { DeviceScope, LifecycleResourceSpec } from '../device/device-scope';
6
6
  import { type SubmissionPlan } from '../gpu-driven/batch-topology';
7
7
  import { GpuScene } from '../gpu-scene';
8
- import type { PersistentRenderSceneInspection } from '../inspection-types';
9
- import type { InstanceProjectionStore } from '../instances';
8
+ import type { GpuDrivenStructureMetrics, PersistentRenderSceneInspection } from '../inspection-types';
9
+ import type { InstanceCollectionStore } from '../instances';
10
10
  import type { PointsLinesInspection } from '../points-lines/inspection';
11
11
  import type { PointsLinesRetainedSnapshot } from '../points-lines/snapshot';
12
12
  import { type ReflectionProbeFact, ReflectionProbeProjection, type ReflectionProbeSelectionResult } from '../reflection/projection';
13
13
  import type { CameraSnapshot } from '../render-contract';
14
14
  import type { DispatchEntry, ExtractedFrame, MaterialSnapshotCachesByWorld, RenderableSnapshot, RenderableTemporalSnapshot } from '../render-system-extract';
15
- import type { SkinPaletteAllocator } from '../systems/skin-palette-allocator';
16
15
  import { type TransmissionDemand } from '../transmission/projection';
17
16
  import type { RenderSceneApplyResult, RenderSceneBounds, RenderSceneInspection, RenderSceneOperation, RenderSceneSlot } from './render-scene-types';
18
17
  import { type VisibilityBudget } from './visibility/budget';
@@ -42,6 +41,15 @@ export interface RenderSceneSubmissionDelta {
42
41
  readonly epoch: number;
43
42
  readonly slots: readonly number[];
44
43
  }
44
+ /**
45
+ * Complete ShadowCaster producer projection retained beside the camera-cull
46
+ * submission frame. The persistent scene owns this sequence; record consumes
47
+ * it for the CPU residual lane without rebuilding a second scene projection.
48
+ */
49
+ export interface PersistentShadowCasterProjection {
50
+ readonly renderables: readonly RenderableSnapshot[];
51
+ readonly dispatch: readonly DispatchEntry[];
52
+ }
45
53
  /**
46
54
  * The renderer's single rebuildable CPU scene authority.
47
55
  *
@@ -57,8 +65,8 @@ export declare class RenderScene {
57
65
  private readonly freeSlots;
58
66
  private readonly slotsByWorld;
59
67
  private readonly slotsByMaterial;
68
+ private readonly slotsByAsset;
60
69
  private readonly dirtySinceSubmitted;
61
- private readonly transformUpdatedSlots;
62
70
  private temporalTracking;
63
71
  private lastSubmittedVisible;
64
72
  private submittedEpoch;
@@ -76,9 +84,9 @@ export declare class RenderScene {
76
84
  private lastResyncReason;
77
85
  /** Bounded current-scene facts for the Standard temporal producer. */
78
86
  temporalContributorCount(): number;
79
- apply(operations: readonly RenderSceneOperation[]): RenderSceneApplyResult;
80
- /** Apply version-selected GlobalTransform columns without allocating per-entity operations. */
81
- applyTransformSpans(spans: readonly WorldTransformSpan[]): RenderSceneApplyResult;
87
+ apply(operations: readonly RenderSceneOperation[], spans?: readonly WorldTransformSpan[]): RenderSceneApplyResult;
88
+ /** Rebind positional World indices while retaining stable slot and submission history. */
89
+ remapWorlds(indices: readonly number[]): void;
82
90
  /** Reconcile the current identity set while retaining slots for survivors. */
83
91
  reset(snapshots: readonly RenderableSnapshot[], countAsRebuild?: boolean): void;
84
92
  rebuild(snapshots: readonly RenderableSnapshot[]): void;
@@ -98,11 +106,13 @@ export declare class RenderScene {
98
106
  pointsLinesSnapshots(): readonly PointsLinesRetainedSnapshot[];
99
107
  slotsForMaterial(materialHandle: number): readonly RenderSceneSlot[];
100
108
  querySpatial(bounds: RenderSceneBounds): readonly RenderSceneSlot[];
109
+ get contentRevision(): number;
101
110
  inspect(): RenderSceneInspection;
102
111
  private emptyResult;
103
112
  private lookup;
104
113
  private allocate;
105
114
  private release;
115
+ addSharedRefConsumers(worldId: number, handle: number, target: Set<number>): void;
106
116
  private indexMaterials;
107
117
  private unindexMaterials;
108
118
  private temporalSnapshot;
@@ -121,9 +131,8 @@ export interface PersistentRenderSceneOptions {
121
131
  readonly onGpuError?: ((error: RhiError) => void) | undefined;
122
132
  readonly onSharedRefMutation?: ((worldId: number, handle: number) => void) | undefined;
123
133
  readonly configuredQueryBudget?: number | undefined;
124
- /** Rebuildable projection of World-owned instance matrices. */
125
- readonly instanceCollections?: InstanceProjectionStore | undefined;
126
- readonly getSkinPaletteAllocator?: (() => SkinPaletteAllocator | null) | undefined;
134
+ /** Producer-owned instance collections consumed by the same source update flow. */
135
+ readonly instanceCollections?: InstanceCollectionStore | undefined;
127
136
  }
128
137
  export interface PersistentGpuDrivenState {
129
138
  readonly scene: GpuScene;
@@ -131,6 +140,7 @@ export interface PersistentGpuDrivenState {
131
140
  readonly slots: readonly RenderSceneSlot[];
132
141
  /** Stable renderer-local World keys aligned with RenderSceneSlot.worldId. */
133
142
  readonly worldKeys?: readonly number[];
143
+ readonly structureMetrics?: GpuDrivenStructureMetrics;
134
144
  }
135
145
  export interface CpuDirectViewInput {
136
146
  readonly view: ViewKey;
@@ -186,12 +196,15 @@ export declare class PersistentRenderScene {
186
196
  private readonly materialSnapshotCaches;
187
197
  private fullRebuilds;
188
198
  private worldEntitiesScanned;
199
+ private sceneTableUploadBytes;
189
200
  private noChangeFrames;
190
201
  private deltaFrames;
191
202
  private transformUpdates;
192
203
  private lastResyncReason;
193
204
  private composition;
194
205
  private gpuScene;
206
+ private readonly retiredGpuScenes;
207
+ private shadowProjection;
195
208
  private gpuOwner;
196
209
  private gpuDevice;
197
210
  private gpuStatus;
@@ -201,6 +214,7 @@ export declare class PersistentRenderScene {
201
214
  private visibilityFacetFrame;
202
215
  private visibilityProjectionCache;
203
216
  private visibilityProjectionRevision;
217
+ private projectedIndexScratch;
204
218
  private lastActiveEntityKeys;
205
219
  /** Stable renderer-world/entity lookup; rebuilt only with composition topology. */
206
220
  private readonly stableSlotByEntity;
@@ -218,6 +232,7 @@ export declare class PersistentRenderScene {
218
232
  visibilityWorldKeysFor(worlds: readonly World[]): readonly number[];
219
233
  /** Current retained slots, available to CPU query transport as well as GPU. */
220
234
  compositionSlots(): readonly RenderSceneSlot[];
235
+ shadowCasterProjection(): PersistentShadowCasterProjection | undefined;
221
236
  /** Stable renderer-world/entity lookup shared by query and final projection paths. */
222
237
  compositionSlotByStableEntity(): ReadonlyMap<number, RenderSceneSlot>;
223
238
  private stableEntityKey;
@@ -260,6 +275,10 @@ export declare class PersistentRenderScene {
260
275
  createRecoveryRoot(scope: DeviceScope): LifecycleResourceSpec<unknown>;
261
276
  setPointsLinesInspections(inspections: readonly PointsLinesInspection[]): void;
262
277
  dispose(): void;
278
+ private retireGpuScene;
279
+ /** Read existing culling bounds; never expose cached mutable arrays. */
280
+ bounds(world: World, entity: number): RenderSceneBounds | undefined;
281
+ reflectionCaptureRevision(): string;
263
282
  inspect(): PersistentRenderSceneInspection;
264
283
  compositionGpuDrivenState(): PersistentGpuDrivenState | undefined;
265
284
  /** Publish renderer-owned previous transforms after queue submission. */
@@ -268,7 +287,7 @@ export declare class PersistentRenderScene {
268
287
  prepareTemporalFrame(visible: readonly Pick<RenderableSnapshot, 'worldId' | 'entityKey'>[]): void;
269
288
  pointsLinesSnapshots(): readonly PointsLinesRetainedSnapshot[];
270
289
  private inspectGpu;
271
- private rebuildComposition;
290
+ private reconcileComposition;
272
291
  /** Internal topology fact; the renderer does not expose demand as public API. */
273
292
  transmissionTopologyDemand(): TransmissionDemand;
274
293
  /**
@@ -276,6 +295,7 @@ export declare class PersistentRenderScene {
276
295
  * retains identity/topology/read versions; no prior frame object is an authority.
277
296
  */
278
297
  private deriveFramePlan;
298
+ private projectShadowOwnership;
279
299
  private projectProbes;
280
300
  private syncGpuOwner;
281
301
  private acquireGpuScene;
@@ -1 +1 @@
1
- {"version":3,"file":"render-scene.d.ts","sourceRoot":"","sources":["../../src/scene/render-scene.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAuB,KAAK,EAAE,MAAM,qBAAqB,CAAC;AAEtE,OAAO,KAAK,EAAE,eAAe,EAAqB,MAAM,gCAAgC,CAAC;AAEzF,OAAO,EAAE,KAAK,SAAS,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IACxE,MAAM,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS;IAmBnE,yBAAyB,IAAI,MAAM;IAInC,OAAO,IAAI,+BAA+B;IA8B1C,yBAAyB,IAAI,wBAAwB,GAAG,SAAS;IAkBjE,yEAAyE;IACzE,mBAAmB,IAAI,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC;IAwB7C,6FAA6F;IAC7F,oBAAoB,CAClB,OAAO,EAAE,SAAS,IAAI,CAAC,kBAAkB,EAAE,SAAS,GAAG,WAAW,CAAC,EAAE,GACpE,IAAI;IAQP,oBAAoB,IAAI,SAAS,2BAA2B,EAAE;IAI9D,OAAO,CAAC,UAAU;IAYlB,OAAO,CAAC,oBAAoB;IA4K5B,iFAAiF;IACjF,0BAA0B,IAAI,kBAAkB;IAShD;;;OAGG;IACH,OAAO,CAAC,eAAe;IAyDvB,OAAO,CAAC,sBAAsB;IAmC9B,OAAO,CAAC,aAAa;IA8CrB,OAAO,CAAC,YAAY;IAwCpB,OAAO,CAAC,eAAe;IA4DvB,OAAO,CAAC,OAAO;CAOhB"}
@@ -0,0 +1,5 @@
1
+ import { frustum } from '@forgeax/engine-math';
2
+ import type { ExtractedLights } from '../render-system-extract';
3
+ /** Light visibility is independent of camera visibility, including across Worlds. */
4
+ export declare function buildShadowFrusta(lights: ExtractedLights): frustum.Frustum[];
5
+ //# sourceMappingURL=shadow-visibility.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"shadow-visibility.d.ts","sourceRoot":"","sources":["../../src/scene/shadow-visibility.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAEhE,qFAAqF;AACrF,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,OAAO,EAAE,CAgB5E"}
@@ -1,17 +1,19 @@
1
- import { type Result } from '@forgeax/engine-types';
1
+ import { type RenderPipelineAsset, type Result } from '@forgeax/engine-types';
2
2
  import { PostProcessError } from './post-process-errors';
3
3
  export declare const SSAO_DEFAULT_RADIUS = 0.5;
4
4
  export declare const SSAO_DEFAULT_BIAS = 0.025;
5
5
  export declare const SSAO_DEFAULT_INTENSITY = 1;
6
- export interface SsaoParameterConfig {
7
- readonly radius?: number | undefined;
8
- readonly bias?: number | undefined;
9
- readonly intensity?: number | undefined;
10
- }
6
+ export type SsaoParameterConfig = Omit<NonNullable<NonNullable<RenderPipelineAsset['config']>['ssao']>, 'enabled'>;
7
+ export declare const SSAO_SAMPLE_COUNTS: {
8
+ readonly low: 16;
9
+ readonly medium: 32;
10
+ readonly high: 64;
11
+ };
11
12
  export interface ResolvedSsaoParameters {
12
13
  readonly radius: number;
13
14
  readonly bias: number;
14
15
  readonly intensity: number;
16
+ readonly quality: 'low' | 'medium' | 'high';
15
17
  }
16
18
  /**
17
19
  * Apply the public defaults without deciding whether the values are valid.
@@ -1 +1 @@
1
- {"version":3,"file":"ssao-config.d.ts","sourceRoot":"","sources":["../src/ssao-config.ts"],"names":[],"mappings":"AAEA,OAAO,EAAW,KAAK,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAEzD,eAAO,MAAM,mBAAmB,MAAM,CAAC;AACvC,eAAO,MAAM,iBAAiB,QAAQ,CAAC;AACvC,eAAO,MAAM,sBAAsB,IAAM,CAAC;AAE1C,MAAM,WAAW,mBAAmB;IAClC,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACrC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACnC,QAAQ,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;CACzC;AAED,MAAM,WAAW,sBAAsB;IACrC,QAAQ,CAAC,MAAM,EAAE,MAA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,mBAAmB,GAAG,SAAS,GACtC,MAAM,CAAC,sBAAsB,EAAE,gBAAgB,CAAC,CAiClD"}
@@ -6,8 +6,10 @@
6
6
  * producer. A complete receipt set is the only route to an admitted result.
7
7
  */
8
8
  import { type RhiTextureFormatCapabilityReceipt } from '@forgeax/engine-rhi';
9
+ import { type Result } from '@forgeax/engine-types';
10
+ import type { ScreenSpaceReflectionData } from '../components/screen-space-reflection';
9
11
  import type { ReflectionFallbackReceipt } from '../inspection-types';
10
- import type { SsrOwnerRecoveryAction } from './errors';
12
+ import type { SsrConfigInvalidError, SsrOwnerRecoveryAction, SsrUnavailableError } from './errors';
11
13
  import type { SsrAdmissionIdentity } from './identity';
12
14
  export declare const SSR_FORMAT_PROFILE: "r32float-mip-sampled-storage";
13
15
  export declare const SSR_FORMAT_STAGES: readonly ["texture-create", "mip-view", "sampled-storage-bind-group", "pipeline-bind", "finish", "submit", "completion", "readback"];
@@ -119,4 +121,71 @@ export declare function resolveSsrAdmissionGeneration(previousGeneration: number
119
121
  readonly changed: boolean;
120
122
  readonly generation: number | undefined;
121
123
  };
124
+ /** Standard spatial lanes that may consume an SSR candidate. */
125
+ export type SsrSpatialLane = 'clustered' | 'deferred' | 'direct' | 'cpu-webgl2' | 'forward';
126
+ /** Capability facts required by the M1 spatial path. */
127
+ export interface SsrSpatialCapabilities {
128
+ readonly compute: boolean;
129
+ readonly storageTexture: boolean;
130
+ readonly rgba16floatRenderable: boolean;
131
+ readonly r32floatSampledStorage: boolean;
132
+ }
133
+ /** Detached owner facts consumed by spatial admission. */
134
+ export interface SsrSpatialEnvironment {
135
+ readonly lane: SsrSpatialLane;
136
+ readonly m0: Pick<SsrAdmissionResult, 'status'>;
137
+ readonly sceneInputs: boolean;
138
+ /** Current-frame motion/coverage producer, not reusable previous-frame history. */
139
+ readonly temporal: boolean;
140
+ readonly reflectionFallback: boolean;
141
+ readonly capabilities: SsrSpatialCapabilities;
142
+ /** Recovery readiness is optional for callers that have no recovery fault. */
143
+ readonly recovery?: boolean;
144
+ }
145
+ /** The only camera fields used by the spatial admission owner. */
146
+ export interface SsrSpatialCamera {
147
+ readonly projection: 'perspective' | 'orthographic';
148
+ readonly near: number;
149
+ readonly far: number;
150
+ readonly screenSpaceReflection?: ScreenSpaceReflectionData;
151
+ }
152
+ export interface SsrSpatialWork {
153
+ readonly attachmentCount: number;
154
+ readonly passCount: number;
155
+ readonly bindingCount: number;
156
+ readonly resourceCount: number;
157
+ readonly historyCount: 0;
158
+ readonly temporalDemand: 0;
159
+ }
160
+ export type SsrSpatialStatus = 'not-requested' | 'requested' | 'admitted' | 'fallback-only' | 'structural-only';
161
+ export interface SsrSpatialAdmissionBase {
162
+ readonly status: SsrSpatialStatus;
163
+ readonly lane: SsrSpatialLane;
164
+ readonly config: ScreenSpaceReflectionData | undefined;
165
+ readonly viewRange: number;
166
+ readonly work: SsrSpatialWork;
167
+ }
168
+ export type SsrSpatialAdmission = (SsrSpatialAdmissionBase & {
169
+ readonly status: 'not-requested' | 'requested';
170
+ readonly failure?: undefined;
171
+ }) | (SsrSpatialAdmissionBase & {
172
+ readonly status: 'admitted';
173
+ readonly config: ScreenSpaceReflectionData;
174
+ readonly failure?: undefined;
175
+ }) | (SsrSpatialAdmissionBase & {
176
+ readonly status: 'fallback-only' | 'structural-only';
177
+ readonly failure: SsrConfigInvalidError | SsrUnavailableError;
178
+ });
179
+ /** Validate one schema-derived component value against the active view. */
180
+ export declare function validateScreenSpaceReflection(config: ScreenSpaceReflectionData, input: {
181
+ readonly viewRange: number;
182
+ }): Result<ScreenSpaceReflectionData, SsrConfigInvalidError>;
183
+ /**
184
+ * Admit the active camera's schema-derived component into the M1 spatial
185
+ * path. No graph/resource handle crosses this boundary.
186
+ */
187
+ export declare function admitSsrSpatial(input: {
188
+ readonly camera: SsrSpatialCamera;
189
+ readonly environment: SsrSpatialEnvironment;
190
+ }): SsrSpatialAdmission;
122
191
  //# sourceMappingURL=admission.d.ts.map