@forgeax/engine-render 0.1.2

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 (1172) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +1019 -0
  3. package/dist/.tsbuildinfo +1 -0
  4. package/dist/__tests__/analytic-sky-contract.test.d.ts +2 -0
  5. package/dist/__tests__/analytic-sky-contract.test.d.ts.map +1 -0
  6. package/dist/__tests__/analytic-sky-falsify.test.d.ts +2 -0
  7. package/dist/__tests__/analytic-sky-falsify.test.d.ts.map +1 -0
  8. package/dist/__tests__/assets-runtime-handoff.integration.test.d.ts +2 -0
  9. package/dist/__tests__/assets-runtime-handoff.integration.test.d.ts.map +1 -0
  10. package/dist/__tests__/authoring-path.unit.test.d.ts +2 -0
  11. package/dist/__tests__/authoring-path.unit.test.d.ts.map +1 -0
  12. package/dist/__tests__/backend-selection-rhi-capture.test-d.d.ts +2 -0
  13. package/dist/__tests__/backend-selection-rhi-capture.test-d.d.ts.map +1 -0
  14. package/dist/__tests__/backend-selection.integration.test.d.ts +2 -0
  15. package/dist/__tests__/backend-selection.integration.test.d.ts.map +1 -0
  16. package/dist/__tests__/callback-inference.test-d.d.ts +2 -0
  17. package/dist/__tests__/callback-inference.test-d.d.ts.map +1 -0
  18. package/dist/__tests__/camera-temporal.test-d.d.ts +2 -0
  19. package/dist/__tests__/camera-temporal.test-d.d.ts.map +1 -0
  20. package/dist/__tests__/camera-temporal.test.d.ts +2 -0
  21. package/dist/__tests__/camera-temporal.test.d.ts.map +1 -0
  22. package/dist/__tests__/cluster-binner.test.d.ts +2 -0
  23. package/dist/__tests__/cluster-binner.test.d.ts.map +1 -0
  24. package/dist/__tests__/cluster-grid-default-surface.unit.test.d.ts +2 -0
  25. package/dist/__tests__/cluster-grid-default-surface.unit.test.d.ts.map +1 -0
  26. package/dist/__tests__/construct-renderer-identity.unit.test.d.ts +2 -0
  27. package/dist/__tests__/construct-renderer-identity.unit.test.d.ts.map +1 -0
  28. package/dist/__tests__/direct-extract-consumer-contract.test-d.d.ts +2 -0
  29. package/dist/__tests__/direct-extract-consumer-contract.test-d.d.ts.map +1 -0
  30. package/dist/__tests__/direct-light-snapshot.unit.test.d.ts +2 -0
  31. package/dist/__tests__/direct-light-snapshot.unit.test.d.ts.map +1 -0
  32. package/dist/__tests__/directional-shadow-probe-atlas-layout.unit.test.d.ts +2 -0
  33. package/dist/__tests__/directional-shadow-probe-atlas-layout.unit.test.d.ts.map +1 -0
  34. package/dist/__tests__/environment-inspection.test.d.ts +2 -0
  35. package/dist/__tests__/environment-inspection.test.d.ts.map +1 -0
  36. package/dist/__tests__/factory-contract.integration.test.d.ts +2 -0
  37. package/dist/__tests__/factory-contract.integration.test.d.ts.map +1 -0
  38. package/dist/__tests__/fallback-row-stride-surface.unit.test.d.ts +2 -0
  39. package/dist/__tests__/fallback-row-stride-surface.unit.test.d.ts.map +1 -0
  40. package/dist/__tests__/fog-ai-user.fixture.d.ts +2 -0
  41. package/dist/__tests__/fog-ai-user.fixture.d.ts.map +1 -0
  42. package/dist/__tests__/fog-custom-render-feature.fixture.d.ts +16 -0
  43. package/dist/__tests__/fog-custom-render-feature.fixture.d.ts.map +1 -0
  44. package/dist/__tests__/fog-custom-render-feature.integration.test.d.ts +2 -0
  45. package/dist/__tests__/fog-custom-render-feature.integration.test.d.ts.map +1 -0
  46. package/dist/__tests__/fog-inspection.integration.test.d.ts +2 -0
  47. package/dist/__tests__/fog-inspection.integration.test.d.ts.map +1 -0
  48. package/dist/__tests__/fog-owner-state.integration.test.d.ts +2 -0
  49. package/dist/__tests__/fog-owner-state.integration.test.d.ts.map +1 -0
  50. package/dist/__tests__/fog-pipeline-topology.integration.test.d.ts +2 -0
  51. package/dist/__tests__/fog-pipeline-topology.integration.test.d.ts.map +1 -0
  52. package/dist/__tests__/fog-public-surface.integration.test.d.ts +2 -0
  53. package/dist/__tests__/fog-public-surface.integration.test.d.ts.map +1 -0
  54. package/dist/__tests__/fog-ray-contract.integration.test.d.ts +2 -0
  55. package/dist/__tests__/fog-ray-contract.integration.test.d.ts.map +1 -0
  56. package/dist/__tests__/fog-source-absence.integration.test.d.ts +2 -0
  57. package/dist/__tests__/fog-source-absence.integration.test.d.ts.map +1 -0
  58. package/dist/__tests__/fog-temporal.integration.test.d.ts +2 -0
  59. package/dist/__tests__/fog-temporal.integration.test.d.ts.map +1 -0
  60. package/dist/__tests__/frame-chain.unit.test.d.ts +2 -0
  61. package/dist/__tests__/frame-chain.unit.test.d.ts.map +1 -0
  62. package/dist/__tests__/frame-observation.contract.test.d.ts +2 -0
  63. package/dist/__tests__/frame-observation.contract.test.d.ts.map +1 -0
  64. package/dist/__tests__/glyph-text-layout-recovery.unit.test.d.ts +2 -0
  65. package/dist/__tests__/glyph-text-layout-recovery.unit.test.d.ts.map +1 -0
  66. package/dist/__tests__/gpu-driven-indirect-raster-evidence.d.ts +6 -0
  67. package/dist/__tests__/gpu-driven-indirect-raster-evidence.d.ts.map +1 -0
  68. package/dist/__tests__/gpu-driven-indirect-raster.browser.test.d.ts +2 -0
  69. package/dist/__tests__/gpu-driven-indirect-raster.browser.test.d.ts.map +1 -0
  70. package/dist/__tests__/gpu-driven-indirect-raster.dawn.test.d.ts +2 -0
  71. package/dist/__tests__/gpu-driven-indirect-raster.dawn.test.d.ts.map +1 -0
  72. package/dist/__tests__/gpu-driven-production.integration.test.d.ts +2 -0
  73. package/dist/__tests__/gpu-driven-production.integration.test.d.ts.map +1 -0
  74. package/dist/__tests__/gpu-driven-scaling.unit.test.d.ts +2 -0
  75. package/dist/__tests__/gpu-driven-scaling.unit.test.d.ts.map +1 -0
  76. package/dist/__tests__/gpu-driven-view-gpu-evidence.d.ts +12 -0
  77. package/dist/__tests__/gpu-driven-view-gpu-evidence.d.ts.map +1 -0
  78. package/dist/__tests__/gpu-driven-view-graph.integration.test.d.ts +2 -0
  79. package/dist/__tests__/gpu-driven-view-graph.integration.test.d.ts.map +1 -0
  80. package/dist/__tests__/gpu-driven-view.browser.test.d.ts +2 -0
  81. package/dist/__tests__/gpu-driven-view.browser.test.d.ts.map +1 -0
  82. package/dist/__tests__/gpu-driven-view.dawn.test.d.ts +2 -0
  83. package/dist/__tests__/gpu-driven-view.dawn.test.d.ts.map +1 -0
  84. package/dist/__tests__/gpu-driven-view.unit.test.d.ts +2 -0
  85. package/dist/__tests__/gpu-driven-view.unit.test.d.ts.map +1 -0
  86. package/dist/__tests__/gpu-resource-store-stride.unit.test.d.ts +2 -0
  87. package/dist/__tests__/gpu-resource-store-stride.unit.test.d.ts.map +1 -0
  88. package/dist/__tests__/gpu-scene-field-type-owner.test-d.d.ts +2 -0
  89. package/dist/__tests__/gpu-scene-field-type-owner.test-d.d.ts.map +1 -0
  90. package/dist/__tests__/gpu-scene-render-graph-gpu.d.ts +7 -0
  91. package/dist/__tests__/gpu-scene-render-graph-gpu.d.ts.map +1 -0
  92. package/dist/__tests__/gpu-scene-render-graph.browser.test.d.ts +2 -0
  93. package/dist/__tests__/gpu-scene-render-graph.browser.test.d.ts.map +1 -0
  94. package/dist/__tests__/gpu-scene-render-graph.dawn.test.d.ts +2 -0
  95. package/dist/__tests__/gpu-scene-render-graph.dawn.test.d.ts.map +1 -0
  96. package/dist/__tests__/gpu-scene-schema.unit.test.d.ts +2 -0
  97. package/dist/__tests__/gpu-scene-schema.unit.test.d.ts.map +1 -0
  98. package/dist/__tests__/gpu-scene.dawn.test.d.ts +2 -0
  99. package/dist/__tests__/gpu-scene.dawn.test.d.ts.map +1 -0
  100. package/dist/__tests__/gpu-scene.unit.test.d.ts +2 -0
  101. package/dist/__tests__/gpu-scene.unit.test.d.ts.map +1 -0
  102. package/dist/__tests__/hdrp-pipeline.unit.test.d.ts +2 -0
  103. package/dist/__tests__/hdrp-pipeline.unit.test.d.ts.map +1 -0
  104. package/dist/__tests__/ibl/ibl-fallback.unit.test.d.ts +2 -0
  105. package/dist/__tests__/ibl/ibl-fallback.unit.test.d.ts.map +1 -0
  106. package/dist/__tests__/infinite-grid-no-vertex-probe.unit.test.d.ts +2 -0
  107. package/dist/__tests__/infinite-grid-no-vertex-probe.unit.test.d.ts.map +1 -0
  108. package/dist/__tests__/injection-kind-owner.test-d.d.ts +2 -0
  109. package/dist/__tests__/injection-kind-owner.test-d.d.ts.map +1 -0
  110. package/dist/__tests__/ktx2-basis-gpu-consumer.dawn.test.d.ts +2 -0
  111. package/dist/__tests__/ktx2-basis-gpu-consumer.dawn.test.d.ts.map +1 -0
  112. package/dist/__tests__/light-buffer-layout.unit.test.d.ts +2 -0
  113. package/dist/__tests__/light-buffer-layout.unit.test.d.ts.map +1 -0
  114. package/dist/__tests__/material-contract-inventory.unit.test.d.ts +2 -0
  115. package/dist/__tests__/material-contract-inventory.unit.test.d.ts.map +1 -0
  116. package/dist/__tests__/material-cooked-projection.unit.test.d.ts +2 -0
  117. package/dist/__tests__/material-cooked-projection.unit.test.d.ts.map +1 -0
  118. package/dist/__tests__/material-derived-error-stop-draw.integration.test.d.ts +2 -0
  119. package/dist/__tests__/material-derived-error-stop-draw.integration.test.d.ts.map +1 -0
  120. package/dist/__tests__/material-derived-payload.integration.test.d.ts +2 -0
  121. package/dist/__tests__/material-derived-payload.integration.test.d.ts.map +1 -0
  122. package/dist/__tests__/material-snapshot-mutation.integration.test.d.ts +2 -0
  123. package/dist/__tests__/material-snapshot-mutation.integration.test.d.ts.map +1 -0
  124. package/dist/__tests__/material-static-dynamic-route.unit.test.d.ts +2 -0
  125. package/dist/__tests__/material-static-dynamic-route.unit.test.d.ts.map +1 -0
  126. package/dist/__tests__/material-stride-surface.unit.test.d.ts +2 -0
  127. package/dist/__tests__/material-stride-surface.unit.test.d.ts.map +1 -0
  128. package/dist/__tests__/materials.unit.test.d.ts +2 -0
  129. package/dist/__tests__/materials.unit.test.d.ts.map +1 -0
  130. package/dist/__tests__/mesh-buffer-usage-surface.unit.test.d.ts +2 -0
  131. package/dist/__tests__/mesh-buffer-usage-surface.unit.test.d.ts.map +1 -0
  132. package/dist/__tests__/mesh-material-bindings.unit.test.d.ts +2 -0
  133. package/dist/__tests__/mesh-material-bindings.unit.test.d.ts.map +1 -0
  134. package/dist/__tests__/mesh-stride-surface.unit.test.d.ts +2 -0
  135. package/dist/__tests__/mesh-stride-surface.unit.test.d.ts.map +1 -0
  136. package/dist/__tests__/morph-culling-reentry.dawn.test.d.ts +2 -0
  137. package/dist/__tests__/morph-culling-reentry.dawn.test.d.ts.map +1 -0
  138. package/dist/__tests__/morph-feature-gpu-work.integration.test.d.ts +2 -0
  139. package/dist/__tests__/morph-feature-gpu-work.integration.test.d.ts.map +1 -0
  140. package/dist/__tests__/morph-visual-evidence.integration.test.d.ts +2 -0
  141. package/dist/__tests__/morph-visual-evidence.integration.test.d.ts.map +1 -0
  142. package/dist/__tests__/nineslice-handle-surface.unit.test.d.ts +2 -0
  143. package/dist/__tests__/nineslice-handle-surface.unit.test.d.ts.map +1 -0
  144. package/dist/__tests__/param-schema-projection-census.unit.test.d.ts +2 -0
  145. package/dist/__tests__/param-schema-projection-census.unit.test.d.ts.map +1 -0
  146. package/dist/__tests__/persistent-render-scene.unit.test.d.ts +2 -0
  147. package/dist/__tests__/persistent-render-scene.unit.test.d.ts.map +1 -0
  148. package/dist/__tests__/pipeline-error-policy-owner.unit.test.d.ts +2 -0
  149. package/dist/__tests__/pipeline-error-policy-owner.unit.test.d.ts.map +1 -0
  150. package/dist/__tests__/pipeline-pass-trace.test.d.ts +2 -0
  151. package/dist/__tests__/pipeline-pass-trace.test.d.ts.map +1 -0
  152. package/dist/__tests__/pipeline-stage-owner.test-d.d.ts +2 -0
  153. package/dist/__tests__/pipeline-stage-owner.test-d.d.ts.map +1 -0
  154. package/dist/__tests__/plugin.test.d.ts +2 -0
  155. package/dist/__tests__/plugin.test.d.ts.map +1 -0
  156. package/dist/__tests__/post-process-error-policy-owner.unit.test.d.ts +2 -0
  157. package/dist/__tests__/post-process-error-policy-owner.unit.test.d.ts.map +1 -0
  158. package/dist/__tests__/prepared-buffer-kind-owner.test-d.d.ts +2 -0
  159. package/dist/__tests__/prepared-buffer-kind-owner.test-d.d.ts.map +1 -0
  160. package/dist/__tests__/prepared-graphics-backend-matrix.unit.test.d.ts +2 -0
  161. package/dist/__tests__/prepared-graphics-backend-matrix.unit.test.d.ts.map +1 -0
  162. package/dist/__tests__/prepared-graphics-capability.unit.test.d.ts +2 -0
  163. package/dist/__tests__/prepared-graphics-capability.unit.test.d.ts.map +1 -0
  164. package/dist/__tests__/prepared-graphics-generation.unit.test.d.ts +2 -0
  165. package/dist/__tests__/prepared-graphics-generation.unit.test.d.ts.map +1 -0
  166. package/dist/__tests__/prepared-graphics-lifecycle.unit.test.d.ts +2 -0
  167. package/dist/__tests__/prepared-graphics-lifecycle.unit.test.d.ts.map +1 -0
  168. package/dist/__tests__/prepared-graphics-pipeline-warmup.unit.test.d.ts +2 -0
  169. package/dist/__tests__/prepared-graphics-pipeline-warmup.unit.test.d.ts.map +1 -0
  170. package/dist/__tests__/prepared-graphics-resolver-recording.unit.test.d.ts +2 -0
  171. package/dist/__tests__/prepared-graphics-resolver-recording.unit.test.d.ts.map +1 -0
  172. package/dist/__tests__/prepared-graphics-resolver.unit.test.d.ts +2 -0
  173. package/dist/__tests__/prepared-graphics-resolver.unit.test.d.ts.map +1 -0
  174. package/dist/__tests__/prepared-graphics-snapshot.unit.test.d.ts +2 -0
  175. package/dist/__tests__/prepared-graphics-snapshot.unit.test.d.ts.map +1 -0
  176. package/dist/__tests__/prepared-graphics-store.unit.test.d.ts +2 -0
  177. package/dist/__tests__/prepared-graphics-store.unit.test.d.ts.map +1 -0
  178. package/dist/__tests__/prepared-graphics-validation.unit.test.d.ts +2 -0
  179. package/dist/__tests__/prepared-graphics-validation.unit.test.d.ts.map +1 -0
  180. package/dist/__tests__/profiler-default-off.test.d.ts +2 -0
  181. package/dist/__tests__/profiler-default-off.test.d.ts.map +1 -0
  182. package/dist/__tests__/profiler-phase-catalog.test.d.ts +2 -0
  183. package/dist/__tests__/profiler-phase-catalog.test.d.ts.map +1 -0
  184. package/dist/__tests__/profiler-phase-integration.test.d.ts +2 -0
  185. package/dist/__tests__/profiler-phase-integration.test.d.ts.map +1 -0
  186. package/dist/__tests__/profiler-phase-token.test.d.ts +2 -0
  187. package/dist/__tests__/profiler-phase-token.test.d.ts.map +1 -0
  188. package/dist/__tests__/public-pipeline-id.test-d.d.ts +2 -0
  189. package/dist/__tests__/public-pipeline-id.test-d.d.ts.map +1 -0
  190. package/dist/__tests__/public-surface.test-d.d.ts +2 -0
  191. package/dist/__tests__/public-surface.test-d.d.ts.map +1 -0
  192. package/dist/__tests__/recover-error-policy-owner.unit.test.d.ts +2 -0
  193. package/dist/__tests__/recover-error-policy-owner.unit.test.d.ts.map +1 -0
  194. package/dist/__tests__/render-dispatch-membership.unit.test.d.ts +2 -0
  195. package/dist/__tests__/render-dispatch-membership.unit.test.d.ts.map +1 -0
  196. package/dist/__tests__/render-error-code-owner.test-d.d.ts +2 -0
  197. package/dist/__tests__/render-error-code-owner.test-d.d.ts.map +1 -0
  198. package/dist/__tests__/render-error-detail-ssot.test-d.d.ts +2 -0
  199. package/dist/__tests__/render-error-detail-ssot.test-d.d.ts.map +1 -0
  200. package/dist/__tests__/render-error-exhaustive.test-d.d.ts +2 -0
  201. package/dist/__tests__/render-error-exhaustive.test-d.d.ts.map +1 -0
  202. package/dist/__tests__/render-feature-assembly.test-d.d.ts +2 -0
  203. package/dist/__tests__/render-feature-assembly.test-d.d.ts.map +1 -0
  204. package/dist/__tests__/render-feature-construction.unit.test.d.ts +2 -0
  205. package/dist/__tests__/render-feature-construction.unit.test.d.ts.map +1 -0
  206. package/dist/__tests__/render-feature-context.test-d.d.ts +2 -0
  207. package/dist/__tests__/render-feature-context.test-d.d.ts.map +1 -0
  208. package/dist/__tests__/render-feature-contract.test-d.d.ts +2 -0
  209. package/dist/__tests__/render-feature-contract.test-d.d.ts.map +1 -0
  210. package/dist/__tests__/render-feature-diagnostics.unit.test.d.ts +2 -0
  211. package/dist/__tests__/render-feature-diagnostics.unit.test.d.ts.map +1 -0
  212. package/dist/__tests__/render-feature-docs.unit.test.d.ts +2 -0
  213. package/dist/__tests__/render-feature-docs.unit.test.d.ts.map +1 -0
  214. package/dist/__tests__/render-feature-error-code-owner.test-d.d.ts +2 -0
  215. package/dist/__tests__/render-feature-error-code-owner.test-d.d.ts.map +1 -0
  216. package/dist/__tests__/render-feature-errors.unit.test.d.ts +2 -0
  217. package/dist/__tests__/render-feature-errors.unit.test.d.ts.map +1 -0
  218. package/dist/__tests__/render-feature-gpu-buffer-usage-owner.test-d.d.ts +2 -0
  219. package/dist/__tests__/render-feature-gpu-buffer-usage-owner.test-d.d.ts.map +1 -0
  220. package/dist/__tests__/render-feature-gpu-work.integration.test.d.ts +2 -0
  221. package/dist/__tests__/render-feature-gpu-work.integration.test.d.ts.map +1 -0
  222. package/dist/__tests__/render-feature-graph.integration.test.d.ts +2 -0
  223. package/dist/__tests__/render-feature-graph.integration.test.d.ts.map +1 -0
  224. package/dist/__tests__/render-feature-graphics-staging.unit.test.d.ts +2 -0
  225. package/dist/__tests__/render-feature-graphics-staging.unit.test.d.ts.map +1 -0
  226. package/dist/__tests__/render-feature-order.unit.test.d.ts +2 -0
  227. package/dist/__tests__/render-feature-order.unit.test.d.ts.map +1 -0
  228. package/dist/__tests__/render-feature-prepared-diagnostics.unit.test.d.ts +2 -0
  229. package/dist/__tests__/render-feature-prepared-diagnostics.unit.test.d.ts.map +1 -0
  230. package/dist/__tests__/render-feature-prepared-errors.test-d.d.ts +2 -0
  231. package/dist/__tests__/render-feature-prepared-errors.test-d.d.ts.map +1 -0
  232. package/dist/__tests__/render-feature-prepared-graphics-docs.unit.test.d.ts +2 -0
  233. package/dist/__tests__/render-feature-prepared-graphics-docs.unit.test.d.ts.map +1 -0
  234. package/dist/__tests__/render-feature-prepared-graphics-isolation.unit.test.d.ts +2 -0
  235. package/dist/__tests__/render-feature-prepared-graphics-isolation.unit.test.d.ts.map +1 -0
  236. package/dist/__tests__/render-feature-prepared-graphics-negative.test-d.d.ts +2 -0
  237. package/dist/__tests__/render-feature-prepared-graphics-negative.test-d.d.ts.map +1 -0
  238. package/dist/__tests__/render-feature-prepared-graphics-recording.unit.test.d.ts +2 -0
  239. package/dist/__tests__/render-feature-prepared-graphics-recording.unit.test.d.ts.map +1 -0
  240. package/dist/__tests__/render-feature-prepared-graphics.test-d.d.ts +2 -0
  241. package/dist/__tests__/render-feature-prepared-graphics.test-d.d.ts.map +1 -0
  242. package/dist/__tests__/render-feature-prepared-graphics.unit.test.d.ts +2 -0
  243. package/dist/__tests__/render-feature-prepared-graphics.unit.test.d.ts.map +1 -0
  244. package/dist/__tests__/render-feature-public-surface.test-d.d.ts +2 -0
  245. package/dist/__tests__/render-feature-public-surface.test-d.d.ts.map +1 -0
  246. package/dist/__tests__/render-feature-retry.unit.test.d.ts +2 -0
  247. package/dist/__tests__/render-feature-retry.unit.test.d.ts.map +1 -0
  248. package/dist/__tests__/render-feature-scheduling.unit.test.d.ts +2 -0
  249. package/dist/__tests__/render-feature-scheduling.unit.test.d.ts.map +1 -0
  250. package/dist/__tests__/render-feature-stage-failed-policy-owner.unit.test.d.ts +2 -0
  251. package/dist/__tests__/render-feature-stage-failed-policy-owner.unit.test.d.ts.map +1 -0
  252. package/dist/__tests__/render-feature-stage-fault-recovery.unit.test.d.ts +2 -0
  253. package/dist/__tests__/render-feature-stage-fault-recovery.unit.test.d.ts.map +1 -0
  254. package/dist/__tests__/render-feature-staging.unit.test.d.ts +2 -0
  255. package/dist/__tests__/render-feature-staging.unit.test.d.ts.map +1 -0
  256. package/dist/__tests__/render-feature-visibility-context.test-d.d.ts +2 -0
  257. package/dist/__tests__/render-feature-visibility-context.test-d.d.ts.map +1 -0
  258. package/dist/__tests__/render-feature-visibility-context.unit.test.d.ts +2 -0
  259. package/dist/__tests__/render-feature-visibility-context.unit.test.d.ts.map +1 -0
  260. package/dist/__tests__/render-feature-zero-work.unit.test.d.ts +2 -0
  261. package/dist/__tests__/render-feature-zero-work.unit.test.d.ts.map +1 -0
  262. package/dist/__tests__/render-graph-compute-raster-gpu.d.ts +7 -0
  263. package/dist/__tests__/render-graph-compute-raster-gpu.d.ts.map +1 -0
  264. package/dist/__tests__/render-graph-compute-raster.browser.test.d.ts +2 -0
  265. package/dist/__tests__/render-graph-compute-raster.browser.test.d.ts.map +1 -0
  266. package/dist/__tests__/render-graph-compute-raster.dawn.test.d.ts +2 -0
  267. package/dist/__tests__/render-graph-compute-raster.dawn.test.d.ts.map +1 -0
  268. package/dist/__tests__/render-graph-hzb-gpu.d.ts +7 -0
  269. package/dist/__tests__/render-graph-hzb-gpu.d.ts.map +1 -0
  270. package/dist/__tests__/render-graph-hzb.browser.test.d.ts +2 -0
  271. package/dist/__tests__/render-graph-hzb.browser.test.d.ts.map +1 -0
  272. package/dist/__tests__/render-graph-hzb.dawn.test.d.ts +2 -0
  273. package/dist/__tests__/render-graph-hzb.dawn.test.d.ts.map +1 -0
  274. package/dist/__tests__/render-graph-primitives.unit.test.d.ts +2 -0
  275. package/dist/__tests__/render-graph-primitives.unit.test.d.ts.map +1 -0
  276. package/dist/__tests__/render-graph-storage-indirect-gpu.d.ts +12 -0
  277. package/dist/__tests__/render-graph-storage-indirect-gpu.d.ts.map +1 -0
  278. package/dist/__tests__/render-graph-storage-indirect.browser.test.d.ts +2 -0
  279. package/dist/__tests__/render-graph-storage-indirect.browser.test.d.ts.map +1 -0
  280. package/dist/__tests__/render-graph-storage-indirect.dawn.test.d.ts +2 -0
  281. package/dist/__tests__/render-graph-storage-indirect.dawn.test.d.ts.map +1 -0
  282. package/dist/__tests__/render-scene-projection.unit.test.d.ts +2 -0
  283. package/dist/__tests__/render-scene-projection.unit.test.d.ts.map +1 -0
  284. package/dist/__tests__/renderer-factory-material-contract.unit.test.d.ts +2 -0
  285. package/dist/__tests__/renderer-factory-material-contract.unit.test.d.ts.map +1 -0
  286. package/dist/__tests__/renderer-lifecycle.integration.test.d.ts +2 -0
  287. package/dist/__tests__/renderer-lifecycle.integration.test.d.ts.map +1 -0
  288. package/dist/__tests__/renderer-render-scene-public.test-d.d.ts +2 -0
  289. package/dist/__tests__/renderer-render-scene-public.test-d.d.ts.map +1 -0
  290. package/dist/__tests__/rhi-backend-package-boundary.unit.test.d.ts +2 -0
  291. package/dist/__tests__/rhi-backend-package-boundary.unit.test.d.ts.map +1 -0
  292. package/dist/__tests__/scene-temporal-coverage.unit.test.d.ts +2 -0
  293. package/dist/__tests__/scene-temporal-coverage.unit.test.d.ts.map +1 -0
  294. package/dist/__tests__/scriptable-pack-consumer.test-d.d.ts +2 -0
  295. package/dist/__tests__/scriptable-pack-consumer.test-d.d.ts.map +1 -0
  296. package/dist/__tests__/shader-stage-surface.unit.test.d.ts +2 -0
  297. package/dist/__tests__/shader-stage-surface.unit.test.d.ts.map +1 -0
  298. package/dist/__tests__/ssao-kernel-surface.unit.test.d.ts +2 -0
  299. package/dist/__tests__/ssao-kernel-surface.unit.test.d.ts.map +1 -0
  300. package/dist/__tests__/sun-snapshot-consumers.test.d.ts +2 -0
  301. package/dist/__tests__/sun-snapshot-consumers.test.d.ts.map +1 -0
  302. package/dist/__tests__/surface-backend-kind-owner.test-d.d.ts +2 -0
  303. package/dist/__tests__/surface-backend-kind-owner.test-d.d.ts.map +1 -0
  304. package/dist/__tests__/surface-configuration.unit.test.d.ts +2 -0
  305. package/dist/__tests__/surface-configuration.unit.test.d.ts.map +1 -0
  306. package/dist/__tests__/taa-history-store.unit.test.d.ts +2 -0
  307. package/dist/__tests__/taa-history-store.unit.test.d.ts.map +1 -0
  308. package/dist/__tests__/temporal-frame-transaction.integration.test.d.ts +2 -0
  309. package/dist/__tests__/temporal-frame-transaction.integration.test.d.ts.map +1 -0
  310. package/dist/__tests__/temporal-inspection.unit.test.d.ts +2 -0
  311. package/dist/__tests__/temporal-inspection.unit.test.d.ts.map +1 -0
  312. package/dist/__tests__/texture-usage-surface.unit.test.d.ts +2 -0
  313. package/dist/__tests__/texture-usage-surface.unit.test.d.ts.map +1 -0
  314. package/dist/__tests__/typed-pipeline-topology.unit.test.d.ts +2 -0
  315. package/dist/__tests__/typed-pipeline-topology.unit.test.d.ts.map +1 -0
  316. package/dist/__tests__/urp-pipeline-targets.unit.test.d.ts +2 -0
  317. package/dist/__tests__/urp-pipeline-targets.unit.test.d.ts.map +1 -0
  318. package/dist/__tests__/urp-pipeline.unit.test.d.ts +2 -0
  319. package/dist/__tests__/urp-pipeline.unit.test.d.ts.map +1 -0
  320. package/dist/__tests__/vertex-color-pipeline.unit.test.d.ts +2 -0
  321. package/dist/__tests__/vertex-color-pipeline.unit.test.d.ts.map +1 -0
  322. package/dist/__tests__/vertex-layout-consumer.unit.test.d.ts +2 -0
  323. package/dist/__tests__/vertex-layout-consumer.unit.test.d.ts.map +1 -0
  324. package/dist/__tests__/visibility-diagnostics.integration.test.d.ts +2 -0
  325. package/dist/__tests__/visibility-diagnostics.integration.test.d.ts.map +1 -0
  326. package/dist/__tests__/visibility-extract.integration.test.d.ts +2 -0
  327. package/dist/__tests__/visibility-extract.integration.test.d.ts.map +1 -0
  328. package/dist/__tests__/visibility-extract.perf.test.d.ts +2 -0
  329. package/dist/__tests__/visibility-extract.perf.test.d.ts.map +1 -0
  330. package/dist/__tests__/visibility-feature-dedup.integration.test.d.ts +2 -0
  331. package/dist/__tests__/visibility-feature-dedup.integration.test.d.ts.map +1 -0
  332. package/dist/__tests__/visibility-hidden-report.unit.test.d.ts +2 -0
  333. package/dist/__tests__/visibility-hidden-report.unit.test.d.ts.map +1 -0
  334. package/dist/__tests__/visibility-instances.integration.test.d.ts +2 -0
  335. package/dist/__tests__/visibility-instances.integration.test.d.ts.map +1 -0
  336. package/dist/__tests__/visibility-multi-world.integration.test.d.ts +2 -0
  337. package/dist/__tests__/visibility-multi-world.integration.test.d.ts.map +1 -0
  338. package/dist/__tests__/visibility-producer-matrix.integration.test.d.ts +2 -0
  339. package/dist/__tests__/visibility-producer-matrix.integration.test.d.ts.map +1 -0
  340. package/dist/__tests__/visibility-producer-matrix.unit.test.d.ts +2 -0
  341. package/dist/__tests__/visibility-producer-matrix.unit.test.d.ts.map +1 -0
  342. package/dist/__tests__/visibility-public-surface.test-d.d.ts +2 -0
  343. package/dist/__tests__/visibility-public-surface.test-d.d.ts.map +1 -0
  344. package/dist/__tests__/visibility-resolver.unit.test.d.ts +2 -0
  345. package/dist/__tests__/visibility-resolver.unit.test.d.ts.map +1 -0
  346. package/dist/__tests__/visibility-snapshot-contract.unit.test.d.ts +2 -0
  347. package/dist/__tests__/visibility-snapshot-contract.unit.test.d.ts.map +1 -0
  348. package/dist/__tests__/vocabulary.unit.test.d.ts +2 -0
  349. package/dist/__tests__/vocabulary.unit.test.d.ts.map +1 -0
  350. package/dist/assets/__tests__/asset-decoders.unit.test.d.ts +2 -0
  351. package/dist/assets/__tests__/asset-decoders.unit.test.d.ts.map +1 -0
  352. package/dist/assets/__tests__/mipmap-generator.unit.test.d.ts +2 -0
  353. package/dist/assets/__tests__/mipmap-generator.unit.test.d.ts.map +1 -0
  354. package/dist/assets/__tests__/render-asset-port.unit.test.d.ts +2 -0
  355. package/dist/assets/__tests__/render-asset-port.unit.test.d.ts.map +1 -0
  356. package/dist/assets/__tests__/resolve-render-asset.unit.test.d.ts +2 -0
  357. package/dist/assets/__tests__/resolve-render-asset.unit.test.d.ts.map +1 -0
  358. package/dist/assets/asset-decoders.d.ts +5 -0
  359. package/dist/assets/asset-decoders.d.ts.map +1 -0
  360. package/dist/assets/render-asset-port.d.ts +17 -0
  361. package/dist/assets/render-asset-port.d.ts.map +1 -0
  362. package/dist/assets/resolve-render-asset.d.ts +6 -0
  363. package/dist/assets/resolve-render-asset.d.ts.map +1 -0
  364. package/dist/authoring.d.ts +12 -0
  365. package/dist/authoring.d.ts.map +1 -0
  366. package/dist/authoring.mjs +5 -0
  367. package/dist/authoring.mjs.map +1 -0
  368. package/dist/chunk-33UF5SAO.mjs +7397 -0
  369. package/dist/chunk-33UF5SAO.mjs.map +1 -0
  370. package/dist/chunk-A5QCJSNL.mjs +29913 -0
  371. package/dist/chunk-A5QCJSNL.mjs.map +1 -0
  372. package/dist/chunk-JMSB7AR4.mjs +3 -0
  373. package/dist/chunk-JMSB7AR4.mjs.map +1 -0
  374. package/dist/chunk-LXNGO6AO.mjs +569 -0
  375. package/dist/chunk-LXNGO6AO.mjs.map +1 -0
  376. package/dist/chunk-QRXPSX4X.mjs +659 -0
  377. package/dist/chunk-QRXPSX4X.mjs.map +1 -0
  378. package/dist/chunk-YAKEQPWO.mjs +1439 -0
  379. package/dist/chunk-YAKEQPWO.mjs.map +1 -0
  380. package/dist/cluster-binner.d.ts +152 -0
  381. package/dist/cluster-binner.d.ts.map +1 -0
  382. package/dist/components/__tests__/atmosphere-red.test.d.ts +2 -0
  383. package/dist/components/__tests__/atmosphere-red.test.d.ts.map +1 -0
  384. package/dist/components/__tests__/atmosphere.test.d.ts +2 -0
  385. package/dist/components/__tests__/atmosphere.test.d.ts.map +1 -0
  386. package/dist/components/__tests__/fog.test-d.d.ts +2 -0
  387. package/dist/components/__tests__/fog.test-d.d.ts.map +1 -0
  388. package/dist/components/__tests__/fog.test.d.ts +2 -0
  389. package/dist/components/__tests__/fog.test.d.ts.map +1 -0
  390. package/dist/components/__tests__/schema-parity.unit.test.d.ts +2 -0
  391. package/dist/components/__tests__/schema-parity.unit.test.d.ts.map +1 -0
  392. package/dist/components/__tests__/visibility-schema.unit.test.d.ts +2 -0
  393. package/dist/components/__tests__/visibility-schema.unit.test.d.ts.map +1 -0
  394. package/dist/components/atmosphere.d.ts +18 -0
  395. package/dist/components/atmosphere.d.ts.map +1 -0
  396. package/dist/components/camera.d.ts +311 -0
  397. package/dist/components/camera.d.ts.map +1 -0
  398. package/dist/components/directional-light.d.ts +76 -0
  399. package/dist/components/directional-light.d.ts.map +1 -0
  400. package/dist/components/environment.d.ts +116 -0
  401. package/dist/components/environment.d.ts.map +1 -0
  402. package/dist/components/glyph-text.d.ts +26 -0
  403. package/dist/components/glyph-text.d.ts.map +1 -0
  404. package/dist/components/index.d.ts +22 -0
  405. package/dist/components/index.d.ts.map +1 -0
  406. package/dist/components/instances.d.ts +41 -0
  407. package/dist/components/instances.d.ts.map +1 -0
  408. package/dist/components/layer.d.ts +34 -0
  409. package/dist/components/layer.d.ts.map +1 -0
  410. package/dist/components/light-helpers.d.ts +53 -0
  411. package/dist/components/light-helpers.d.ts.map +1 -0
  412. package/dist/components/mesh-filter.d.ts +24 -0
  413. package/dist/components/mesh-filter.d.ts.map +1 -0
  414. package/dist/components/mesh-renderer.d.ts +33 -0
  415. package/dist/components/mesh-renderer.d.ts.map +1 -0
  416. package/dist/components/point-light-shadow.d.ts +27 -0
  417. package/dist/components/point-light-shadow.d.ts.map +1 -0
  418. package/dist/components/point-light.d.ts +35 -0
  419. package/dist/components/point-light.d.ts.map +1 -0
  420. package/dist/components/post-process-params.d.ts +5 -0
  421. package/dist/components/post-process-params.d.ts.map +1 -0
  422. package/dist/components/scene-instance.d.ts +140 -0
  423. package/dist/components/scene-instance.d.ts.map +1 -0
  424. package/dist/components/sort-key.d.ts +44 -0
  425. package/dist/components/sort-key.d.ts.map +1 -0
  426. package/dist/components/spot-light.d.ts +81 -0
  427. package/dist/components/spot-light.d.ts.map +1 -0
  428. package/dist/components/sprite-animation.d.ts +75 -0
  429. package/dist/components/sprite-animation.d.ts.map +1 -0
  430. package/dist/components/sprite-instances.d.ts +51 -0
  431. package/dist/components/sprite-instances.d.ts.map +1 -0
  432. package/dist/components/sprite-playback-mode.d.ts +37 -0
  433. package/dist/components/sprite-playback-mode.d.ts.map +1 -0
  434. package/dist/components/sprite-region-override.d.ts +47 -0
  435. package/dist/components/sprite-region-override.d.ts.map +1 -0
  436. package/dist/components/tile-layer.d.ts +101 -0
  437. package/dist/components/tile-layer.d.ts.map +1 -0
  438. package/dist/components/tilemap.d.ts +25 -0
  439. package/dist/components/tilemap.d.ts.map +1 -0
  440. package/dist/components/visibility.d.ts +22 -0
  441. package/dist/components/visibility.d.ts.map +1 -0
  442. package/dist/construct-renderer.d.ts +2 -0
  443. package/dist/construct-renderer.d.ts.map +1 -0
  444. package/dist/construct-renderer.mjs +6 -0
  445. package/dist/construct-renderer.mjs.map +1 -0
  446. package/dist/debug-draw-glue.d.ts +56 -0
  447. package/dist/debug-draw-glue.d.ts.map +1 -0
  448. package/dist/deferred-lighting.d.ts +13 -0
  449. package/dist/deferred-lighting.d.ts.map +1 -0
  450. package/dist/dynamic-texture-store.d.ts +42 -0
  451. package/dist/dynamic-texture-store.d.ts.map +1 -0
  452. package/dist/engine-metrics.d.ts +23 -0
  453. package/dist/engine-metrics.d.ts.map +1 -0
  454. package/dist/environment/__tests__/failure-injection.test.d.ts +2 -0
  455. package/dist/environment/__tests__/failure-injection.test.d.ts.map +1 -0
  456. package/dist/environment/__tests__/generation-red.test.d.ts +2 -0
  457. package/dist/environment/__tests__/generation-red.test.d.ts.map +1 -0
  458. package/dist/environment/__tests__/generation.test.d.ts +2 -0
  459. package/dist/environment/__tests__/generation.test.d.ts.map +1 -0
  460. package/dist/environment/__tests__/graph-transaction.test.d.ts +2 -0
  461. package/dist/environment/__tests__/graph-transaction.test.d.ts.map +1 -0
  462. package/dist/environment/__tests__/inspection-red.test.d.ts +2 -0
  463. package/dist/environment/__tests__/inspection-red.test.d.ts.map +1 -0
  464. package/dist/environment/__tests__/lifecycle-evidence.test.d.ts +2 -0
  465. package/dist/environment/__tests__/lifecycle-evidence.test.d.ts.map +1 -0
  466. package/dist/environment/__tests__/pipeline-topology.test.d.ts +2 -0
  467. package/dist/environment/__tests__/pipeline-topology.test.d.ts.map +1 -0
  468. package/dist/environment/__tests__/readiness.test.d.ts +2 -0
  469. package/dist/environment/__tests__/readiness.test.d.ts.map +1 -0
  470. package/dist/environment/__tests__/recovery.test.d.ts +2 -0
  471. package/dist/environment/__tests__/recovery.test.d.ts.map +1 -0
  472. package/dist/environment/__tests__/resize-dispose.test.d.ts +2 -0
  473. package/dist/environment/__tests__/resize-dispose.test.d.ts.map +1 -0
  474. package/dist/environment/__tests__/signature-red.test.d.ts +2 -0
  475. package/dist/environment/__tests__/signature-red.test.d.ts.map +1 -0
  476. package/dist/environment/__tests__/signature.test.d.ts +2 -0
  477. package/dist/environment/__tests__/signature.test.d.ts.map +1 -0
  478. package/dist/environment/descriptors.d.ts +2 -0
  479. package/dist/environment/descriptors.d.ts.map +1 -0
  480. package/dist/environment/extracted-environment.d.ts +53 -0
  481. package/dist/environment/extracted-environment.d.ts.map +1 -0
  482. package/dist/environment/generation.d.ts +62 -0
  483. package/dist/environment/generation.d.ts.map +1 -0
  484. package/dist/environment/gpu-bundle.d.ts +23 -0
  485. package/dist/environment/gpu-bundle.d.ts.map +1 -0
  486. package/dist/environment/graph.d.ts +108 -0
  487. package/dist/environment/graph.d.ts.map +1 -0
  488. package/dist/environment/inspection.d.ts +48 -0
  489. package/dist/environment/inspection.d.ts.map +1 -0
  490. package/dist/environment/lifecycle.d.ts +22 -0
  491. package/dist/environment/lifecycle.d.ts.map +1 -0
  492. package/dist/environment/readiness.d.ts +29 -0
  493. package/dist/environment/readiness.d.ts.map +1 -0
  494. package/dist/environment/signature.d.ts +70 -0
  495. package/dist/environment/signature.d.ts.map +1 -0
  496. package/dist/errors/ecs-validation.d.ts +3 -0
  497. package/dist/errors/ecs-validation.d.ts.map +1 -0
  498. package/dist/errors/index.d.ts +4 -0
  499. package/dist/errors/index.d.ts.map +1 -0
  500. package/dist/errors/recover.d.ts +78 -0
  501. package/dist/errors/recover.d.ts.map +1 -0
  502. package/dist/errors/render.d.ts +633 -0
  503. package/dist/errors/render.d.ts.map +1 -0
  504. package/dist/extract/__tests__/directional-csm-domain.unit.test.d.ts +2 -0
  505. package/dist/extract/__tests__/directional-csm-domain.unit.test.d.ts.map +1 -0
  506. package/dist/extract/__tests__/environment-source.test.d.ts +2 -0
  507. package/dist/extract/__tests__/environment-source.test.d.ts.map +1 -0
  508. package/dist/extract/__tests__/schema-readers.unit.test.d.ts +2 -0
  509. package/dist/extract/__tests__/schema-readers.unit.test.d.ts.map +1 -0
  510. package/dist/extract/directional-csm.d.ts +129 -0
  511. package/dist/extract/directional-csm.d.ts.map +1 -0
  512. package/dist/extract/index.d.ts +5 -0
  513. package/dist/extract/index.d.ts.map +1 -0
  514. package/dist/extract/material-interface.d.ts +56 -0
  515. package/dist/extract/material-interface.d.ts.map +1 -0
  516. package/dist/extract/schema-readers.d.ts +20 -0
  517. package/dist/extract/schema-readers.d.ts.map +1 -0
  518. package/dist/extract/visibility.d.ts +26 -0
  519. package/dist/extract/visibility.d.ts.map +1 -0
  520. package/dist/features/graph-contribution.d.ts +64 -0
  521. package/dist/features/graph-contribution.d.ts.map +1 -0
  522. package/dist/features/host.d.ts +100 -0
  523. package/dist/features/host.d.ts.map +1 -0
  524. package/dist/features/index.d.ts +21 -0
  525. package/dist/features/index.d.ts.map +1 -0
  526. package/dist/features/morph/index.d.ts +3 -0
  527. package/dist/features/morph/index.d.ts.map +1 -0
  528. package/dist/features/morph/morph-bounds.d.ts +42 -0
  529. package/dist/features/morph/morph-bounds.d.ts.map +1 -0
  530. package/dist/features/morph/morph-feature.d.ts +45 -0
  531. package/dist/features/morph/morph-feature.d.ts.map +1 -0
  532. package/dist/features/prepared-gpu-work.d.ts +113 -0
  533. package/dist/features/prepared-gpu-work.d.ts.map +1 -0
  534. package/dist/features/prepared-graphics-store.d.ts +65 -0
  535. package/dist/features/prepared-graphics-store.d.ts.map +1 -0
  536. package/dist/features/prepared-graphics.d.ts +225 -0
  537. package/dist/features/prepared-graphics.d.ts.map +1 -0
  538. package/dist/features/render-graph-compute.d.ts +13 -0
  539. package/dist/features/render-graph-compute.d.ts.map +1 -0
  540. package/dist/features/render-graph-contribution.d.ts +15 -0
  541. package/dist/features/render-graph-contribution.d.ts.map +1 -0
  542. package/dist/features/render-graph-raster.d.ts +34 -0
  543. package/dist/features/render-graph-raster.d.ts.map +1 -0
  544. package/dist/features/render-graph-resources.d.ts +11 -0
  545. package/dist/features/render-graph-resources.d.ts.map +1 -0
  546. package/dist/features/scene-temporal.d.ts +45 -0
  547. package/dist/features/scene-temporal.d.ts.map +1 -0
  548. package/dist/features/taa-resolve.d.ts +21 -0
  549. package/dist/features/taa-resolve.d.ts.map +1 -0
  550. package/dist/features/targets.d.ts +32 -0
  551. package/dist/features/targets.d.ts.map +1 -0
  552. package/dist/features/types.d.ts +247 -0
  553. package/dist/features/types.d.ts.map +1 -0
  554. package/dist/frame-chain.d.ts +14 -0
  555. package/dist/frame-chain.d.ts.map +1 -0
  556. package/dist/fullscreen-post-process-pass.d.ts +178 -0
  557. package/dist/fullscreen-post-process-pass.d.ts.map +1 -0
  558. package/dist/glyph-text-layout-system.d.ts +18 -0
  559. package/dist/glyph-text-layout-system.d.ts.map +1 -0
  560. package/dist/gpu-driven/batch-topology.d.ts +124 -0
  561. package/dist/gpu-driven/batch-topology.d.ts.map +1 -0
  562. package/dist/gpu-driven/production-raster.d.ts +150 -0
  563. package/dist/gpu-driven/production-raster.d.ts.map +1 -0
  564. package/dist/gpu-driven/view-gpu.d.ts +141 -0
  565. package/dist/gpu-driven/view-gpu.d.ts.map +1 -0
  566. package/dist/gpu-driven/view-reference.d.ts +15 -0
  567. package/dist/gpu-driven/view-reference.d.ts.map +1 -0
  568. package/dist/gpu-resource-store.d.ts +294 -0
  569. package/dist/gpu-resource-store.d.ts.map +1 -0
  570. package/dist/gpu-resource.d.ts +73 -0
  571. package/dist/gpu-resource.d.ts.map +1 -0
  572. package/dist/gpu-scene-schema.d.ts +171 -0
  573. package/dist/gpu-scene-schema.d.ts.map +1 -0
  574. package/dist/gpu-scene.d.ts +81 -0
  575. package/dist/gpu-scene.d.ts.map +1 -0
  576. package/dist/gpu-stage.d.ts +4 -0
  577. package/dist/gpu-stage.d.ts.map +1 -0
  578. package/dist/gpu-texture-usage.d.ts +6 -0
  579. package/dist/gpu-texture-usage.d.ts.map +1 -0
  580. package/dist/gpu-usage.d.ts +9 -0
  581. package/dist/gpu-usage.d.ts.map +1 -0
  582. package/dist/hdrp-buffers.d.ts +213 -0
  583. package/dist/hdrp-buffers.d.ts.map +1 -0
  584. package/dist/hdrp-cluster-membership.d.ts +2 -0
  585. package/dist/hdrp-cluster-membership.d.ts.map +1 -0
  586. package/dist/hdrp-pipeline.d.ts +36 -0
  587. package/dist/hdrp-pipeline.d.ts.map +1 -0
  588. package/dist/ibl/IblPipelineCache.d.ts +274 -0
  589. package/dist/ibl/IblPipelineCache.d.ts.map +1 -0
  590. package/dist/ibl/cubemap-projection.d.ts +23 -0
  591. package/dist/ibl/cubemap-projection.d.ts.map +1 -0
  592. package/dist/ibl/face-uniforms.d.ts +65 -0
  593. package/dist/ibl/face-uniforms.d.ts.map +1 -0
  594. package/dist/ibl/skylight-bind-group.d.ts +130 -0
  595. package/dist/ibl/skylight-bind-group.d.ts.map +1 -0
  596. package/dist/index.d.ts +57 -0
  597. package/dist/index.d.ts.map +1 -0
  598. package/dist/index.mjs +5 -0
  599. package/dist/index.mjs.map +1 -0
  600. package/dist/instance-buffer-cache.d.ts +59 -0
  601. package/dist/instance-buffer-cache.d.ts.map +1 -0
  602. package/dist/internal.d.ts +74 -0
  603. package/dist/internal.d.ts.map +1 -0
  604. package/dist/internal.mjs +45 -0
  605. package/dist/internal.mjs.map +1 -0
  606. package/dist/lifecycle.d.ts +28 -0
  607. package/dist/lifecycle.d.ts.map +1 -0
  608. package/dist/light-buffer-layout.d.ts +164 -0
  609. package/dist/light-buffer-layout.d.ts.map +1 -0
  610. package/dist/materials.d.ts +50 -0
  611. package/dist/materials.d.ts.map +1 -0
  612. package/dist/mesh-material-bindings.d.ts +44 -0
  613. package/dist/mesh-material-bindings.d.ts.map +1 -0
  614. package/dist/mesh-update-errors.d.ts +71 -0
  615. package/dist/mesh-update-errors.d.ts.map +1 -0
  616. package/dist/mipmap-generator.d.ts +39 -0
  617. package/dist/mipmap-generator.d.ts.map +1 -0
  618. package/dist/param-schema-projection-census.d.ts +18 -0
  619. package/dist/param-schema-projection-census.d.ts.map +1 -0
  620. package/dist/pbr-pipeline.d.ts +253 -0
  621. package/dist/pbr-pipeline.d.ts.map +1 -0
  622. package/dist/persistent-render-scene.d.ts +158 -0
  623. package/dist/persistent-render-scene.d.ts.map +1 -0
  624. package/dist/pipeline/index.d.ts +11 -0
  625. package/dist/pipeline/index.d.ts.map +1 -0
  626. package/dist/pipeline-builder.d.ts +122 -0
  627. package/dist/pipeline-builder.d.ts.map +1 -0
  628. package/dist/pipeline-errors.d.ts +110 -0
  629. package/dist/pipeline-errors.d.ts.map +1 -0
  630. package/dist/pipeline-spec.d.ts +506 -0
  631. package/dist/pipeline-spec.d.ts.map +1 -0
  632. package/dist/plugin.d.ts +17 -0
  633. package/dist/plugin.d.ts.map +1 -0
  634. package/dist/post-process-errors.d.ts +182 -0
  635. package/dist/post-process-errors.d.ts.map +1 -0
  636. package/dist/prepare/__tests__/schema-readers.unit.test.d.ts +2 -0
  637. package/dist/prepare/__tests__/schema-readers.unit.test.d.ts.map +1 -0
  638. package/dist/prepare/index.d.ts +4 -0
  639. package/dist/prepare/index.d.ts.map +1 -0
  640. package/dist/prepare/prepared-graphics-resolver.d.ts +62 -0
  641. package/dist/prepare/prepared-graphics-resolver.d.ts.map +1 -0
  642. package/dist/prepare/schema-readers.d.ts +11 -0
  643. package/dist/prepare/schema-readers.d.ts.map +1 -0
  644. package/dist/record/__tests__/environment-record.test.d.ts +2 -0
  645. package/dist/record/__tests__/environment-record.test.d.ts.map +1 -0
  646. package/dist/record/__tests__/frame-targets.unit.test.d.ts +2 -0
  647. package/dist/record/__tests__/frame-targets.unit.test.d.ts.map +1 -0
  648. package/dist/record/__tests__/material-bg-cache.unit.test.d.ts +2 -0
  649. package/dist/record/__tests__/material-bg-cache.unit.test.d.ts.map +1 -0
  650. package/dist/record/__tests__/material-slot-plan.unit.test.d.ts +2 -0
  651. package/dist/record/__tests__/material-slot-plan.unit.test.d.ts.map +1 -0
  652. package/dist/record/__tests__/membership-timing.unit.test.d.ts +2 -0
  653. package/dist/record/__tests__/membership-timing.unit.test.d.ts.map +1 -0
  654. package/dist/record/__tests__/render-submission.integration.test.d.ts +2 -0
  655. package/dist/record/__tests__/render-submission.integration.test.d.ts.map +1 -0
  656. package/dist/record/__tests__/render-submission.perf.test.d.ts +2 -0
  657. package/dist/record/__tests__/render-submission.perf.test.d.ts.map +1 -0
  658. package/dist/record/__tests__/shadow-submit-mode.unit.test.d.ts +2 -0
  659. package/dist/record/__tests__/shadow-submit-mode.unit.test.d.ts.map +1 -0
  660. package/dist/record/__tests__/video-texture-view.unit.test.d.ts +2 -0
  661. package/dist/record/__tests__/video-texture-view.unit.test.d.ts.map +1 -0
  662. package/dist/record/__tests__/view-ubo-layout.unit.test.d.ts +2 -0
  663. package/dist/record/__tests__/view-ubo-layout.unit.test.d.ts.map +1 -0
  664. package/dist/record/frame-lighting.d.ts +187 -0
  665. package/dist/record/frame-lighting.d.ts.map +1 -0
  666. package/dist/record/frame-observation.d.ts +38 -0
  667. package/dist/record/frame-observation.d.ts.map +1 -0
  668. package/dist/record/frame-snapshot.d.ts +429 -0
  669. package/dist/record/frame-snapshot.d.ts.map +1 -0
  670. package/dist/record/frame-targets.d.ts +53 -0
  671. package/dist/record/frame-targets.d.ts.map +1 -0
  672. package/dist/record/frame.d.ts +59 -0
  673. package/dist/record/frame.d.ts.map +1 -0
  674. package/dist/record/helpers.d.ts +101 -0
  675. package/dist/record/helpers.d.ts.map +1 -0
  676. package/dist/record/index.d.ts +15 -0
  677. package/dist/record/index.d.ts.map +1 -0
  678. package/dist/record/main-pass-geometry.d.ts +20 -0
  679. package/dist/record/main-pass-geometry.d.ts.map +1 -0
  680. package/dist/record/main-pass-material.d.ts +173 -0
  681. package/dist/record/main-pass-material.d.ts.map +1 -0
  682. package/dist/record/main-pass-skin.d.ts +46 -0
  683. package/dist/record/main-pass-skin.d.ts.map +1 -0
  684. package/dist/record/main-pass-sprite-draws.d.ts +18 -0
  685. package/dist/record/main-pass-sprite-draws.d.ts.map +1 -0
  686. package/dist/record/main-pass-sprite.d.ts +69 -0
  687. package/dist/record/main-pass-sprite.d.ts.map +1 -0
  688. package/dist/record/main-pass.d.ts +20 -0
  689. package/dist/record/main-pass.d.ts.map +1 -0
  690. package/dist/record/material-payload.d.ts +43 -0
  691. package/dist/record/material-payload.d.ts.map +1 -0
  692. package/dist/record/material-slot-plan.d.ts +26 -0
  693. package/dist/record/material-slot-plan.d.ts.map +1 -0
  694. package/dist/record/membership-timing.d.ts +232 -0
  695. package/dist/record/membership-timing.d.ts.map +1 -0
  696. package/dist/record/mesh-ssbo.d.ts +173 -0
  697. package/dist/record/mesh-ssbo.d.ts.map +1 -0
  698. package/dist/record/shadow-caster-uniform.d.ts +8 -0
  699. package/dist/record/shadow-caster-uniform.d.ts.map +1 -0
  700. package/dist/record/shadow-pass.d.ts +125 -0
  701. package/dist/record/shadow-pass.d.ts.map +1 -0
  702. package/dist/record/shadow-submit-mode.d.ts +66 -0
  703. package/dist/record/shadow-submit-mode.d.ts.map +1 -0
  704. package/dist/record/skybox-post-pass.d.ts +33 -0
  705. package/dist/record/skybox-post-pass.d.ts.map +1 -0
  706. package/dist/record/typed-frame-graph.d.ts +13 -0
  707. package/dist/record/typed-frame-graph.d.ts.map +1 -0
  708. package/dist/record/view-ubo.d.ts +39 -0
  709. package/dist/record/view-ubo.d.ts.map +1 -0
  710. package/dist/render-data.d.ts +143 -0
  711. package/dist/render-data.d.ts.map +1 -0
  712. package/dist/render-dispatch-membership.d.ts +47 -0
  713. package/dist/render-dispatch-membership.d.ts.map +1 -0
  714. package/dist/render-graph-primitives.d.ts +424 -0
  715. package/dist/render-graph-primitives.d.ts.map +1 -0
  716. package/dist/render-pipeline-context.d.ts +289 -0
  717. package/dist/render-pipeline-context.d.ts.map +1 -0
  718. package/dist/render-pipeline-target.d.ts +16 -0
  719. package/dist/render-pipeline-target.d.ts.map +1 -0
  720. package/dist/render-pipeline.d.ts +149 -0
  721. package/dist/render-pipeline.d.ts.map +1 -0
  722. package/dist/render-scene-projection.d.ts +174 -0
  723. package/dist/render-scene-projection.d.ts.map +1 -0
  724. package/dist/render-system-extract.d.ts +1096 -0
  725. package/dist/render-system-extract.d.ts.map +1 -0
  726. package/dist/render-system-fold.d.ts +266 -0
  727. package/dist/render-system-fold.d.ts.map +1 -0
  728. package/dist/render-system.d.ts +814 -0
  729. package/dist/render-system.d.ts.map +1 -0
  730. package/dist/renderer/asset-service.d.ts +10 -0
  731. package/dist/renderer/asset-service.d.ts.map +1 -0
  732. package/dist/renderer/backend-selection.d.ts +26 -0
  733. package/dist/renderer/backend-selection.d.ts.map +1 -0
  734. package/dist/renderer/environment-classify.d.ts +6 -0
  735. package/dist/renderer/environment-classify.d.ts.map +1 -0
  736. package/dist/renderer/environment-error.d.ts +13 -0
  737. package/dist/renderer/environment-error.d.ts.map +1 -0
  738. package/dist/renderer/material/assembly.d.ts +22 -0
  739. package/dist/renderer/material/assembly.d.ts.map +1 -0
  740. package/dist/renderer/material/pipeline-projection.d.ts +91 -0
  741. package/dist/renderer/material/pipeline-projection.d.ts.map +1 -0
  742. package/dist/renderer/renderer-factory.d.ts +283 -0
  743. package/dist/renderer/renderer-factory.d.ts.map +1 -0
  744. package/dist/renderer.d.ts +771 -0
  745. package/dist/renderer.d.ts.map +1 -0
  746. package/dist/scene-instances/post-spawn-resolve-joints.d.ts +33 -0
  747. package/dist/scene-instances/post-spawn-resolve-joints.d.ts.map +1 -0
  748. package/dist/scene-utils/collect-subtree.d.ts +11 -0
  749. package/dist/scene-utils/collect-subtree.d.ts.map +1 -0
  750. package/dist/shadow-atlas.d.ts +117 -0
  751. package/dist/shadow-atlas.d.ts.map +1 -0
  752. package/dist/ssao-buffers.d.ts +31 -0
  753. package/dist/ssao-buffers.d.ts.map +1 -0
  754. package/dist/ssao-config.d.ts +28 -0
  755. package/dist/ssao-config.d.ts.map +1 -0
  756. package/dist/ssao-data.d.ts +34 -0
  757. package/dist/ssao-data.d.ts.map +1 -0
  758. package/dist/surface-format.d.ts +10 -0
  759. package/dist/surface-format.d.ts.map +1 -0
  760. package/dist/systems/active-camera.d.ts +53 -0
  761. package/dist/systems/active-camera.d.ts.map +1 -0
  762. package/dist/systems/pass-selector.d.ts +24 -0
  763. package/dist/systems/pass-selector.d.ts.map +1 -0
  764. package/dist/systems/skin-palette-allocator.d.ts +51 -0
  765. package/dist/systems/skin-palette-allocator.d.ts.map +1 -0
  766. package/dist/systems/transparent-sort-config.d.ts +91 -0
  767. package/dist/systems/transparent-sort-config.d.ts.map +1 -0
  768. package/dist/taa-history-store.d.ts +88 -0
  769. package/dist/taa-history-store.d.ts.map +1 -0
  770. package/dist/temporal-coverage.d.ts +35 -0
  771. package/dist/temporal-coverage.d.ts.map +1 -0
  772. package/dist/temporal-frame-transaction.d.ts +92 -0
  773. package/dist/temporal-frame-transaction.d.ts.map +1 -0
  774. package/dist/temporal-inspection.d.ts +57 -0
  775. package/dist/temporal-inspection.d.ts.map +1 -0
  776. package/dist/temporal-view.d.ts +43 -0
  777. package/dist/temporal-view.d.ts.map +1 -0
  778. package/dist/tilemap/resolve-tileset-runtime.d.ts +23 -0
  779. package/dist/tilemap/resolve-tileset-runtime.d.ts.map +1 -0
  780. package/dist/tilemap-chunk-extract-system.d.ts +142 -0
  781. package/dist/tilemap-chunk-extract-system.d.ts.map +1 -0
  782. package/dist/typed-render-graph-primitives.d.ts +59 -0
  783. package/dist/typed-render-graph-primitives.d.ts.map +1 -0
  784. package/dist/typed-shadow-passes.d.ts +11 -0
  785. package/dist/typed-shadow-passes.d.ts.map +1 -0
  786. package/dist/urp-pipeline.d.ts +4 -0
  787. package/dist/urp-pipeline.d.ts.map +1 -0
  788. package/package.json +94 -0
  789. package/src/__tests__/analytic-sky-contract.test.ts +27 -0
  790. package/src/__tests__/analytic-sky-falsify-carriers.mjs +43 -0
  791. package/src/__tests__/analytic-sky-falsify.test.ts +94 -0
  792. package/src/__tests__/assets-runtime-handoff.integration.test.ts +36 -0
  793. package/src/__tests__/authoring-path.unit.test.ts +14 -0
  794. package/src/__tests__/backend-selection-rhi-capture.test-d.ts +21 -0
  795. package/src/__tests__/backend-selection.integration.test.ts +11 -0
  796. package/src/__tests__/callback-inference.test-d.ts +5 -0
  797. package/src/__tests__/camera-temporal.test-d.ts +8 -0
  798. package/src/__tests__/camera-temporal.test.ts +188 -0
  799. package/src/__tests__/cluster-binner.test.ts +272 -0
  800. package/src/__tests__/cluster-grid-default-surface.unit.test.ts +17 -0
  801. package/src/__tests__/construct-renderer-identity.unit.test.ts +10 -0
  802. package/src/__tests__/direct-extract-consumer-contract.test-d.ts +34 -0
  803. package/src/__tests__/direct-light-snapshot.unit.test.ts +71 -0
  804. package/src/__tests__/directional-shadow-probe-atlas-layout.unit.test.ts +18 -0
  805. package/src/__tests__/environment-inspection.test.ts +45 -0
  806. package/src/__tests__/factory-contract.integration.test.ts +331 -0
  807. package/src/__tests__/fallback-row-stride-surface.unit.test.ts +18 -0
  808. package/src/__tests__/fog-ai-user.fixture.ts +350 -0
  809. package/src/__tests__/fog-custom-render-feature.fixture.ts +33 -0
  810. package/src/__tests__/fog-custom-render-feature.integration.test.ts +76 -0
  811. package/src/__tests__/fog-inspection.integration.test.ts +127 -0
  812. package/src/__tests__/fog-owner-state.integration.test.ts +112 -0
  813. package/src/__tests__/fog-pipeline-topology.integration.test.ts +93 -0
  814. package/src/__tests__/fog-public-surface.integration.test.ts +60 -0
  815. package/src/__tests__/fog-ray-contract.integration.test.ts +73 -0
  816. package/src/__tests__/fog-source-absence.integration.test.ts +51 -0
  817. package/src/__tests__/fog-temporal.integration.test.ts +115 -0
  818. package/src/__tests__/frame-chain.unit.test.ts +26 -0
  819. package/src/__tests__/frame-observation.contract.test.ts +103 -0
  820. package/src/__tests__/glyph-text-layout-recovery.unit.test.ts +172 -0
  821. package/src/__tests__/gpu-driven-indirect-raster-evidence.ts +347 -0
  822. package/src/__tests__/gpu-driven-indirect-raster.browser.test.ts +12 -0
  823. package/src/__tests__/gpu-driven-indirect-raster.dawn.test.ts +16 -0
  824. package/src/__tests__/gpu-driven-production.integration.test.ts +609 -0
  825. package/src/__tests__/gpu-driven-scaling.unit.test.ts +90 -0
  826. package/src/__tests__/gpu-driven-view-gpu-evidence.ts +192 -0
  827. package/src/__tests__/gpu-driven-view-graph.integration.test.ts +128 -0
  828. package/src/__tests__/gpu-driven-view.browser.test.ts +19 -0
  829. package/src/__tests__/gpu-driven-view.dawn.test.ts +17 -0
  830. package/src/__tests__/gpu-driven-view.unit.test.ts +455 -0
  831. package/src/__tests__/gpu-resource-store-stride.unit.test.ts +59 -0
  832. package/src/__tests__/gpu-scene-field-type-owner.test-d.ts +27 -0
  833. package/src/__tests__/gpu-scene-render-graph-gpu.ts +309 -0
  834. package/src/__tests__/gpu-scene-render-graph.browser.test.ts +19 -0
  835. package/src/__tests__/gpu-scene-render-graph.dawn.test.ts +19 -0
  836. package/src/__tests__/gpu-scene-schema.unit.test.ts +16 -0
  837. package/src/__tests__/gpu-scene.dawn.test.ts +209 -0
  838. package/src/__tests__/gpu-scene.unit.test.ts +161 -0
  839. package/src/__tests__/hdrp-pipeline.unit.test.ts +100 -0
  840. package/src/__tests__/ibl/ibl-fallback.unit.test.ts +23 -0
  841. package/src/__tests__/infinite-grid-no-vertex-probe.unit.test.ts +124 -0
  842. package/src/__tests__/injection-kind-owner.test-d.ts +14 -0
  843. package/src/__tests__/ktx2-basis-gpu-consumer.dawn.test.ts +719 -0
  844. package/src/__tests__/light-buffer-layout.unit.test.ts +85 -0
  845. package/src/__tests__/material-contract-inventory.unit.test.ts +24 -0
  846. package/src/__tests__/material-cooked-projection.unit.test.ts +177 -0
  847. package/src/__tests__/material-derived-error-stop-draw.integration.test.ts +69 -0
  848. package/src/__tests__/material-derived-payload.integration.test.ts +164 -0
  849. package/src/__tests__/material-snapshot-mutation.integration.test.ts +58 -0
  850. package/src/__tests__/material-static-dynamic-route.unit.test.ts +113 -0
  851. package/src/__tests__/material-stride-surface.unit.test.ts +32 -0
  852. package/src/__tests__/materials.unit.test.ts +25 -0
  853. package/src/__tests__/mesh-buffer-usage-surface.unit.test.ts +107 -0
  854. package/src/__tests__/mesh-material-bindings.unit.test.ts +89 -0
  855. package/src/__tests__/mesh-stride-surface.unit.test.ts +16 -0
  856. package/src/__tests__/morph-culling-reentry.dawn.test.ts +166 -0
  857. package/src/__tests__/morph-feature-gpu-work.integration.test.ts +78 -0
  858. package/src/__tests__/morph-visual-evidence.integration.test.ts +66 -0
  859. package/src/__tests__/nineslice-handle-surface.unit.test.ts +14 -0
  860. package/src/__tests__/param-schema-projection-census.unit.test.ts +40 -0
  861. package/src/__tests__/persistent-render-scene.unit.test.ts +1311 -0
  862. package/src/__tests__/pipeline-error-policy-owner.unit.test.ts +167 -0
  863. package/src/__tests__/pipeline-pass-trace.test.ts +92 -0
  864. package/src/__tests__/pipeline-stage-owner.test-d.ts +13 -0
  865. package/src/__tests__/plugin.test.ts +25 -0
  866. package/src/__tests__/post-process-error-policy-owner.unit.test.ts +208 -0
  867. package/src/__tests__/prepared-buffer-kind-owner.test-d.ts +29 -0
  868. package/src/__tests__/prepared-graphics-backend-matrix.unit.test.ts +129 -0
  869. package/src/__tests__/prepared-graphics-capability.unit.test.ts +140 -0
  870. package/src/__tests__/prepared-graphics-generation.unit.test.ts +175 -0
  871. package/src/__tests__/prepared-graphics-lifecycle.unit.test.ts +206 -0
  872. package/src/__tests__/prepared-graphics-pipeline-warmup.unit.test.ts +29 -0
  873. package/src/__tests__/prepared-graphics-resolver-recording.unit.test.ts +180 -0
  874. package/src/__tests__/prepared-graphics-resolver.unit.test.ts +287 -0
  875. package/src/__tests__/prepared-graphics-snapshot.unit.test.ts +105 -0
  876. package/src/__tests__/prepared-graphics-store.unit.test.ts +154 -0
  877. package/src/__tests__/prepared-graphics-validation.unit.test.ts +176 -0
  878. package/src/__tests__/profiler-default-off.test.ts +22 -0
  879. package/src/__tests__/profiler-phase-catalog.test.ts +66 -0
  880. package/src/__tests__/profiler-phase-integration.test.ts +70 -0
  881. package/src/__tests__/profiler-phase-token.test.ts +84 -0
  882. package/src/__tests__/public-pipeline-id.test-d.ts +6 -0
  883. package/src/__tests__/public-surface.test-d.ts +32 -0
  884. package/src/__tests__/recover-error-policy-owner.unit.test.ts +127 -0
  885. package/src/__tests__/render-dispatch-membership.unit.test.ts +117 -0
  886. package/src/__tests__/render-error-code-owner.test-d.ts +115 -0
  887. package/src/__tests__/render-error-detail-ssot.test-d.ts +234 -0
  888. package/src/__tests__/render-error-exhaustive.test-d.ts +84 -0
  889. package/src/__tests__/render-feature-assembly.test-d.ts +51 -0
  890. package/src/__tests__/render-feature-construction.unit.test.ts +124 -0
  891. package/src/__tests__/render-feature-context.test-d.ts +81 -0
  892. package/src/__tests__/render-feature-contract.test-d.ts +58 -0
  893. package/src/__tests__/render-feature-diagnostics.unit.test.ts +151 -0
  894. package/src/__tests__/render-feature-docs.unit.test.ts +88 -0
  895. package/src/__tests__/render-feature-error-code-owner.test-d.ts +27 -0
  896. package/src/__tests__/render-feature-errors.unit.test.ts +47 -0
  897. package/src/__tests__/render-feature-gpu-buffer-usage-owner.test-d.ts +46 -0
  898. package/src/__tests__/render-feature-gpu-work.integration.test.ts +377 -0
  899. package/src/__tests__/render-feature-graph.integration.test.ts +205 -0
  900. package/src/__tests__/render-feature-graphics-staging.unit.test.ts +200 -0
  901. package/src/__tests__/render-feature-order.unit.test.ts +66 -0
  902. package/src/__tests__/render-feature-prepared-diagnostics.unit.test.ts +101 -0
  903. package/src/__tests__/render-feature-prepared-errors.test-d.ts +82 -0
  904. package/src/__tests__/render-feature-prepared-graphics-docs.unit.test.ts +141 -0
  905. package/src/__tests__/render-feature-prepared-graphics-isolation.unit.test.ts +122 -0
  906. package/src/__tests__/render-feature-prepared-graphics-negative.test-d.ts +59 -0
  907. package/src/__tests__/render-feature-prepared-graphics-recording.unit.test.ts +107 -0
  908. package/src/__tests__/render-feature-prepared-graphics.test-d.ts +96 -0
  909. package/src/__tests__/render-feature-prepared-graphics.unit.test.ts +121 -0
  910. package/src/__tests__/render-feature-public-surface.test-d.ts +75 -0
  911. package/src/__tests__/render-feature-retry.unit.test.ts +128 -0
  912. package/src/__tests__/render-feature-scheduling.unit.test.ts +122 -0
  913. package/src/__tests__/render-feature-stage-failed-policy-owner.unit.test.ts +146 -0
  914. package/src/__tests__/render-feature-stage-fault-recovery.unit.test.ts +236 -0
  915. package/src/__tests__/render-feature-staging.unit.test.ts +94 -0
  916. package/src/__tests__/render-feature-visibility-context.test-d.ts +38 -0
  917. package/src/__tests__/render-feature-visibility-context.unit.test.ts +38 -0
  918. package/src/__tests__/render-feature-zero-work.unit.test.ts +82 -0
  919. package/src/__tests__/render-graph-compute-raster-gpu.ts +342 -0
  920. package/src/__tests__/render-graph-compute-raster.browser.test.ts +16 -0
  921. package/src/__tests__/render-graph-compute-raster.dawn.test.ts +22 -0
  922. package/src/__tests__/render-graph-hzb-gpu.ts +239 -0
  923. package/src/__tests__/render-graph-hzb.browser.test.ts +16 -0
  924. package/src/__tests__/render-graph-hzb.dawn.test.ts +23 -0
  925. package/src/__tests__/render-graph-primitives.unit.test.ts +22 -0
  926. package/src/__tests__/render-graph-storage-indirect-gpu.ts +162 -0
  927. package/src/__tests__/render-graph-storage-indirect.browser.test.ts +21 -0
  928. package/src/__tests__/render-graph-storage-indirect.dawn.test.ts +28 -0
  929. package/src/__tests__/render-scene-projection.unit.test.ts +206 -0
  930. package/src/__tests__/renderer-factory-material-contract.unit.test.ts +125 -0
  931. package/src/__tests__/renderer-lifecycle.integration.test.ts +10 -0
  932. package/src/__tests__/renderer-render-scene-public.test-d.ts +27 -0
  933. package/src/__tests__/rhi-backend-package-boundary.unit.test.ts +11 -0
  934. package/src/__tests__/scene-temporal-coverage.unit.test.ts +259 -0
  935. package/src/__tests__/scriptable-pack-consumer.test-d.ts +14 -0
  936. package/src/__tests__/shader-stage-surface.unit.test.ts +38 -0
  937. package/src/__tests__/ssao-kernel-surface.unit.test.ts +15 -0
  938. package/src/__tests__/sun-snapshot-consumers.test.ts +35 -0
  939. package/src/__tests__/surface-backend-kind-owner.test-d.ts +42 -0
  940. package/src/__tests__/surface-configuration.unit.test.ts +92 -0
  941. package/src/__tests__/taa-history-store.unit.test.ts +196 -0
  942. package/src/__tests__/temporal-frame-transaction.integration.test.ts +537 -0
  943. package/src/__tests__/temporal-inspection.unit.test.ts +138 -0
  944. package/src/__tests__/texture-usage-surface.unit.test.ts +61 -0
  945. package/src/__tests__/typed-pipeline-topology.unit.test.ts +389 -0
  946. package/src/__tests__/urp-pipeline-targets.unit.test.ts +52 -0
  947. package/src/__tests__/urp-pipeline.unit.test.ts +14 -0
  948. package/src/__tests__/vertex-color-pipeline.unit.test.ts +124 -0
  949. package/src/__tests__/vertex-layout-consumer.unit.test.ts +25 -0
  950. package/src/__tests__/visibility-diagnostics.integration.test.ts +66 -0
  951. package/src/__tests__/visibility-extract.integration.test.ts +89 -0
  952. package/src/__tests__/visibility-extract.perf.test.ts +96 -0
  953. package/src/__tests__/visibility-feature-dedup.integration.test.ts +57 -0
  954. package/src/__tests__/visibility-hidden-report.unit.test.ts +37 -0
  955. package/src/__tests__/visibility-instances.integration.test.ts +50 -0
  956. package/src/__tests__/visibility-multi-world.integration.test.ts +54 -0
  957. package/src/__tests__/visibility-producer-matrix.integration.test.ts +191 -0
  958. package/src/__tests__/visibility-producer-matrix.unit.test.ts +96 -0
  959. package/src/__tests__/visibility-public-surface.test-d.ts +26 -0
  960. package/src/__tests__/visibility-resolver.unit.test.ts +84 -0
  961. package/src/__tests__/visibility-snapshot-contract.unit.test.ts +59 -0
  962. package/src/__tests__/vocabulary.unit.test.ts +21 -0
  963. package/src/assets/__tests__/asset-decoders.unit.test.ts +92 -0
  964. package/src/assets/__tests__/mipmap-generator.unit.test.ts +52 -0
  965. package/src/assets/__tests__/render-asset-port.unit.test.ts +54 -0
  966. package/src/assets/__tests__/resolve-render-asset.unit.test.ts +47 -0
  967. package/src/assets/asset-decoders.ts +158 -0
  968. package/src/assets/render-asset-port.ts +44 -0
  969. package/src/assets/resolve-render-asset.ts +13 -0
  970. package/src/authoring.ts +24 -0
  971. package/src/cluster-binner.ts +700 -0
  972. package/src/components/__tests__/atmosphere-red.test.ts +51 -0
  973. package/src/components/__tests__/atmosphere.test.ts +79 -0
  974. package/src/components/__tests__/fog.test-d.ts +49 -0
  975. package/src/components/__tests__/fog.test.ts +60 -0
  976. package/src/components/__tests__/schema-parity.unit.test.ts +25 -0
  977. package/src/components/__tests__/visibility-schema.unit.test.ts +35 -0
  978. package/src/components/atmosphere.ts +64 -0
  979. package/src/components/camera.ts +512 -0
  980. package/src/components/directional-light.ts +120 -0
  981. package/src/components/environment.ts +206 -0
  982. package/src/components/glyph-text.ts +63 -0
  983. package/src/components/index.ts +49 -0
  984. package/src/components/instances.ts +207 -0
  985. package/src/components/layer.ts +69 -0
  986. package/src/components/light-helpers.ts +188 -0
  987. package/src/components/mesh-filter.ts +59 -0
  988. package/src/components/mesh-renderer.ts +61 -0
  989. package/src/components/point-light-shadow.ts +43 -0
  990. package/src/components/point-light.ts +65 -0
  991. package/src/components/post-process-params.ts +35 -0
  992. package/src/components/scene-instance.ts +193 -0
  993. package/src/components/sort-key.ts +75 -0
  994. package/src/components/spot-light.ts +124 -0
  995. package/src/components/sprite-animation.ts +169 -0
  996. package/src/components/sprite-instances.ts +179 -0
  997. package/src/components/sprite-playback-mode.ts +73 -0
  998. package/src/components/sprite-region-override.ts +106 -0
  999. package/src/components/tile-layer.ts +161 -0
  1000. package/src/components/tilemap.ts +48 -0
  1001. package/src/components/visibility.ts +53 -0
  1002. package/src/construct-renderer.ts +4 -0
  1003. package/src/debug-draw-glue.ts +169 -0
  1004. package/src/deferred-lighting.ts +92 -0
  1005. package/src/dynamic-texture-store.ts +111 -0
  1006. package/src/engine-metrics.ts +89 -0
  1007. package/src/environment/README.md +76 -0
  1008. package/src/environment/__tests__/failure-injection.test.ts +50 -0
  1009. package/src/environment/__tests__/generation-red.test.ts +64 -0
  1010. package/src/environment/__tests__/generation.test.ts +37 -0
  1011. package/src/environment/__tests__/graph-transaction.test.ts +85 -0
  1012. package/src/environment/__tests__/inspection-red.test.ts +53 -0
  1013. package/src/environment/__tests__/lifecycle-evidence.test.ts +40 -0
  1014. package/src/environment/__tests__/pipeline-topology.test.ts +33 -0
  1015. package/src/environment/__tests__/readiness.test.ts +42 -0
  1016. package/src/environment/__tests__/recovery.test.ts +62 -0
  1017. package/src/environment/__tests__/resize-dispose.test.ts +30 -0
  1018. package/src/environment/__tests__/signature-red.test.ts +45 -0
  1019. package/src/environment/__tests__/signature.test.ts +60 -0
  1020. package/src/environment/descriptors.ts +7 -0
  1021. package/src/environment/extracted-environment.ts +239 -0
  1022. package/src/environment/generation.ts +158 -0
  1023. package/src/environment/gpu-bundle.ts +144 -0
  1024. package/src/environment/graph.ts +588 -0
  1025. package/src/environment/inspection.ts +107 -0
  1026. package/src/environment/lifecycle.ts +124 -0
  1027. package/src/environment/readiness.ts +76 -0
  1028. package/src/environment/signature.ts +185 -0
  1029. package/src/errors/ecs-validation.ts +16 -0
  1030. package/src/errors/index.ts +3 -0
  1031. package/src/errors/recover.ts +119 -0
  1032. package/src/errors/render.ts +1244 -0
  1033. package/src/extract/__tests__/directional-csm-domain.unit.test.ts +391 -0
  1034. package/src/extract/__tests__/environment-source.test.ts +105 -0
  1035. package/src/extract/__tests__/schema-readers.unit.test.ts +16 -0
  1036. package/src/extract/directional-csm.ts +959 -0
  1037. package/src/extract/index.ts +10 -0
  1038. package/src/extract/material-interface.ts +604 -0
  1039. package/src/extract/schema-readers.ts +27 -0
  1040. package/src/extract/visibility.ts +120 -0
  1041. package/src/features/graph-contribution.ts +577 -0
  1042. package/src/features/host.ts +1097 -0
  1043. package/src/features/index.ts +100 -0
  1044. package/src/features/morph/index.ts +24 -0
  1045. package/src/features/morph/morph-bounds.ts +123 -0
  1046. package/src/features/morph/morph-feature.ts +287 -0
  1047. package/src/features/prepared-gpu-work.ts +902 -0
  1048. package/src/features/prepared-graphics-store.ts +435 -0
  1049. package/src/features/prepared-graphics.ts +479 -0
  1050. package/src/features/render-graph-compute.ts +60 -0
  1051. package/src/features/render-graph-contribution.ts +95 -0
  1052. package/src/features/render-graph-raster.ts +308 -0
  1053. package/src/features/render-graph-resources.ts +36 -0
  1054. package/src/features/scene-temporal.ts +274 -0
  1055. package/src/features/taa-resolve.ts +244 -0
  1056. package/src/features/targets.ts +83 -0
  1057. package/src/features/types.ts +291 -0
  1058. package/src/frame-chain.ts +21 -0
  1059. package/src/fullscreen-post-process-pass.ts +406 -0
  1060. package/src/glyph-text-layout-system.ts +447 -0
  1061. package/src/gpu-driven/batch-topology.ts +423 -0
  1062. package/src/gpu-driven/production-raster.ts +1705 -0
  1063. package/src/gpu-driven/view-gpu.ts +849 -0
  1064. package/src/gpu-driven/view-reference.ts +110 -0
  1065. package/src/gpu-resource-store.ts +1921 -0
  1066. package/src/gpu-resource.ts +159 -0
  1067. package/src/gpu-scene-schema.ts +224 -0
  1068. package/src/gpu-scene.ts +855 -0
  1069. package/src/gpu-stage.ts +9 -0
  1070. package/src/gpu-texture-usage.ts +12 -0
  1071. package/src/gpu-usage.ts +14 -0
  1072. package/src/hdrp-buffers.ts +689 -0
  1073. package/src/hdrp-cluster-membership.ts +70 -0
  1074. package/src/hdrp-pipeline.ts +525 -0
  1075. package/src/ibl/IblPipelineCache.ts +1246 -0
  1076. package/src/ibl/cubemap-projection.ts +60 -0
  1077. package/src/ibl/face-uniforms.ts +150 -0
  1078. package/src/ibl/skylight-bind-group.ts +513 -0
  1079. package/src/index.ts +271 -0
  1080. package/src/instance-buffer-cache.ts +123 -0
  1081. package/src/internal.ts +88 -0
  1082. package/src/lifecycle.ts +123 -0
  1083. package/src/light-buffer-layout.ts +346 -0
  1084. package/src/materials.ts +236 -0
  1085. package/src/mesh-material-bindings.ts +104 -0
  1086. package/src/mesh-update-errors.ts +113 -0
  1087. package/src/mipmap-generator.ts +244 -0
  1088. package/src/param-schema-projection-census.ts +73 -0
  1089. package/src/pbr-pipeline.ts +749 -0
  1090. package/src/persistent-render-scene.ts +1752 -0
  1091. package/src/pipeline/index.ts +40 -0
  1092. package/src/pipeline-builder.ts +386 -0
  1093. package/src/pipeline-errors.ts +172 -0
  1094. package/src/pipeline-spec.ts +1768 -0
  1095. package/src/plugin.ts +137 -0
  1096. package/src/post-process-errors.ts +304 -0
  1097. package/src/prepare/__tests__/schema-readers.unit.test.ts +16 -0
  1098. package/src/prepare/index.ts +8 -0
  1099. package/src/prepare/prepared-graphics-resolver.ts +455 -0
  1100. package/src/prepare/schema-readers.ts +20 -0
  1101. package/src/record/__tests__/environment-record.test.ts +35 -0
  1102. package/src/record/__tests__/frame-targets.unit.test.ts +54 -0
  1103. package/src/record/__tests__/material-bg-cache.unit.test.ts +41 -0
  1104. package/src/record/__tests__/material-slot-plan.unit.test.ts +76 -0
  1105. package/src/record/__tests__/membership-timing.unit.test.ts +524 -0
  1106. package/src/record/__tests__/render-submission.integration.test.ts +76 -0
  1107. package/src/record/__tests__/render-submission.perf.test.ts +141 -0
  1108. package/src/record/__tests__/shadow-submit-mode.unit.test.ts +88 -0
  1109. package/src/record/__tests__/video-texture-view.unit.test.ts +90 -0
  1110. package/src/record/__tests__/view-ubo-layout.unit.test.ts +101 -0
  1111. package/src/record/frame-lighting.ts +1183 -0
  1112. package/src/record/frame-observation.ts +122 -0
  1113. package/src/record/frame-snapshot.ts +515 -0
  1114. package/src/record/frame-targets.ts +372 -0
  1115. package/src/record/frame.ts +1874 -0
  1116. package/src/record/helpers.ts +289 -0
  1117. package/src/record/index.ts +15 -0
  1118. package/src/record/main-pass-geometry.ts +1014 -0
  1119. package/src/record/main-pass-material.ts +716 -0
  1120. package/src/record/main-pass-skin.ts +51 -0
  1121. package/src/record/main-pass-sprite-draws.ts +1056 -0
  1122. package/src/record/main-pass-sprite.ts +166 -0
  1123. package/src/record/main-pass.ts +588 -0
  1124. package/src/record/material-payload.ts +292 -0
  1125. package/src/record/material-slot-plan.ts +68 -0
  1126. package/src/record/membership-timing.ts +1012 -0
  1127. package/src/record/mesh-ssbo.ts +406 -0
  1128. package/src/record/shadow-caster-uniform.ts +37 -0
  1129. package/src/record/shadow-pass.ts +2387 -0
  1130. package/src/record/shadow-submit-mode.ts +277 -0
  1131. package/src/record/skybox-post-pass.ts +594 -0
  1132. package/src/record/typed-frame-graph.ts +499 -0
  1133. package/src/record/view-ubo.ts +206 -0
  1134. package/src/render-data.ts +385 -0
  1135. package/src/render-dispatch-membership.ts +155 -0
  1136. package/src/render-graph-primitives.ts +1586 -0
  1137. package/src/render-pipeline-context.ts +332 -0
  1138. package/src/render-pipeline-target.ts +96 -0
  1139. package/src/render-pipeline.ts +343 -0
  1140. package/src/render-scene-projection.ts +1738 -0
  1141. package/src/render-system-extract.ts +5203 -0
  1142. package/src/render-system-fold.ts +531 -0
  1143. package/src/render-system.ts +3258 -0
  1144. package/src/renderer/asset-service.ts +32 -0
  1145. package/src/renderer/backend-selection.ts +121 -0
  1146. package/src/renderer/environment-classify.ts +30 -0
  1147. package/src/renderer/environment-error.ts +19 -0
  1148. package/src/renderer/material/assembly.ts +53 -0
  1149. package/src/renderer/material/pipeline-projection.ts +140 -0
  1150. package/src/renderer/renderer-factory.ts +9062 -0
  1151. package/src/renderer.ts +940 -0
  1152. package/src/scene-instances/post-spawn-resolve-joints.ts +168 -0
  1153. package/src/scene-utils/collect-subtree.ts +40 -0
  1154. package/src/shadow-atlas.ts +244 -0
  1155. package/src/ssao-buffers.ts +175 -0
  1156. package/src/ssao-config.ts +61 -0
  1157. package/src/ssao-data.ts +106 -0
  1158. package/src/surface-format.ts +37 -0
  1159. package/src/systems/active-camera.ts +116 -0
  1160. package/src/systems/pass-selector.ts +49 -0
  1161. package/src/systems/skin-palette-allocator.ts +294 -0
  1162. package/src/systems/transparent-sort-config.ts +211 -0
  1163. package/src/taa-history-store.ts +429 -0
  1164. package/src/temporal-coverage.ts +106 -0
  1165. package/src/temporal-frame-transaction.ts +301 -0
  1166. package/src/temporal-inspection.ts +194 -0
  1167. package/src/temporal-view.ts +174 -0
  1168. package/src/tilemap/resolve-tileset-runtime.ts +72 -0
  1169. package/src/tilemap-chunk-extract-system.ts +1307 -0
  1170. package/src/typed-render-graph-primitives.ts +530 -0
  1171. package/src/typed-shadow-passes.ts +195 -0
  1172. package/src/urp-pipeline.ts +340 -0
package/README.md ADDED
@@ -0,0 +1,1019 @@
1
+ # `@forgeax/engine-render`
2
+
3
+ ## MaterialAsset 唯一成功路径
4
+
5
+ Render 只消费 `paramSchema -> derive -> compile/reflect -> cook/load -> extract/record`
6
+ 主线的 extract/record 阶段:从已验证的 material artifact 取得 slot 数据,按
7
+ `coordinateSet`、transform 与 `physicalUvScale` 写入 record,并以
8
+ `layoutIdentity` 选择匹配的 bind-group layout。发现 identity 或坐标不一致时,
9
+ 回到 producer inspect/repair/recook,不在 game-side 添加 padding 或 fallback。
10
+
11
+ | 阶段 | 唯一 owner | 结果 |
12
+ |---|---|---|
13
+ | schema / derive | material producer | 派生参数与纹理字段 |
14
+ | compile / reflect | shader compiler | 与 WGSL 一致的 artifact 输入 |
15
+ | cook / load | pack 与 assets-runtime | 带 receipt 的 GUID payload |
16
+ | extract / record | render | 与 identity 对齐的 draw bindings |
17
+
18
+ > [!IMPORTANT]
19
+ > Render 错误通过结构化 `code`、`detail`、`hint` 恢复;不要把非结构化文本、
20
+ > app 侧安装或替代材质当作 contract。
21
+
22
+ ## Direct-light parity contract
23
+
24
+ The direct-light proposition is: one public `DirectionalLight`/`PointLight`/
25
+ `SpotLight` semantic snapshot must produce the same analytic result in URP and
26
+ HDRP. The M4 authority is the revision-pinned
27
+ [`three-r184-finite-range-authority.json`](../../apps/parity/color-lighting/cases/direct-light/calibration/three-r184-finite-range-authority.json).
28
+ It is `ready` only when its Three revision, source hash, config, and expected
29
+ samples are present. Missing authority or paired GPU captures is `blocked`; do
30
+ not repair that state with a multiplier, a backend profile, or a demo asset.
31
+
32
+ Run the focused contract checks with:
33
+
34
+ ```sh
35
+ pnpm exec vitest run apps/parity/color-lighting/src/analytic/__tests__/three-r184-finite-range.test.ts
36
+ pnpm exec vitest run apps/parity/color-lighting/src/integration/__tests__/light-snapshot.test.ts
37
+ ```
38
+
39
+ The public mapping is deliberately small:
40
+
41
+ | Fact | Contract | Owner or evidence |
42
+ |:--|:--|:--|
43
+ | World scale | `1` world unit is `1` meter | Light components and glTF bridge |
44
+ | Exposure | `1` by default; applied after lighting at tone/output | Camera tone contract and paired capture |
45
+ | Intensity | Directional uses lux; point and spot use candela | `DirectionalLight`, `PointLight`, `SpotLight` |
46
+ | Color | Linear RGB; no hidden global multiplier | Light snapshot and buffer layout |
47
+ | Range and decay | Positive range is meters; `Infinity` means no cutoff; runtime uses `e=2` | Three r184 authority |
48
+ | Cone | KHR radians import to component degrees; snapshot stores `cosInner` and `cosOuter` | glTF bridge and extract |
49
+ | Direction | KHR local `-Z` after world rotation; extract normalizes once; downstream shaders consume the result | Extract snapshot and URP/HDRP shaders |
50
+
51
+ The runtime finite-range factor is the Three r184 squared window:
52
+ `clamp(1 - (d / c)^4, 0, 1)^2`. The KHR
53
+ [`three-r184-khr-calibration.json`](../../apps/parity/color-lighting/cases/direct-light/calibration/three-r184-khr-calibration.json)
54
+ curve is an explicit unsquared import/reference curve only; it is not a
55
+ substitute for the runtime authority. The squared and unsquared samples are
56
+ kept separate so a replacement remains a visible falsification.
57
+
58
+ For a blocked case, inspect the authority fixture first, then the normalized
59
+ light snapshot and the independent Forge/Three captures. The parity report
60
+ must retain `provenance`, `captures`, `raw hash`, `analyticMax`, `roiMax`, and
61
+ `verdict` for each backend x pipeline x case. A same-canvas self-comparison or
62
+ analytic-only green result is not direct-light parity evidence.
63
+
64
+ ## Fog: authoring, inspection, and recovery
65
+
66
+ > [!IMPORTANT]
67
+ > Fog is the one public scene-radiance component. Spawn it in the World that
68
+ > is passed as resourceOwner; the renderer selects zero or one Fog entity,
69
+ > validates the fields, publishes a candidate, and commits it only after a
70
+ > successful frame submission. Applications do not register a post effect,
71
+ > pack a Fog buffer, import Fog WGSL, or maintain Fog history.
72
+
73
+ The shortest authoring route is one public import plus the existing draw owner:
74
+ The minimum form is world.spawn({ component: Fog, data: {} }) when defaults are sufficient.
75
+
76
+ ```ts
77
+ import { Fog } from '@forgeax/engine-render';
78
+ import type { RenderError } from '@forgeax/engine-render';
79
+
80
+ const fogEntity = world.spawn({
81
+ component: Fog,
82
+ data: {
83
+ color: [0.45, 0.52, 0.6],
84
+ density: 0.018,
85
+ heightFalloff: 0.15,
86
+ maxOpacity: 0.85,
87
+ },
88
+ }).unwrap();
89
+
90
+ const drawn = renderer.draw([world], { cameraOwner: 0, resourceOwner: 0 });
91
+ if (!drawn.ok) reportRenderError(drawn.error as RenderError);
92
+ const fogInspection = renderer.renderScene.fog;
93
+ void fogEntity;
94
+ void fogInspection;
95
+ ```
96
+
97
+ ### Authoring domain
98
+
99
+ | Field | Valid domain | Default | Meaning |
100
+ |:--|:--|--:|:--|
101
+ | color | three finite non-negative numbers | [0.5, 0.5, 0.5] | Linear Fog radiance color; HDR values are valid |
102
+ | density | finite number >= 0 | 0.01 | Base optical density |
103
+ | heightFalloff | finite number >= 0 | 0 | Exponential density falloff along world y |
104
+ | maxOpacity | finite number in [0, 1] | 1 | Upper bound for the Fog mix; surface alpha is preserved |
105
+
106
+ The component has no mode, profile, baseHeight, start, or end field.
107
+ heightFalloff = 0 is the uniform-density lane. A missing Fog entity means
108
+ disabled scene Fog and adds no Fog-owned graph resource, pass, texture, bind
109
+ group, or history. A second Fog entity in the same resourceOwner is a
110
+ structured conflict, not a winner-selection policy.
111
+
112
+ resourceOwner is an existing numeric World owner, not a string resource:
113
+
114
+ | Fog cardinality in the selected owner | Renderer fact | Recovery |
115
+ |:--:|:--|:--|
116
+ | 0 | enabled=false; no accepted Fog snapshot | Continue without scene Fog |
117
+ | 1 | Candidate is validated and becomes last-known-good after submit | Read renderer.renderScene.fog |
118
+ | N | fog-owner-conflict; no new candidate is published | Remove every extra Fog entity, then retry draw |
119
+
120
+ ### Bounded inspection
121
+
122
+ Read the accepted facts after draw:
123
+
124
+ ```ts
125
+ const fog = renderer.renderScene.fog;
126
+ const accepted = {
127
+ enabled: fog.enabled,
128
+ resourceOwner: fog.resourceOwner,
129
+ entity: fog.entity,
130
+ revision: fog.revision,
131
+ reactive: fog.reactive,
132
+ failure: fog.failure,
133
+ };
134
+ ```
135
+
136
+ The inspection is bounded and read-only. revision changes when a successful
137
+ Fog authoring candidate changes; reactive is true on the current frame when
138
+ the accepted revision changed. A failed candidate does not replace the
139
+ last-known-good snapshot. failure is either fog-owner-conflict,
140
+ fog-parameters-invalid, or undefined; it is not a free-form diagnostic
141
+ registry.
142
+
143
+ ### Structured errors and exhaustive recovery
144
+
145
+ Fog failures are members of the closed RenderError union:
146
+ FogOwnerConflictError has code fog-owner-conflict, while
147
+ FogParametersInvalidError has code fog-parameters-invalid. Both errors expose
148
+ code, detail, expected, and hint; detail carries the bounded values needed for
149
+ a retry.
150
+
151
+ ```ts
152
+ function recoverFog(error: RenderError): 'retry' | 'forward' {
153
+ switch (error.code) {
154
+ case 'fog-owner-conflict':
155
+ // Remove all but one Fog entity in error.detail.resourceOwner.
156
+ return 'retry';
157
+ case 'fog-parameters-invalid':
158
+ // Set error.detail.field to a value satisfying error.expected.
159
+ return 'retry';
160
+ default:
161
+ return 'forward';
162
+ }
163
+ }
164
+ ```
165
+
166
+ For fog-owner-conflict, inspect error.detail.entities and
167
+ error.detail.omitted; remove every extra entity from that resourceOwner, then
168
+ retry draw. For fog-parameters-invalid, inspect error.detail.entity,
169
+ error.detail.field, error.detail.actual, and the structured expected domain;
170
+ repair the ECS field and retry. Do not parse the error message, create a
171
+ fallback material, or silently disable Fog.
172
+
173
+ ### Height-aware scene-radiance formula
174
+
175
+ The shared forgeax_view::fog module integrates optical depth along a
176
+ producer-supplied world-space ray. Let y0 be the ray origin height, dy its
177
+ world-space vertical direction, d its linear distance, h the height falloff,
178
+ and rho the authored density:
179
+
180
+ $$
181
+ \rho_0 = \rho e^{-h y_0},\qquad
182
+ q = h\,dy,\qquad
183
+ \tau =
184
+ \begin{cases}
185
+ \rho_0 d & |q| < \epsilon,\\
186
+ \rho_0 \dfrac{1-e^{-qd}}{q} & |q| \geq \epsilon.
187
+ \end{cases}
188
+ $$
189
+
190
+ $$
191
+ T = e^{-\tau},\qquad
192
+ \alpha_f = \operatorname{clamp}(m(1-T), 0, 1),\qquad
193
+ C' = \operatorname{mix}(C, C_f, \alpha_f),
194
+ $$
195
+
196
+ where m is maxOpacity, C is the producer color, and Cf is the authored
197
+ linear Fog color. The output keeps the producer alpha unchanged. CPU
198
+ extraction and WGSL share the same field order and ray contract; near/far
199
+ values and non-linear depth are not Fog inputs.
200
+
201
+ ### Producer and pipeline responsibility
202
+
203
+ Fog is applied exactly once to linear scene radiance before the
204
+ renderer-owned temporal resolve. URP and HDRP keep their existing pipeline
205
+ order; opaque, masked, unlit, Standard PBR, transparent, Sprite, Text,
206
+ Skybox, and the five VFX render paths supply their own ray facts and call the
207
+ shared module. G-buffer facts, shadow maps, and overlay/debug output are not
208
+ Fog inputs. Alpha is preserved for transparent and VFX output.
209
+
210
+ ```mermaid
211
+ flowchart TD
212
+ Author["World spawns one Fog entity"] --> Extract["extract selects resourceOwner"]
213
+ Extract --> Candidate["validate and stage candidate"]
214
+ Candidate --> Submit{"successful frame submit"}
215
+ Submit -->|yes| Accepted["publish revision and bounded inspection"]
216
+ Submit -->|no| Lkg["retain last-known-good snapshot"]
217
+ Accepted --> Scene["linear scene-radiance Fog exactly once"]
218
+ Scene --> Temporal["existing temporal resolve"]
219
+ ```
220
+
221
+ No Fog-specific pass, texture, bind group, upload, history, registry, or
222
+ fullscreen fallback is part of this route. TAA remains the sole history owner;
223
+ Fog revision changes use its existing current-frame reactive lane.
224
+
225
+ ### Real evidence commands
226
+
227
+ Run the focused contracts first, then the two independent feature carriers:
228
+
229
+ ```sh
230
+ pnpm exec vitest run --project='@forgeax/engine-render' packages/render/src/__tests__/fog-public-surface.integration.test.ts packages/render/src/__tests__/fog-source-absence.integration.test.ts packages/render/src/__tests__/fog-custom-render-feature.integration.test.ts
231
+ pnpm --filter @forgeax/bevy-fog smoke
232
+ pnpm --filter @forgeax/bevy-fog smoke:browser
233
+ ```
234
+
235
+ Each carrier must write case-wise expected, observed, delta, verdict, and
236
+ confidence fields plus revision/reactive/recovery facts. The Dawn artifact is
237
+ evidence/dawn-fog-trace.json; the Browser artifact is
238
+ evidence/browser-fog-trace.json. PNG is auxiliary evidence: it never replaces
239
+ linear readback or the case-wise verdict.
240
+
241
+ > [!CAUTION]
242
+ > The current M4 Dawn and Browser 300-frame artifacts are real executions but
243
+ > remain verdict: fail because their RGB deltas exceed 0.02. This README
244
+ > records the failure rather than promoting it to green. Preserve the
245
+ > artifacts and repair the Engine owner before claiming visual parity.
246
+
247
+ ### Custom RenderFeature responsibility
248
+
249
+ A custom RenderFeature can consume the renderer-owned scene-color target and
250
+ contribute an overlay through the existing graph seam. It must not become a
251
+ second Fog owner or create fog-texture, fog-history, fog-bind-group,
252
+ Fog-specific upload state, or a parallel formula. The executable fixture is
253
+ src/__tests__/fog-custom-render-feature.fixture.ts; its compile/import/overlay
254
+ evidence is evidence/custom-render-feature-compile.json and contains the
255
+ fixture path, compiler command, exitCode, moduleImport, and overlay verdict.
256
+
257
+ <details>
258
+ <summary>Custom feature boundary checklist</summary>
259
+
260
+ - [x] Consume existing graph targets instead of allocating a Fog resource.
261
+ - [x] Keep engine-render as the Fog owner.
262
+ - [x] Use the public RenderFeature lifecycle and opaque staging references.
263
+ - [ ] Add a new public capability only through a separate design and owner review.
264
+
265
+ </details>
266
+
267
+ ### Out of scope for this Fog contract
268
+
269
+ | Deferred capability | Boundary |
270
+ |:--|:--|
271
+ | Linear start/end, Exp2, baseHeight, public mode/profile, or a second Fog component | Reopen design only if a real scene proves the single density field insufficient |
272
+ | Froxel/raymarch volume, 3D density, phase/scattering, light/shadow injection, or temporal volume denoise | Separate volume and lighting owner |
273
+ | Local Fog volumes, overlap/blend, or directional phase | Separate volume composition authority |
274
+ | Atmosphere, Sun, analytic sky, clouds, weather, or cloud shadow | Separate sky/weather/environment owner |
275
+ | OIT, layered media, volume compositing, or automatic exposure | Separate transparency and color-management owners |
276
+ | Fog-specific pass, texture, bind group, upload, history, or coverage registry | Explicitly forbidden because they duplicate RenderGraph/View/TAA SSOT |
277
+ | Frozen GPU epsilon, exponent, or full diagnostic UI | Keep implementation details behind ABI and bounded evidence |
278
+
279
+ M5 closure remains explicit:
280
+
281
+ - [x] Public Fog schema and bounded inspection are documented.
282
+ - [x] One-cut app source absence and two closed recovery errors are indexed.
283
+ - [x] Real Dawn/Browser evidence paths and their current failed verdicts are linked.
284
+ - [ ] RGB tolerance repair and full smoke-fleet gates remain required.
285
+
286
+ ## Particle feature boundary
287
+
288
+ Particle rendering is provided by
289
+ [`@forgeax/engine-vfx-render`](../vfx-render/README.md). This package owns the
290
+ generic RenderFeature host, prepared graphics resolver, pipeline readiness
291
+ contract, and structured renderer errors; it does not own VFX simulation or
292
+ particle asset authoring.
293
+
294
+ ## Deferred membership timing
295
+
296
+ Render owns the opt-in `membershipTiming` contract for the real
297
+ `hdrp-cluster-membership` compute pass. App and Runtime only forward the option;
298
+ they do not define a second profiler or reason vocabulary.
299
+
300
+ | Mode | Work | Result |
301
+ |:--|:--|:--|
302
+ | omitted | No query set, resolve buffer, map, or queue wait | No timing record |
303
+ | `cpu-control` | Existing CPU binner remains the control path | Accepted control record with `gpu: null` |
304
+ | `gpu` | Bounded timestamp query, resolve, async queue completion, and map | GPU ticks plus backend period, or a terminal refusal/error |
305
+
306
+ > [!IMPORTANT]
307
+ > A GPU request is refused when the backend does not advertise timestamp
308
+ > queries or a positive timestamp period. RhiNull and the wgpu WebGL2 path are
309
+ > intentionally non-timing backends. They never synthesize GPU duration.
310
+
311
+ The controller timestamps immediately around the existing membership dispatch,
312
+ keeps GPU ticks separate from CPU encode/submit and async readback, and
313
+ terminalizes captures on timeout, submit failure, queue completion failure,
314
+ readback failure, device recovery, or disposal. The closed
315
+ `MembershipTimingReasonCode` union and its exhaustive mapping live in
316
+ [`src/record/membership-timing.ts`](src/record/membership-timing.ts).
317
+
318
+ Timestamp-capable backends must execute both raw timestamp writes. A missing or
319
+ throwing write is a structured `timestamp-write-unavailable` refusal; Render
320
+ never publishes a zero, reversed, or non-finite GPU interval as a report.
321
+
322
+ ## Deferred membership evidence closure
323
+
324
+ > [!IMPORTANT]
325
+ > The close condition is `acceptedGpu=16`, with five accepted Dawn GPU
326
+ > records at each of 32, 64, and 128 lights, one 256-light record, positive
327
+ > tick intervals, per-light-count variance, and the 256-light overflow
328
+ > fingerprint. `acceptedGpu=0` is a blocker. CPU control, WebKit refusal,
329
+ > RhiNull refusal, PNG screenshots, and capability bits never count as GPU
330
+ > evidence.
331
+
332
+ The producer and validator are deliberately separate from the public Render
333
+ API. Generate the exact manifest, run the full producer matrix, and inspect
334
+ the machine-readable report in this order:
335
+
336
+ ```sh
337
+ node scripts/dev-verify/generate-deferred-membership-manifest.mjs --output=report/deferred-membership-timing/full-matrix-manifest.json
338
+ node scripts/dev-verify/capture-deferred-membership-corpus.mjs --manifest=report/deferred-membership-timing/full-matrix-manifest.json --output-root=report/deferred-membership-timing --webkit-download=webkit-evidence --report=report/deferred-membership-timing
339
+ ```
340
+
341
+ The manifest contract is [`full-matrix-contract.json`](../../scripts/dev-verify/membership-timing/full-matrix-contract.json); the WebKit subset is validated by [`webkit-subset.schema.json`](../../scripts/dev-verify/membership-timing/webkit-subset.schema.json). The stable identity is `sourceHead`, `carrier`, `workload`, `profile`, and `artifactHashes`. The exact target is 20 top-level records and 32 nested references, with `record`, `profile`, `membership`, and `pixel` SHA-256 descriptors.
342
+
343
+ The report exposes `valid`, `truthfulnessReady`, `completeMatrixReady`,
344
+ `optimizationReleaseReady`, `counts`, `errors`, and `blocker`. A blocker uses
345
+ `code`, `expected`, `hint`, and the observed `acceptedGpu` count so an AI user
346
+ can recover by inspecting per-attempt refusal, profile, identity, and artifact
347
+ hash records. The owner reason union remains closed; for example,
348
+ `timestamp-query-unsupported` is a refusal, while `timestamp-write-unavailable`
349
+ is a terminal producer failure. Neither is a successful GPU sample.
350
+
351
+ ## RenderFeature: the producer seam (first-read index)
352
+
353
+ The public route remains `RenderFeature` through `RenderPipeline` and the
354
+ active RenderGraph pass. This is the RenderGraph pass for a `type FrameData`
355
+ producer, which uses
356
+ `createRenderer(canvas, { features: [feature] })`,
357
+ `context.staging.addPass('named-pass'`, `execute: ({ pass })`, and the
358
+ `Material pass` boundary. This is the graph-only Wave 1 feature route.
359
+
360
+ > [!IMPORTANT]
361
+ > Render consumes the effective MaterialAsset snapshot produced by extract. Each texture slot carries its own coordinate set and transform into the built-in PBR binding layout; render records do not reinterpret authoring fields or manufacture shader artifacts. The effective `passes` are already validated.
362
+
363
+ ## MaterialAsset render contract
364
+
365
+ Render owns this consumption route:
366
+
367
+ | Input | Render responsibility |
368
+ |:--|:--|
369
+ | `passes` and `values` | Consume the effective snapshot; do not reinterpret authoring data. |
370
+ | `parent` | Consume the already-resolved inheritance result. |
371
+ | texture `coordinates` | Bind the selected coordinate set and transform. |
372
+ | `cook` output | Record only validated shader artifacts. |
373
+ | `recovery` | Preserve the structured failure so the source contract or cooked module can be repaired. |
374
+
375
+ ### Mesh material binding resolution
376
+
377
+ Render resolves one effective material table per logical mesh slot before
378
+ recording submesh draws. `MeshRenderer.materials[]` is a sparse per-instance
379
+ override vector: a missing entry or `0` inherits the corresponding
380
+ `MeshAsset.materialSlots[]` default. A slot without a declared mesh default
381
+ uses the neutral engine material.
382
+
383
+ > [!IMPORTANT]
384
+ > A declared mesh default is a required asset dependency. If it is unavailable,
385
+ > extract fails closed with the mesh GUID, slot index, and material GUID instead
386
+ > of silently painting the mesh gray. Invalid instance overrides fall back with
387
+ > a structured diagnostic; entries beyond the slot table are ignored and
388
+ > diagnosed.
389
+
390
+ The render path is `MaterialAsset` -> extract snapshot -> prepare resources -> record the per-slot `coordinates` and values. The effective `parent` is already resolved before extract. If a material contract or reflection binding fails, preserve the structured error and repair the source contract or cooked module before drawing again; that is the recovery route. The render package owns consumption, not material import or cook policy.
391
+
392
+ > [!IMPORTANT]
393
+ > Owner: render vocabulary and the extract → prepare → record frame boundary. Runtime selects concrete services and calls this package; it does not re-own these tokens.
394
+
395
+ ```ts
396
+ import {
397
+ Camera,
398
+ materialTextureValue,
399
+ MeshFilter,
400
+ MeshRenderer,
401
+ } from '@forgeax/engine-render';
402
+ import { createRenderer } from '@forgeax/engine-runtime';
403
+
404
+ const renderer = await createRenderer(canvas);
405
+ const ready = await renderer.ready;
406
+ const attached = renderer.attachWorld(world);
407
+ if (ready.ok && attached.ok) {
408
+ world.update(1 / 60).unwrap();
409
+ renderer.draw([world], { cameraOwner: 0, resourceOwner: 0 });
410
+ }
411
+
412
+ // A numeric texture handle is normalized into the structured material slot.
413
+ const values = { baseColorTexture: materialTextureValue(textureHandle) };
414
+ ```
415
+
416
+ For the full slot contract, read [`MaterialTextureValue`](../types/src/material/asset.ts)
417
+ and keep `baseColorTexture` on the same `paramSchema -> derive -> cook/load ->
418
+ extract/record` path.
419
+
420
+ `attachWorld` installs renderer-required derived-state systems once. Hosts built
421
+ with `createApp` get this wiring automatically. A custom loop attaches each
422
+ World before its first update, then keeps `draw` as a read-only consumer of the
423
+ state published by `World.update()`.
424
+
425
+ ## Persistent render scene
426
+
427
+ The ordinary single-World path bootstraps one renderer-owned CPU projection,
428
+ then drains the World's bounded change journal. Each attached World generation
429
+ receives one renderer-local `WorldRenderId`; draw-array reordering cannot change
430
+ that identity, while detach retires it before the same World object can
431
+ reattach. A no-change frame reuses the last visible snapshot without traversing
432
+ renderable archetypes; transform changes update only their stable projection
433
+ slots. Unrelated gameplay component writes do not invalidate render state.
434
+
435
+ Mutable shared payloads use the same explicit-dirty rule: mutate the resolved
436
+ payload, then call `world.sharedRefs.markChanged(handle)`. The renderer compares
437
+ one monotonic shared-ref epoch on the no-change path, drains the bounded exact
438
+ mutation journal when it advances, and refreshes only projection slots indexed
439
+ by the changed material handle. Journal overflow and topology-changing material
440
+ edits remain explicit full-reconcile reasons rather than silent partial state.
441
+
442
+ When `RhiCaps.storageBuffer` is available, the same projection owns persistent
443
+ Primitive, Instance, Transform, DrawTemplate, and Material GPU tables. The
444
+ tables use independent stable ranges: one primitive can reference ordinary
445
+ instance-local transforms, multiple draw items, and multiple prepared material
446
+ records. The schema in `src/gpu-scene-schema.ts` derives byte offsets, signed
447
+ and unsigned scalar forms, strides, and WGSL declarations; dirty ranges become
448
+ coalesced `queue.writeBuffer` writes and no-change frames upload zero scene
449
+ bytes. Device recovery discards only device-owned tables and rebuilds them from
450
+ the retained CPU projection.
451
+
452
+ The typed render-graph evidence path imports those persistent tables without
453
+ transferring ownership, runs compute cull → compact → indirect args, and consumes
454
+ the result through a graph-owned raster pass. Companion Dawn and Chromium gates
455
+ also cover storage-buffer ping-pong, compute-generated indirect dispatch and draw
456
+ arguments, storage-texture sampling in raster, and per-mip HZB reduction. These
457
+ are real driver/pixel proofs for the GPU-driven boundary; they do not make
458
+ RhiNull a pixel backend or make the CPU projection cease to be the scene
459
+ authority.
460
+
461
+ Inspect the current path through `renderer.renderScene`. Its CPU counters expose
462
+ full rebuilds, no-change and delta frames, transform/material/instance updates,
463
+ removals, the journal cursor, projection cardinality, and the last resync
464
+ reason. The nested `gpu` status is one of `inactive`, `unsupported`, `resident`,
465
+ `rebuild-pending`, or `error`; resident state additionally reports capacity,
466
+ upload ranges and bytes, grows, clears, rebuilds, and no-change frames. The
467
+ `gpuDriven` inspection reports whether stable frames materialized or validated
468
+ GPU-owned rows and whether candidate or batch topology bytes were uploaded.
469
+ GPU errors also use the existing `renderer.onError` channel.
470
+
471
+ ## GPU-driven view kernel
472
+
473
+ `BatchTopology` groups eligible rigid draw items by immutable geometry,
474
+ material, render-state, and command compatibility. One primitive can contribute
475
+ multiple submesh draw items, and each draw item uses a closed indexed or
476
+ non-indexed five-word indirect command. A per-view typed graph records
477
+ `reset -> frustum/compact -> finalize` over persistent candidate and batch
478
+ buffers. The compute path validates generation and active flags, composes the
479
+ primitive world transform with each ordinary instance-local transform, writes a
480
+ compact `(instanceIndex, materialIndex)` stream, sets explicit overflow flags,
481
+ and emits indirect arguments with `firstInstance = 0`.
482
+
483
+ The URP frame activates the production raster lane when compute, storage
484
+ buffers, and indirect drawing are available. The current lane accepts opaque,
485
+ rigid default-unlit passes with batch-stable render state, ordinary instances,
486
+ indexed or non-indexed geometry, multiple submeshes and material slots, and the
487
+ canonical `12F` vertex layout. It also accepts persistent rigid multi-World
488
+ composition keyed by stable renderer-local World identity instead of the
489
+ current `draw(worlds)` order. Candidates come from the complete persistent
490
+ projection rather than the CPU-visible snapshot. The same typed graph imports the scene and mesh
491
+ buffers, runs the three compute passes, and consumes generated arguments with
492
+ `drawIndexedIndirect` or `drawIndirect`. Entities accepted by that lane are not
493
+ also validated, uploaded, or recorded by the CPU forward loop on a stable
494
+ frame.
495
+
496
+ HDRP, PBR and custom shader variants, texture/sampler/video resource bindings,
497
+ transparent meshes, skinning, morphing, non-canonical layouts, and shadow views
498
+ keep explicit CPU or specialized lanes. WebGL2 selects capability fallback from
499
+ the same persistent projection; it does not emulate compute. Visibility and
500
+ hierarchy changes, non-rigid multi-World composition, and some prepared-resource
501
+ changes still require bounded reconcile work. The implemented lane proves a
502
+ zero-upload stable data path and broad rigid geometry coverage, but hardware
503
+ 100k timing, schema-derived material variants, visibility/hierarchy-local
504
+ routing, and GPU-driven shadows remain required before declaring P3 complete.
505
+
506
+ The bounded inspection reports topology revision, candidates, batches, visible
507
+ capacity, buffer capacities, update count, upload bytes, rebuild count, and CPU
508
+ fallback rows. RhiNull verifies graph dependency order and stable-frame zero
509
+ work; Dawn and Chromium verification consume indexed, non-indexed,
510
+ multi-submesh, and instanced arguments, read persistent scene tables in the
511
+ vertex path, and compare the resulting pixel. The renderer-level RhiNull
512
+ integration also proves that the built-in URP graph contains the compute chain
513
+ before `main`, including rigid multi-World composition, without GPU plus CPU
514
+ duplicate draws. The renderer retains one graph, one compile owner, one
515
+ encoder, and one submit route.
516
+
517
+ > [!NOTE]
518
+ > Non-rigid multi-World composition, skinned lanes, visibility/hierarchy
519
+ > changes, and unsupported render-relevant structural changes currently take
520
+ > an explicit reconcile path. The projection and GPU tables already define
521
+ > stable slot, generation, create, update, remove, grow, clear, and rebuild
522
+ > semantics; later coverage can make those changes entity-local without adding
523
+ > another scene authority.
524
+
525
+ When a host constructs a feature only after its World or asset catalogue is
526
+ ready, use `await renderer.installRenderFeature(feature)`. The late path inserts into
527
+ the same lifecycle host and RenderGraph ordering as boot-time features; it is
528
+ not a second renderer. Installing the same object twice is idempotent, while a
529
+ different object with the same identity returns the structured registration
530
+ conflict. Awaiting also completes the feature's declared material-shader
531
+ prewarm, so its first prepared draw observes the same ready barrier as a
532
+ boot-time feature.
533
+
534
+ This is the graph-only Wave 1 feature route; prepared graphics and late shader
535
+ prewarm extend the same lifecycle for production asset features.
536
+
537
+ When a late-installed feature remains registered through device loss, its declared material
538
+ shaders remain part of the renderer's live prewarm set. `await renderer.recover()` therefore
539
+ rebuilds those modules before the next prepared draw rather than relying on a one-frame retry.
540
+
541
+ For capability composition, `rendererPlugin(renderer)` provides the Host-owned
542
+ renderer and `renderFeaturePlugin(feature)` binds installation to a Cordis
543
+ Fiber. Fiber disposal calls `uninstallRenderFeature`, waits for submitted GPU
544
+ work, releases prepared batches/resources, and removes the feature's shader
545
+ prewarm declarations before the disposer resolves. The Fiber is never queried
546
+ inside extract, prepare, record, RenderGraph execution, or an RHI command loop.
547
+
548
+ When an App or Engine Worker owns the host-created Renderer itself, it installs
549
+ `ownedRendererPlugin(renderer)`. The same Provider publishes the renderer
550
+ Service and calls `Renderer.dispose()` after dependent capability Fibers have
551
+ unwound. Assemble-form Apps use borrowed `rendererPlugin(renderer)` instead.
552
+
553
+ ```ts
554
+ const fiber = await app.pluginContext.plugin(renderFeaturePlugin(feature));
555
+ await fiber.dispose();
556
+ ```
557
+
558
+ Boot-time `features: [...]` remains the direct renderer-construction path. Use
559
+ the plugin helper when the feature belongs to an optional or reloadable
560
+ capability whose lifetime must be reversible.
561
+
562
+ ### Built-in pipeline identity and cleanup
563
+
564
+ The built-in Universal Render Pipeline is registered under the stable public
565
+ identifier `URP_PIPELINE_ID` (`'forgeax::urp'`). Import the identifier from the
566
+ public `@forgeax/engine-render` entry when constructing a
567
+ `RenderPipelineAsset`; the `urpPipeline` implementation remains engine-owned.
568
+
569
+ ```ts
570
+ import { URP_PIPELINE_ID } from '@forgeax/engine-render';
571
+
572
+ const asset = {
573
+ kind: 'render-pipeline',
574
+ pipelineId: URP_PIPELINE_ID,
575
+ config: {},
576
+ };
577
+ const cleanup = renderer.installPipeline(asset);
578
+ if (cleanup.ok) {
579
+ // Keep this disposer with the Renderer / Fiber that installed the asset.
580
+ cleanup.value();
581
+ }
582
+ ```
583
+
584
+ > [!IMPORTANT]
585
+ > Pipeline, post-process, and RenderFeature registrations belong to a
586
+ > Renderer instance and must be disposed with that instance or its owning
587
+ > Fiber. Do not add a module-level `installed` set or reach through
588
+ > `renderer.store`; those are lifecycle and allocation internals, not public
589
+ > extension state.
590
+
591
+ | This package owns | Excluded concepts |
592
+ |:--|:--|
593
+ | Camera/light/mesh vocabulary, `Renderer`, render errors, documented pipeline operations | Backend selection, asset import, ECS scheduling, animation playback, optional text/tile/sprite authoring |
594
+
595
+ The stable surface is [`src/index.ts`](src/index.ts). `RenderError` is closed and carries actionable detail. Runtime alone owns host assembly and its `EngineEnvironmentError` rejection contract; render's construction seam is internal to that dependency path.
596
+
597
+ ## Tone mapping output contract
598
+
599
+ The public mode names are the same names used by the Three r184 oracle:
600
+
601
+ | Mode | Public constant | Output behavior |
602
+ |:--|:--|:--|
603
+ | `linear` | `TONEMAP_LINEAR` | Exposure, then clamp to LDR |
604
+ | `reinhard` | `TONEMAP_REINHARD` | Per-channel Reinhard |
605
+ | `cineon` | `TONEMAP_CINEON` | Cineon filmic curve |
606
+ | `aces-filmic` | `TONEMAP_ACES_FILMIC` | ACES filmic curve |
607
+ | `agx` | `TONEMAP_AGX` | AgX curve |
608
+ | `neutral` | `TONEMAP_NEUTRAL` | Khronos neutral curve |
609
+
610
+ `TONEMAP_REINHARD_EXTENDED` is the existing ForgeaX luminance-domain curve. Its
611
+ separate `reinhard-extended` name is intentional: it is not a second formula
612
+ hidden behind the Three `reinhard` name.
613
+
614
+ Tone-enabled cameras use one output contract:
615
+
616
+ ```text
617
+ linearHdr -- exposure + named tone curve --> linearLdr --> displayEncoded
618
+ ```
619
+
620
+ The final capture is the encoded surface result. A linear capture, when a
621
+ parity adapter exposes one, remains a separate `linearHdr` or `linearLdr`
622
+ sample and must not be compared as if it were the final display capture. The
623
+ contract is available as `resolveToneOutputContract(camera.tonemap)` from the
624
+ render package. The camera remains the runtime entry point:
625
+
626
+ ```ts
627
+ import { Camera, TONEMAP_AGX, perspective } from '@forgeax/engine-render';
628
+
629
+ world.spawn({
630
+ component: Camera,
631
+ data: {
632
+ ...perspective({ fov: Math.PI / 4, aspect: 1 }),
633
+ tonemap: TONEMAP_AGX,
634
+ exposure: 1,
635
+ },
636
+ }).unwrap();
637
+ ```
638
+
639
+ The built-in pass samples the HDR target and writes the LDR result through the
640
+ registered `forgeax::tonemap` fullscreen shader. Shader source authority is
641
+ [`packages/shader/src/tonemap.wgsl`](../shader/src/tonemap.wgsl); the render
642
+ package does not duplicate those formulas.
643
+
644
+ ## Optional CPU profiling
645
+
646
+ Render accepts the host-owned `Profiler` capability through App assembly. It writes bounded CPU
647
+ phase evidence only while a capture is active; it does not add GPU timestamps, ECS spans, a UI, or
648
+ a remote method. The artifact and its owner-declared catalog are documented by
649
+ [`@forgeax/engine-profiler`](../profiler/README.md).
650
+
651
+ ```ts
652
+ import { createProfiler, type Profiler } from '@forgeax/engine-profiler';
653
+ import { createRenderer } from '@forgeax/engine-runtime';
654
+
655
+ const profiler: Profiler = createProfiler();
656
+ const renderer = await createRenderer(canvas, { profiler });
657
+ ```
658
+
659
+ Use the package's `validateProfileCapture` and `buildProfileModel` entries for offline analysis.
660
+ The render package remains the owner of render vocabulary and extract/prepare/record execution.
661
+
662
+ ## RenderFeature: the producer seam
663
+
664
+ Register one producer-owned feature at the renderer assembly boundary. The
665
+ same `FrameData` type flows through `extract`, `prepare`, and `contribute`;
666
+ the host supplies ordering, capability projection, graph composition, and
667
+ lifecycle isolation.
668
+ Both paths execute inside the active RenderGraph and the frame's single
669
+ execute/submit boundary.
670
+
671
+ The smallest graph-only feature can still use `addResource` plus `addPass` for
672
+ CPU callbacks. GPU work uses the typed methods on the same staging object:
673
+
674
+ ```ts
675
+ contribute: (_frame, context) => {
676
+ context.staging.addComputePass('compact', computeDescriptor).unwrap();
677
+ context.staging.addGraphicsPass('draw', graphicsDescriptor).unwrap();
678
+ return ok(undefined);
679
+ }
680
+ ```
681
+
682
+ `computeDescriptor` contains only prepared program/binding references and
683
+ dispatches. `graphicsDescriptor` contains logical feature targets, prepared
684
+ pipeline/binding/data references, and draw or indirect-draw commands. The host
685
+ projects both into one typed `RenderGraph`; neither descriptor owns an encoder.
686
+
687
+ ### Five render terms
688
+
689
+ | Term | Meaning | Owner |
690
+ |:--|:--|:--|
691
+ | `RenderFeature` | Producer-owned extract/prepare/contribute callbacks and frame data | Feature producer |
692
+ | `RenderPipeline` | Full frame policy selected or switched by the host | Render host |
693
+ | RenderGraph pass | One declared graph execution node contributed to the active pipeline | Graph host |
694
+ | Material pass | One shader-facing pass in a `MaterialAsset` | Material asset |
695
+ | Prepared graphics | Opaque pipeline, binding, vertex/index, and attachment references prepared by the host | Render host |
696
+ | Prepared GPU work | Opaque persistent compute program, binding, buffer, dispatch, and indirect-draw references | Render host |
697
+
698
+ ### Prepared compute resources
699
+
700
+ `RenderFeature` producers prepare cooked compute pipelines, reflected name-based bindings,
701
+ uniform/storage buffers, and dispatches. The renderer joins reflection with prepared binding
702
+ entries, imports the persistent buffers into the render graph, and derives `uniform-read`,
703
+ `storage-read`, or `storage-read-write` access. Producers do not repeat a string `reads/writes`
704
+ ledger and do not receive an encoder.
705
+
706
+ Compute and graphics passes use the same contribution graph and submission boundary. The graph
707
+ owns `beginComputePass` / `end`; prepared GPU work records only pipeline, bind group, and dispatch
708
+ commands into the lent pass encoder. Persistent buffers retain device identity across frames,
709
+ rebuild with the feature-host generation, and retire only after queue completion. A storage buffer
710
+ may also be consumed as renderer-declared vertex data.
711
+
712
+ Feature contexts never expose raw GPU graphics state, a complete pipeline
713
+ context, submit authority, or a command encoder. They expose an immutable
714
+ `Readonly<RhiCaps>` capability snapshot for capability-gated preparation. The
715
+ graph-only `addPass`
716
+ surface still exposes only named pass and frame identity; use the prepared
717
+ graphics surface below when a feature needs pipelines, bindings, vertex/index
718
+ data, attachments, and draw records. Both paths execute inside the active
719
+ RenderGraph and the frame's single execute/submit boundary. The active RenderGraph
720
+ owns that frame boundary. Do not cast either context to a raw device or encoder. See
721
+ [`features/graph-contribution.ts`](src/features/graph-contribution.ts) for the
722
+ staging shape.
723
+
724
+ The copyable recipe above is therefore a graph-only Wave 1 feature; it stops at
725
+ the graph seam and does not provide a production particle draw path.
726
+
727
+ ### Prepared graphics recipe
728
+
729
+ Prepared graphics extends the existing graph-owned staging seam with five
730
+ opaque reference kinds. A producer requests preparation during `prepare`,
731
+ retains only the returned references, and contributes declarative records. The
732
+ render host owns generation checks, graph composition, recording, and submit.
733
+
734
+ Persistent GPU work follows the same ownership rule. A feature may retain opaque bindings for an
735
+ active producer; bindings retain their transitive program and buffers. Untouched resources are
736
+ detached after a successful feature frame and destroyed after queue completion, never while an
737
+ in-flight command can still reference them.
738
+
739
+ Prepare opaque references through `context.graphics` and, when compute is
740
+ available, `context.gpu`; retain those references in producer-owned frame data
741
+ and consume them only through `addComputePass` and `addGraphicsPass` during
742
+ `contribute`. The executable contract examples live in
743
+ [`render-feature-graph.integration.test.ts`](src/__tests__/render-feature-graph.integration.test.ts)
744
+ and
745
+ [`render-feature-gpu-work.integration.test.ts`](src/__tests__/render-feature-gpu-work.integration.test.ts).
746
+
747
+ ### Failure and recovery
748
+
749
+ `RenderError` is a closed union. Switch on `error.code`, then read
750
+ `error.expected`, `error.hint`, and the code-specific `error.detail`.
751
+
752
+ Feature capability checks are based on `Readonly<RhiCaps>`, and recovery actions
753
+ consume the structured `error.detail` context.
754
+
755
+ | Diagnostic state or code | Recovery action |
756
+ |:--|:--|
757
+ | `active` | Continue the next frame |
758
+ | `failed` / `render-feature-stage-failed` | Correct producer data and retry on the next frame |
759
+ | `disabled` / `render-feature-capability-missing` | Provide the capability on a replacement device; after device-loss recovery call `await renderer.recover()`. On a live renderer, `recover()` returns `recover-not-needed`, so rebuild on a capable device instead. |
760
+ | `render-feature-registration-conflict` | Fix identity/order at registration |
761
+ | `render-feature-pass-order-conflict` | Reorder the declared dependency and retry contribution |
762
+ | `render-feature-preparation-failed` | Repair the named prepared resource and retry on the action in `error.detail.recovery`; after device loss, verify that the feature's declared shader was included in the recovery prewarm set |
763
+ | `render-feature-prepared-state-mismatch` | Read the discriminated `error.detail.reason`, repair the generation/layout/format mismatch, and retry |
764
+ | `render-feature-draw-recording-failed` | Read `error.detail.backendReason`, then retry after the host reports renderer recovery |
765
+ | `disposed` | Terminal; create a new renderer/feature registration |
766
+
767
+ Use `renderer.renderFeatureDiagnostics()` for a read-only snapshot. Call
768
+ `renderer.dispose()` once or repeatedly; disposal is idempotent. A pipeline
769
+ switch keeps the feature registration list and rebuilds the active graph.
770
+ The host still uses `renderer.registerPipeline(id, pipeline)` for a full
771
+ pipeline change.
772
+
773
+ For a temporary presentation-owner handoff, call `renderer.releaseSurface()`.
774
+ It unconfigures the canvas and makes `draw()` fail closed without disposing the
775
+ Renderer, AssetRegistry, or GPU declarations. After the temporary owner is
776
+ gone, `renderer.restoreSurface()` re-enables lazy surface configuration on the
777
+ next draw. Both calls are idempotent; `dispose()` remains the terminal path.
778
+
779
+ For the complete declaration shape, read
780
+ [`features/types.ts`](src/features/types.ts) and
781
+ [`features/prepared-graphics.ts`](src/features/prepared-graphics.ts). For graph
782
+ contribution details, read [`features/graph-contribution.ts`](src/features/graph-contribution.ts);
783
+ for pipeline switching, read [`renderer.ts`](src/renderer.ts). The producer
784
+ asset contract is [`@forgeax/engine-vfx`](../vfx/README.md), while graph
785
+ ownership is [`@forgeax/engine-render-graph`](../render-graph/README.md).
786
+
787
+ > [!WARNING]
788
+ > Wave 2 delivered this generic prepared public seam. A downstream Wave 3 VFX
789
+ > integration owns visible particle draws; render must not gain a
790
+ > particle-kind switch or VFX production dependency. See the
791
+ > [VFX Wave 3 handoff](https://github.com/ForgeaXGame/forgeax-engine-harness/blob/main/docs/vfx-particle-runtime-design.md).
792
+
793
+ Dynamic consumers use the same boundary explicitly:
794
+
795
+ ```ts
796
+ const { Camera, MeshFilter, MeshRenderer } = await import('@forgeax/engine-render');
797
+ ```
798
+
799
+ `@forgeax/engine-runtime` remains the host assembly entry for `createRenderer` and backend policy. Import `Materials` from this package. Runtime is not a compatibility barrel for render components.
800
+
801
+ Optional text, tilemap, and sprite authoring is intentionally isolated from the
802
+ base vocabulary:
803
+
804
+ ```ts
805
+ import {
806
+ GlyphText,
807
+ SpriteAnimation,
808
+ Tilemap,
809
+ setTransparentSortConfig,
810
+ TRANSPARENT_SORT_MODE_LAYER_Y,
811
+ } from '@forgeax/engine-render/authoring';
812
+ ```
813
+
814
+ `authoring` also owns the public transparent-bucket configuration helpers and
815
+ their four named modes. A consumer that composes sprites with an existing 3D
816
+ game may set the world-level mode here; it should not reach into `/internal`.
817
+
818
+ The root barrel does not expose frame stores or extract/prepare/record owners.
819
+ Custom pipelines use `RenderPipeline.build`, typed targets, and typed graph
820
+ primitives; the renderer owns graph compilation and submission.
821
+
822
+ `@forgeax/engine-render/internal` is an engine-owned assembly seam, not an
823
+ application API or a compatibility route. Imports from `/internal` under the
824
+ private `apps/` tree are engine dogfood for assembly coverage, not application
825
+ recipes. First-party packages may use it while the engine is assembled;
826
+ application code should not copy those imports. Its
827
+ surface can change without a consumer migration promise. If a custom renderer
828
+ needs a capability absent from the supported root operations, treat that as a
829
+ request for an explicit public design rather than importing `/internal`.
830
+
831
+ For a custom `RenderPipeline` with `Camera.antialias = ANTIALIAS_MSAA`, create
832
+ count-4 scene colour/depth targets plus a single-sample resolve target, then pass
833
+ the typed resolve target to `addTypedScenePass`. Downstream passes read that
834
+ resolved handle; single-sample pipelines omit it.
835
+
836
+ ## Temporal antialiasing contract
837
+
838
+ `Camera.antialias = ANTIALIAS_TAA` selects the renderer-owned temporal path. The fixed v1 order is linear scene color -> temporal raster -> one TAA resolve -> bloom -> tone/output/debug/UI. `Camera.historyVersion` is the explicit reset authority; increment it after a camera cut or other discontinuity.
839
+
840
+ > [!IMPORTANT]
841
+ > Read `renderer.renderScene.temporal` after `draw()`. It is the bounded inspection SSOT for history bytes, reset reason, coverage, failure, and recovery. Applications must not retain graph textures or create a parallel history registry.
842
+
843
+ The none, FXAA, and MSAA lanes allocate zero TAA history and record neither `scene-temporal-clear` nor `taa-resolve`. The permanent real-backend oracle is [`apps/hello/taa`](../../apps/hello/taa/README.md).
844
+
845
+ The main scene raster is the only jittered domain. Temporal replay uses unjittered current and previous view projection matrices plus its own cleared depth attachment; reusing main depth would compare unjittered fragments against jittered visibility. The packed `rgba16float` payload is `(currentUv - previousUv, log2(1 + viewDepth), reactive)`. Clip payloads use linear interpolation so previous projection remains a geometric authority rather than a perspective-correct material varying.
846
+
847
+ Resolve and both history textures live in the unjittered output domain. Current scene color is therefore sampled at `uv + currentJitterUv`, while history is sampled at `uv - velocity`. This is the same coordinate transform as the jittered-domain form `uvJittered - velocity + (previousJitter - currentJitter)`: storing the previous resolve unjittered removes the previous-jitter term instead of dropping jitter correction. The v1 preset keeps hard UV/depth rejection, 3 x 3 current-neighborhood clipping, alpha preservation, and a fixed luminance-adaptive feedback range of 0.88 through 0.97 further reduced by reactive, velocity, depth, and startup factors.
848
+
849
+ ### AI-user recipe: TAA, reset, and recovery
850
+
851
+ Enable TAA on the existing `Camera` and treat `historyVersion` as an explicit discontinuity counter. Do not increment it for ordinary camera motion.
852
+
853
+ ```ts
854
+ import { ANTIALIAS_TAA, Camera } from '@forgeax/engine-render';
855
+
856
+ const camera = world.spawn({
857
+ component: Camera,
858
+ data: {
859
+ fov: Math.PI / 4,
860
+ aspect: 16 / 9,
861
+ near: 0.1,
862
+ far: 100,
863
+ antialias: ANTIALIAS_TAA,
864
+ historyVersion: 0,
865
+ },
866
+ }).unwrap();
867
+
868
+ let historyVersion = 0;
869
+ function resetHistoryAfterCameraCut(): void {
870
+ historyVersion += 1;
871
+ world.set(camera, Camera, { historyVersion }).unwrap();
872
+ }
873
+ ```
874
+
875
+ Register `onError` before the first draw, handle the returned `Result`, then read the bounded inspection after the draw. The inspection is the recovery authority; the error listener preserves the exact structured failure that caused it.
876
+
877
+ ```ts
878
+ const stopErrors = renderer.onError((error) => reportRenderError(error));
879
+ const drawn = renderer.draw([world], { cameraOwner: 0, resourceOwner: 0 });
880
+ if (!drawn.ok) reportRenderError(drawn.error);
881
+
882
+ const temporal = renderer.renderScene.temporal;
883
+ if (temporal.recovery !== 'none') {
884
+ reportTemporalRecovery(temporal.recovery, temporal.failure, temporal.coverage);
885
+ }
886
+
887
+ stopErrors();
888
+ ```
889
+
890
+ | `temporal.recovery` | Owner action |
891
+ |:--|:--|
892
+ | `none` | Continue; a stable submitted frame owns valid history. |
893
+ | `seed-history` | Submit the next continuous frame; increment `historyVersion` only for a real discontinuity. |
894
+ | `enable-temporal-capabilities` | Recreate the renderer on a device with `rgba16float` rendering and at least two color attachments. |
895
+ | `fix-temporal-pipeline-topology` | Repair the custom pipeline's target domain, attachment, or resolve count. |
896
+ | `complete-temporal-coverage` | Find `coverage.missingContributorIds`; make each producer exact or reactive. |
897
+ | `retry-frame` | Retry after the submit failure; aborted frames never advance history. |
898
+ | `rebuild-renderer` | Call `await renderer.recover()` after device loss and handle its `Result`. |
899
+
900
+ ### Custom pipeline temporal seam
901
+
902
+ A custom pipeline uses the same graph owner and follows one narrow order: scene color -> unjittered temporal raster -> feature contributions -> exactly one `context.resolveTemporal(...)` -> bloom/tone/output. For a TAA topology, allocate `scene-color` and `scene-temporal` as single-sample `rgba16float`; allocate a separate single-sample temporal depth target; clear temporal color to `(0, 0, -1, 1)` before replay; and call the public resolve seam exactly once. A non-TAA topology allocates and records none of those temporal resources or passes; calling the seam without `sceneTemporal` is optional and returns `undefined`.
903
+
904
+ ```ts
905
+ const features = context.contributeFeatures([
906
+ sceneColorTarget,
907
+ sceneDepthTarget,
908
+ sceneTemporalTarget,
909
+ ]);
910
+ if (!features.ok) return features;
911
+
912
+ const resolved = context.resolveTemporal({
913
+ sceneColor: sceneColorTarget,
914
+ sceneDepth: sceneDepthTarget,
915
+ sceneTemporal: sceneTemporalTarget,
916
+ });
917
+ if (!resolved.ok) return resolved;
918
+
919
+ const postInput = resolved.value?.resolvedColor ?? sceneColorTarget;
920
+ ```
921
+
922
+ The snippet assumes the pipeline has already recorded its scene and temporal raster passes. `exact` feature coverage must write the provided `scene-temporal` target from current/previous producer state. `reactive` is conservative but complete coverage: declaring `temporalCoverage: 'reactive'` permits current-frame fallback, while writing `w = 1` to the target gives pixel-local rejection. A visible graphics producer that declares neither is `missing`; the renderer rejects that frame's history instead of guessing.
923
+
924
+ ```mermaid
925
+ flowchart LR
926
+ World["World data"] --> Extract["extract"]
927
+ Extract --> Prepare["prepare"]
928
+ Prepare --> Record["record"]
929
+ Record --> Rhi["RHI submission"]
930
+ ```
931
+
932
+ ## Visibility contract
933
+
934
+ Quick start:
935
+
936
+ ```ts
937
+ import { Visibility, VisibilityStateValue, resolveVisibility } from '@forgeax/engine-render';
938
+
939
+ world.spawn({
940
+ component: Visibility,
941
+ data: { state: VisibilityStateValue.hidden },
942
+ }).unwrap();
943
+ const snapshot = resolveVisibility(world);
944
+ ```
945
+
946
+ | Stage | Truth | Diagnostic |
947
+ |:--|:--|:--|
948
+ | Author intent | `Visibility.state` is `inherited`, `hidden`, or `visible` | Read the ECS field or reflected `labels` |
949
+ | Effective state | `resolveVisibility(world).effective(entity)` applies valid scene parents | Inspect `snapshot.diagnostics` and `VisibilityResolution.source` |
950
+ | Render result | Render producers skip hidden candidates before material work | Read `renderer.visibilityStats`; it is not a frustum or picking metric |
951
+
952
+ If the state write returns an error, preserve `code`, `expected`, `hint`, and
953
+ `detail`, correct the enum value, and retry through `world.set`. If hierarchy
954
+ diagnostics are present, repair the scene relation and resolve again. Do not
955
+ hide the issue with a custom mesh, camera workaround, or material substitute.
956
+
957
+ Out of scope: camera frustum policy, picking, app lifecycle, asset import, and
958
+ VFX shadow behavior. `@forgeax/engine-vfx-render` remains the producer-owned
959
+ particle bridge and consumes the same effective visibility boundary.
960
+
961
+ ## Analytic atmosphere: one source, one submitted generation
962
+
963
+ The analytic environment route has one authoring source and one renderer-owned
964
+ submission transaction. `Atmosphere` contains exactly five medium fields; the
965
+ resource-owner selector enforces one Atmosphere source per World (the ECS schema
966
+ does not carry cardinality policy);
967
+ Sun direction, colour and illuminance belong to the co-located
968
+ `DirectionalLight` entity. The app never selects an atmosphere Skybox mode and
969
+ never owns an evaluator, cache, lifecycle ledger, encoder or queue submit.
970
+
971
+ ```ts
972
+ const sunEntity = world.spawn(
973
+ { component: Atmosphere, data: {
974
+ turbidity: 2.4,
975
+ rayleigh: 1.1,
976
+ mieCoefficient: 0.006,
977
+ mieDirectionalG: 0.78,
978
+ sunAngularRadius: 0.004675,
979
+ } },
980
+ { component: DirectionalLight, data: {
981
+ direction: [0.35, -0.88, -0.2],
982
+ color: [1, 0.93, 0.82],
983
+ intensity: 2.2,
984
+ } },
985
+ ).unwrap();
986
+
987
+ world.update(1 / 60).unwrap();
988
+ const frame = renderer.draw([world], { cameraOwner: 0, resourceOwner: 0 });
989
+ if (!frame.ok) reportRenderError(frame.error);
990
+ const submitted = renderer.renderScene.environment;
991
+ ```
992
+
993
+ The final line is a bounded projection of the existing Renderer generation
994
+ transaction. It reports state, source World/entity, desired/active signature,
995
+ device generation, bytes, rebuild facts, failure/LKG and temporal publish/reset
996
+ facts. It does not expose GPU handles or mutable caches.
997
+
998
+ | Failure observation | Exhaustive recovery action |
999
+ |:--|:--|
1000
+ | `environment-source-conflict` | Keep exactly one image or Atmosphere source and retry extract. |
1001
+ | `atmosphere-sun-missing` | Add the co-located `DirectionalLight`; do not invent a second Sun store. |
1002
+ | `atmosphere-capability-insufficient` | Admit only the M0 capability matrix result or fail closed. |
1003
+ | `atmosphere-producer-failed` | Read the stage, preserve LKG, repair the producer and retry the same Renderer owner. |
1004
+ | `render-feature-*` / `webgpu-runtime-error` | Read the discriminated `code`/`detail`, abort the frame transaction and follow its explicit recovery. |
1005
+
1006
+ > [!WARNING]
1007
+ > `Fog`, day/night automation, clouds, aerial perspective, astronomy, auto
1008
+ > exposure and a high-frequency time-of-day system are not implemented by this
1009
+ > route. A compatibility alias, conceptual wrapper, second evaluator/cache or
1010
+ > second submit/lifecycle owner would fail the one-cut audit.
1011
+
1012
+ <details>
1013
+ <summary>U-12 comparative-only boundary</summary>
1014
+
1015
+ Three r184 and PMREM references may appear in comparative calibration evidence,
1016
+ but they are not an implementation dependency, runtime import, evaluator, or
1017
+ public API owner. Comparative observations cannot turn an unavailable
1018
+ Browser/Dawn readback into a ForgeaX pixel verdict.
1019
+ </details>