@forgeax/engine-render 0.1.7 → 0.1.20
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.
- package/README.md +140 -2
- package/dist/.tsbuildinfo +1 -1
- package/dist/assembly/backend-contract.d.ts +12 -0
- package/dist/assembly/backend-contract.d.ts.map +1 -1
- package/dist/assembly/factory.d.ts +26 -5
- package/dist/assembly/factory.d.ts.map +1 -1
- package/dist/assembly/host-contract.d.ts +4 -0
- package/dist/assembly/host-contract.d.ts.map +1 -1
- package/dist/assembly/renderer-frame-transaction.d.ts +39 -0
- package/dist/assembly/renderer-frame-transaction.d.ts.map +1 -0
- package/dist/assembly/renderer-inspection.d.ts +22 -0
- package/dist/assembly/renderer-inspection.d.ts.map +1 -0
- package/dist/assembly/renderer-lifecycle.d.ts +4 -0
- package/dist/assembly/renderer-lifecycle.d.ts.map +1 -0
- package/dist/authoring.mjs +4 -2
- package/dist/authoring.mjs.map +1 -1
- package/dist/chunk-4XINDLAY.mjs +9404 -0
- package/dist/chunk-4XINDLAY.mjs.map +1 -0
- package/dist/chunk-CDTWTHZR.mjs +752 -0
- package/dist/chunk-CDTWTHZR.mjs.map +1 -0
- package/dist/chunk-FJ6P52EE.mjs +46 -0
- package/dist/chunk-FJ6P52EE.mjs.map +1 -0
- package/dist/chunk-JDWARUOI.mjs +44 -0
- package/dist/chunk-JDWARUOI.mjs.map +1 -0
- package/dist/chunk-M2MP4ZOU.mjs +73 -0
- package/dist/chunk-M2MP4ZOU.mjs.map +1 -0
- package/dist/chunk-PCHBPYML.mjs +385 -0
- package/dist/chunk-PCHBPYML.mjs.map +1 -0
- package/dist/chunk-RXZ3RGOU.mjs +53 -0
- package/dist/chunk-RXZ3RGOU.mjs.map +1 -0
- package/dist/{chunk-YEJIUW7D.mjs → chunk-TBQJOK2L.mjs} +356 -543
- package/dist/chunk-TBQJOK2L.mjs.map +1 -0
- package/dist/{chunk-CQXZC5XI.mjs → chunk-VFPLTKCU.mjs} +79 -69
- package/dist/chunk-VFPLTKCU.mjs.map +1 -0
- package/dist/components/atmosphere.d.ts +9 -0
- package/dist/components/atmosphere.d.ts.map +1 -0
- package/dist/components/camera.d.ts +2 -1
- package/dist/components/camera.d.ts.map +1 -1
- package/dist/components/fog.d.ts +8 -0
- package/dist/components/fog.d.ts.map +1 -0
- package/dist/components/index.d.ts +3 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/light-helpers.d.ts.map +1 -1
- package/dist/components/motion-blur.d.ts +7 -0
- package/dist/components/motion-blur.d.ts.map +1 -0
- package/dist/components/spot-light.d.ts +12 -0
- package/dist/components/spot-light.d.ts.map +1 -1
- package/dist/construct-renderer.d.ts +2 -2
- package/dist/construct-renderer.d.ts.map +1 -1
- package/dist/construct-renderer.mjs +11146 -14507
- package/dist/construct-renderer.mjs.map +1 -1
- package/dist/device/device-scope.d.ts +4 -0
- package/dist/device/device-scope.d.ts.map +1 -1
- package/dist/device/gpu-residency.d.ts +19 -2
- package/dist/device/gpu-residency.d.ts.map +1 -1
- package/dist/environment/frame.d.ts +60 -0
- package/dist/environment/frame.d.ts.map +1 -0
- package/dist/environment/generation.d.ts +21 -0
- package/dist/environment/generation.d.ts.map +1 -0
- package/dist/environment/graph.d.ts +4 -0
- package/dist/environment/graph.d.ts.map +1 -0
- package/dist/environment/inspection.d.ts +48 -0
- package/dist/environment/inspection.d.ts.map +1 -0
- package/dist/environment/lifecycle.d.ts +39 -0
- package/dist/environment/lifecycle.d.ts.map +1 -0
- package/dist/environment/signature.d.ts +25 -0
- package/dist/environment/signature.d.ts.map +1 -0
- package/dist/errors/render.d.ts +204 -1
- package/dist/errors/render.d.ts.map +1 -1
- package/dist/extract/camera.d.ts +5 -0
- package/dist/extract/camera.d.ts.map +1 -0
- package/dist/extract/environment.d.ts +74 -0
- package/dist/extract/environment.d.ts.map +1 -0
- package/dist/extract/visibility.d.ts +1 -1
- package/dist/extract/visibility.d.ts.map +1 -1
- package/dist/features/host.d.ts +9 -2
- package/dist/features/host.d.ts.map +1 -1
- package/dist/features/motion-blur/motion-blur-feature.d.ts +16 -0
- package/dist/features/motion-blur/motion-blur-feature.d.ts.map +1 -0
- package/dist/features/motion-blur/motion-blur-params.d.ts +25 -0
- package/dist/features/motion-blur/motion-blur-params.d.ts.map +1 -0
- package/dist/features/plan.d.ts +17 -2
- package/dist/features/plan.d.ts.map +1 -1
- package/dist/features/prepared-gpu-work.d.ts +3 -1
- package/dist/features/prepared-gpu-work.d.ts.map +1 -1
- package/dist/features/prepared-graphics.d.ts +2 -1
- package/dist/features/prepared-graphics.d.ts.map +1 -1
- package/dist/features/render-graph-raster.d.ts +2 -1
- package/dist/features/render-graph-raster.d.ts.map +1 -1
- package/dist/features/targets.d.ts +3 -0
- package/dist/features/targets.d.ts.map +1 -1
- package/dist/features/types.d.ts +12 -0
- package/dist/features/types.d.ts.map +1 -1
- package/dist/fullscreen-post-process-pass.d.ts +7 -1
- package/dist/fullscreen-post-process-pass.d.ts.map +1 -1
- package/dist/gpu-scene.d.ts +2 -0
- package/dist/gpu-scene.d.ts.map +1 -1
- package/dist/gpu-usage.d.ts +2 -0
- package/dist/gpu-usage.d.ts.map +1 -1
- package/dist/ibl/skylight-bind-group.d.ts +5 -6
- package/dist/ibl/skylight-bind-group.d.ts.map +1 -1
- package/dist/index.d.ts +24 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/dist/inspection-types.d.ts +43 -1
- package/dist/inspection-types.d.ts.map +1 -1
- package/dist/internal.d.ts +2 -0
- package/dist/internal.d.ts.map +1 -1
- package/dist/internal.mjs +2 -0
- package/dist/light-buffer-layout.d.ts +20 -12
- package/dist/light-buffer-layout.d.ts.map +1 -1
- package/dist/materials.d.ts +22 -0
- package/dist/materials.d.ts.map +1 -1
- package/dist/pbr-pipeline.d.ts +16 -9
- package/dist/pbr-pipeline.d.ts.map +1 -1
- package/dist/pipeline/standard-forward-lane.d.ts.map +1 -1
- package/dist/pipeline/standard-pipeline.d.ts +3 -0
- package/dist/pipeline/standard-pipeline.d.ts.map +1 -1
- package/dist/pipeline/standard-post.d.ts +48 -0
- package/dist/pipeline/standard-post.d.ts.map +1 -0
- package/dist/pipeline/standard-profile.d.ts +12 -2
- package/dist/pipeline/standard-profile.d.ts.map +1 -1
- package/dist/pipeline-builder.d.ts +18 -0
- package/dist/pipeline-builder.d.ts.map +1 -1
- package/dist/pipeline-spec.d.ts.map +1 -1
- package/dist/plugin.d.ts.map +1 -1
- package/dist/record/frame-lighting.d.ts +2 -0
- package/dist/record/frame-lighting.d.ts.map +1 -1
- package/dist/record/frame-snapshot.d.ts +137 -6
- package/dist/record/frame-snapshot.d.ts.map +1 -1
- package/dist/record/frame-targets.d.ts.map +1 -1
- package/dist/record/frame.d.ts +6 -3
- package/dist/record/frame.d.ts.map +1 -1
- package/dist/record/gpu-timing.d.ts +32 -0
- package/dist/record/gpu-timing.d.ts.map +1 -0
- package/dist/record/main-pass-geometry.d.ts +11 -0
- package/dist/record/main-pass-geometry.d.ts.map +1 -1
- package/dist/record/main-pass-material.d.ts +9 -6
- package/dist/record/main-pass-material.d.ts.map +1 -1
- package/dist/record/main-pass-sprite-draws.d.ts +8 -1
- package/dist/record/main-pass-sprite-draws.d.ts.map +1 -1
- package/dist/record/main-pass.d.ts +2 -0
- package/dist/record/main-pass.d.ts.map +1 -1
- package/dist/record/mesh-ssbo.d.ts.map +1 -1
- package/dist/record/render-context.d.ts +81 -19
- package/dist/record/render-context.d.ts.map +1 -1
- package/dist/record/shadow-pass.d.ts.map +1 -1
- package/dist/record/skybox-post-pass.d.ts +1 -11
- package/dist/record/skybox-post-pass.d.ts.map +1 -1
- package/dist/record/typed-frame-graph.d.ts +36 -4
- package/dist/record/typed-frame-graph.d.ts.map +1 -1
- package/dist/record/view-ubo.d.ts +4 -1
- package/dist/record/view-ubo.d.ts.map +1 -1
- package/dist/render-contract.d.ts +157 -8
- package/dist/render-contract.d.ts.map +1 -1
- package/dist/render-data.d.ts +10 -6
- package/dist/render-data.d.ts.map +1 -1
- package/dist/render-graph-primitives.d.ts.map +1 -1
- package/dist/render-pipeline.d.ts +86 -6
- package/dist/render-pipeline.d.ts.map +1 -1
- package/dist/render-system-extract.d.ts +84 -8
- package/dist/render-system-extract.d.ts.map +1 -1
- package/dist/render-system.d.ts +30 -5
- package/dist/render-system.d.ts.map +1 -1
- package/dist/renderer-inspect.d.ts +29 -0
- package/dist/renderer-inspect.d.ts.map +1 -0
- package/dist/scene/render-scene.d.ts +36 -2
- package/dist/scene/render-scene.d.ts.map +1 -1
- package/dist/temporal/coverage.d.ts +42 -0
- package/dist/temporal/coverage.d.ts.map +1 -0
- package/dist/temporal/frame-coordinator.d.ts +99 -0
- package/dist/temporal/frame-coordinator.d.ts.map +1 -0
- package/dist/temporal/frame.d.ts +44 -0
- package/dist/temporal/frame.d.ts.map +1 -0
- package/dist/temporal/gpu.d.ts +39 -0
- package/dist/temporal/gpu.d.ts.map +1 -0
- package/dist/temporal/history.d.ts +37 -0
- package/dist/temporal/history.d.ts.map +1 -0
- package/dist/temporal/index.d.ts +7 -0
- package/dist/temporal/index.d.ts.map +1 -0
- package/dist/temporal/index.mjs +8 -0
- package/dist/temporal/index.mjs.map +1 -0
- package/dist/temporal/inspection.d.ts +36 -0
- package/dist/temporal/inspection.d.ts.map +1 -0
- package/dist/temporal/scene-data-catalog.d.ts +48 -0
- package/dist/temporal/scene-data-catalog.d.ts.map +1 -0
- package/dist/temporal/scene-data.d.ts +43 -0
- package/dist/temporal/scene-data.d.ts.map +1 -0
- package/dist/temporal/standard-scene-data.d.ts +61 -0
- package/dist/temporal/standard-scene-data.d.ts.map +1 -0
- package/dist/temporal/taa-history-resources.d.ts +22 -0
- package/dist/temporal/taa-history-resources.d.ts.map +1 -0
- package/dist/temporal/taa-history-store.d.ts +27 -0
- package/dist/temporal/taa-history-store.d.ts.map +1 -0
- package/dist/temporal/taa-resolve.d.ts +15 -0
- package/dist/temporal/taa-resolve.d.ts.map +1 -0
- package/dist/temporal/temporal-view.d.ts +40 -0
- package/dist/temporal/temporal-view.d.ts.map +1 -0
- package/dist/temporal/transaction.d.ts +9 -0
- package/dist/temporal/transaction.d.ts.map +1 -0
- package/dist/temporal/view.d.ts +56 -0
- package/dist/temporal/view.d.ts.map +1 -0
- package/dist/transmission/backdrop.d.ts +147 -0
- package/dist/transmission/backdrop.d.ts.map +1 -0
- package/dist/transmission/inspection.d.ts +57 -0
- package/dist/transmission/inspection.d.ts.map +1 -0
- package/dist/transmission/oracle.d.ts +42 -0
- package/dist/transmission/oracle.d.ts.map +1 -0
- package/dist/transmission/projection.d.ts +37 -0
- package/dist/transmission/projection.d.ts.map +1 -0
- package/dist/typed-render-graph-primitives.d.ts +30 -2
- package/dist/typed-render-graph-primitives.d.ts.map +1 -1
- package/dist/typed-shadow-atlas.d.ts +10 -0
- package/dist/typed-shadow-atlas.d.ts.map +1 -0
- package/dist/typed-shadow-passes.d.ts.map +1 -1
- package/dist/volume/capability.d.ts +57 -0
- package/dist/volume/capability.d.ts.map +1 -0
- package/dist/volume/component.d.ts +61 -0
- package/dist/volume/component.d.ts.map +1 -0
- package/dist/volume/extract.d.ts +11 -0
- package/dist/volume/extract.d.ts.map +1 -0
- package/dist/volume/inspection.d.ts +38 -0
- package/dist/volume/inspection.d.ts.map +1 -0
- package/dist/volume/passes.d.ts +38 -0
- package/dist/volume/passes.d.ts.map +1 -0
- package/dist/volume/recovery.d.ts +38 -0
- package/dist/volume/recovery.d.ts.map +1 -0
- package/dist/volume/resources.d.ts +57 -0
- package/dist/volume/resources.d.ts.map +1 -0
- package/dist/volume/temporal.d.ts +35 -0
- package/dist/volume/temporal.d.ts.map +1 -0
- package/package.json +24 -19
- package/src/__tests__/ai-user-cold-start.integration.test.ts +59 -0
- package/src/__tests__/ai-user-public-surface.test-d.ts +45 -0
- package/src/__tests__/bloom-exact-zero.unit.test.ts +202 -0
- package/src/__tests__/bloom-lifecycle.integration.test.ts +125 -0
- package/src/__tests__/construct-renderer-identity.unit.test.ts +4 -3
- package/src/__tests__/detached-inspection.integration.test.ts +177 -0
- package/src/__tests__/environment-fog-lanes.integration.test.ts +219 -0
- package/src/__tests__/environment-generation.integration.test.ts +141 -0
- package/src/__tests__/environment-selection.unit.test.ts +245 -0
- package/src/__tests__/factory-contract.integration.test.ts +1380 -9
- package/src/__tests__/frame-plan-contract.unit.test.ts +90 -0
- package/src/__tests__/fullscreen-feature-plan.unit.test.ts +7 -0
- package/src/__tests__/gpu-driven-production.integration.test.ts +74 -22
- package/src/__tests__/gpu-driven-view-graph.integration.test.ts +37 -0
- package/src/__tests__/gpu-scene.unit.test.ts +10 -0
- package/src/__tests__/injection-kind-owner.test-d.ts +2 -1
- package/src/__tests__/ktx2-basis-gpu-consumer.dawn.test.ts +14 -14
- package/src/__tests__/material-contract-inventory.unit.test.ts +62 -0
- package/src/__tests__/material-cooked-projection.unit.test.ts +18 -146
- package/src/__tests__/materials-transmission-validation.unit.test.ts +36 -0
- package/src/__tests__/mesh-buffer-usage-surface.unit.test.ts +1 -1
- package/src/__tests__/morph-feature-plan.unit.test.ts +7 -0
- package/src/__tests__/motion-blur.pixel.integration.test.ts +121 -0
- package/src/__tests__/public-surface.test-d.ts +15 -1
- package/src/__tests__/render-error-code-owner.test-d.ts +14 -0
- package/src/__tests__/render-error-detail-ssot.test-d.ts +11 -2
- package/src/__tests__/render-error-exhaustive.test-d.ts +3 -0
- package/src/__tests__/render-feature-errors.unit.test.ts +33 -3
- package/src/__tests__/render-feature-gpu-work.integration.test.ts +44 -0
- package/src/__tests__/render-feature-plan.test-d.ts +22 -89
- package/src/__tests__/render-scene-projection.unit.test.ts +28 -0
- package/src/__tests__/render-temporal-environment-consumer.browser.test.ts +26 -0
- package/src/__tests__/render-temporal-environment-consumer.dawn.test.ts +21 -0
- package/src/__tests__/renderer-factory-material-contract.unit.test.ts +423 -1
- package/src/__tests__/renderer-frame-transaction.integration.test.ts +405 -0
- package/src/__tests__/renderer-lifecycle.integration.test.ts +22 -0
- package/src/__tests__/scene-data-catalog.unit.test.ts +59 -0
- package/src/__tests__/scene-data-consumer.integration.test.ts +67 -0
- package/src/__tests__/scene-data-contract.test-d.ts +35 -0
- package/src/__tests__/scene-data-inspection.unit.test.ts +41 -0
- package/src/__tests__/scene-data-public-surface.test-d.ts +34 -0
- package/src/__tests__/shader-manifest-fixture.ts +111 -0
- package/src/__tests__/skinned-shadow-caster.test.ts +123 -0
- package/src/__tests__/standard-clustered-pipeline.unit.test.ts +24 -3
- package/src/__tests__/standard-pipeline.dawn.test.ts +15 -0
- package/src/__tests__/standard-pipeline.integration.test.ts +543 -1
- package/src/__tests__/standard-profile-oracle.unit.test.ts +12 -2
- package/src/__tests__/standard-temporal-producer.integration.test.ts +35 -0
- package/src/__tests__/surface-configuration.unit.test.ts +211 -12
- package/src/__tests__/taa-transaction.integration.test.ts +30 -0
- package/src/__tests__/temporal-admission.integration.test.ts +40 -0
- package/src/__tests__/temporal-coverage.unit.test.ts +35 -0
- package/src/__tests__/temporal-demand.unit.test.ts +44 -0
- package/src/__tests__/temporal-frame-coordinator.unit.test.ts +64 -0
- package/src/__tests__/temporal-graph-topology.unit.test.ts +51 -0
- package/src/__tests__/temporal-history-lifecycle.unit.test.ts +170 -0
- package/src/__tests__/temporal-performance.integration.test.ts +615 -0
- package/src/__tests__/temporal-reset-matrix.unit.test.ts +97 -0
- package/src/__tests__/temporal-transaction.integration.test.ts +60 -0
- package/src/__tests__/temporal-view.unit.test.ts +152 -0
- package/src/__tests__/transmission-prewarm.unit.test.ts +93 -0
- package/src/__tests__/typed-pipeline-topology.unit.test.ts +230 -1
- package/src/__tests__/urp-pipeline-targets.unit.test.ts +25 -1
- package/src/__tests__/urp-pipeline.unit.test.ts +4 -3
- package/src/__tests__/visibility-extract.integration.test.ts +27 -1
- package/src/__tests__/visibility-producer-matrix.integration.test.ts +10 -0
- package/src/__tests__/volume-optics-oracle.unit.test.ts +85 -0
- package/src/__tests__/volumetric-fog-budget-recovery.integration.test.ts +655 -0
- package/src/__tests__/volumetric-fog-component.unit.test.ts +71 -0
- package/src/__tests__/volumetric-fog-composite-stage-readback.dawn.test.ts +376 -0
- package/src/__tests__/volumetric-fog-errors.unit.test.ts +51 -0
- package/src/__tests__/volumetric-fog-inspection.unit.test.ts +77 -0
- package/src/__tests__/volumetric-fog-light-capability.unit.test.ts +19 -0
- package/src/__tests__/volumetric-fog-light-consumers.integration.test.ts +18 -0
- package/src/__tests__/volumetric-fog-light-errors.unit.test.ts +17 -0
- package/src/__tests__/volumetric-fog-light-topology.unit.test.ts +21 -0
- package/src/__tests__/volumetric-fog-light-transaction.integration.test.ts +53 -0
- package/src/__tests__/volumetric-fog-m9-watcher.integration.test.ts +27 -0
- package/src/__tests__/volumetric-fog-point-light-owner.integration.test.ts +44 -0
- package/src/__tests__/volumetric-fog-point-spot-accumulation.integration.test.ts +49 -0
- package/src/__tests__/volumetric-fog-point-spot-contract.unit.test.ts +28 -0
- package/src/__tests__/volumetric-fog-point-spot-lkg.integration.test.ts +65 -0
- package/src/__tests__/volumetric-fog-point-spot-selection.integration.test.ts +49 -0
- package/src/__tests__/volumetric-fog-point-spot-temporal.unit.test.ts +55 -0
- package/src/__tests__/volumetric-fog-projector-contract.unit.test.ts +22 -0
- package/src/__tests__/volumetric-fog-projector-inspection.unit.test.ts +12 -0
- package/src/__tests__/volumetric-fog-projector-surface-volume.integration.test.ts +11 -0
- package/src/__tests__/volumetric-fog-projector-transaction.integration.test.ts +26 -0
- package/src/__tests__/volumetric-fog-recovery.integration.test.ts +47 -0
- package/src/__tests__/volumetric-fog-selected-light-resolution.integration.test.ts +63 -0
- package/src/__tests__/volumetric-fog-spot-closure.integration.test.ts +26 -0
- package/src/__tests__/volumetric-fog-spot-contract.test-d.ts +21 -0
- package/src/__tests__/volumetric-fog-spot-contract.unit.test.ts +27 -0
- package/src/__tests__/volumetric-fog-spot-frame-optics.integration.test.ts +14 -0
- package/src/__tests__/volumetric-fog-spot-optics.integration.test.ts +29 -0
- package/src/__tests__/volumetric-fog-stage-readback.dawn.test.ts +550 -0
- package/src/__tests__/volumetric-fog-temporal-selected-light.unit.test.ts +33 -0
- package/src/__tests__/volumetric-fog-temporal.unit.test.ts +45 -0
- package/src/__tests__/volumetric-fog-topology.unit.test.ts +237 -0
- package/src/__tests__/volumetric-fog-transparent.integration.test.ts +27 -0
- package/src/assembly/backend-contract.ts +47 -1
- package/src/assembly/factory.ts +1480 -505
- package/src/assembly/host-contract.ts +4 -0
- package/src/assembly/renderer-frame-transaction.ts +75 -0
- package/src/assembly/renderer-inspection.ts +112 -0
- package/src/assembly/renderer-lifecycle.ts +6 -0
- package/src/components/__tests__/motion-blur.unit.test.ts +14 -0
- package/src/components/__tests__/schema-contract.unit.test.ts +6 -1
- package/src/components/atmosphere.ts +10 -0
- package/src/components/camera.ts +2 -1
- package/src/components/fog.ts +9 -0
- package/src/components/index.ts +3 -0
- package/src/components/light-helpers.ts +4 -0
- package/src/components/motion-blur.ts +8 -0
- package/src/components/spot-light.ts +22 -3
- package/src/construct-renderer.ts +40 -3
- package/src/device/device-scope.ts +15 -1
- package/src/device/gpu-residency.ts +168 -58
- package/src/environment/frame.ts +185 -0
- package/src/environment/generation.ts +23 -0
- package/src/environment/graph.ts +9 -0
- package/src/environment/inspection.ts +87 -0
- package/src/environment/lifecycle.ts +250 -0
- package/src/environment/signature.ts +55 -0
- package/src/errors/render.ts +404 -1
- package/src/extract/camera.ts +78 -0
- package/src/extract/environment.ts +171 -0
- package/src/extract/visibility.ts +38 -19
- package/src/features/host.ts +36 -5
- package/src/features/motion-blur/__tests__/motion-blur-feature.unit.test.ts +67 -0
- package/src/features/motion-blur/__tests__/motion-blur-params.unit.test.ts +53 -0
- package/src/features/motion-blur/motion-blur-feature.ts +119 -0
- package/src/features/motion-blur/motion-blur-params.ts +89 -0
- package/src/features/plan.ts +32 -3
- package/src/features/prepared-gpu-work.ts +21 -6
- package/src/features/prepared-graphics.ts +2 -1
- package/src/features/render-graph-raster.ts +2 -1
- package/src/features/targets.ts +24 -2
- package/src/features/types.ts +13 -0
- package/src/fullscreen-post-process-pass.ts +34 -4
- package/src/gpu-scene.ts +24 -0
- package/src/gpu-usage.ts +2 -0
- package/src/ibl/skylight-bind-group.ts +30 -38
- package/src/index.ts +104 -7
- package/src/inspection-types.ts +48 -0
- package/src/internal.ts +5 -0
- package/src/light-buffer-layout.ts +59 -26
- package/src/materials.ts +119 -24
- package/src/pbr-pipeline.ts +91 -29
- package/src/pipeline/standard-forward-lane.ts +178 -101
- package/src/pipeline/standard-pipeline.ts +176 -105
- package/src/pipeline/standard-post.ts +373 -0
- package/src/pipeline/standard-profile.ts +26 -3
- package/src/pipeline-builder.ts +102 -12
- package/src/pipeline-spec.ts +9 -0
- package/src/plugin.ts +2 -0
- package/src/record/__tests__/fullscreen-temporal-routing.unit.test.ts +25 -0
- package/src/record/__tests__/main-pass-geometry.unit.test.ts +47 -0
- package/src/record/__tests__/material-bg-cache.unit.test.ts +12 -1
- package/src/record/__tests__/material-pipeline-pending-cache.unit.test.ts +22 -0
- package/src/record/__tests__/sprite-material-abi.unit.test.ts +75 -0
- package/src/record/__tests__/standard-pbr-ubo-layout.unit.test.ts +67 -0
- package/src/record/__tests__/temporal-payload.unit.test.ts +164 -0
- package/src/record/__tests__/typed-frame-graph-plan.unit.test.ts +127 -0
- package/src/record/frame-lighting.ts +103 -89
- package/src/record/frame-snapshot.ts +170 -6
- package/src/record/frame-targets.ts +21 -8
- package/src/record/frame.ts +1014 -7
- package/src/record/gpu-timing.ts +224 -0
- package/src/record/main-pass-geometry.ts +86 -40
- package/src/record/main-pass-material.ts +120 -68
- package/src/record/main-pass-sprite-draws.ts +78 -101
- package/src/record/main-pass.ts +77 -4
- package/src/record/mesh-ssbo.ts +22 -3
- package/src/record/render-context.ts +194 -23
- package/src/record/shadow-pass.ts +197 -58
- package/src/record/skybox-post-pass.ts +97 -41
- package/src/record/typed-frame-graph.ts +704 -30
- package/src/record/view-ubo.ts +52 -4
- package/src/render-contract.ts +181 -6
- package/src/render-data.ts +50 -22
- package/src/render-graph-primitives.ts +18 -1
- package/src/render-pipeline.ts +144 -27
- package/src/render-system-extract.ts +522 -72
- package/src/render-system.ts +561 -41
- package/src/renderer-inspect.ts +66 -0
- package/src/scene/render-scene.ts +252 -7
- package/src/temporal/__tests__/taa-history-resources.unit.test.ts +45 -0
- package/src/temporal/coverage.ts +76 -0
- package/src/temporal/frame-coordinator.ts +311 -0
- package/src/temporal/frame.ts +128 -0
- package/src/temporal/gpu.ts +287 -0
- package/src/temporal/history.ts +92 -0
- package/src/temporal/index.ts +6 -0
- package/src/temporal/inspection.ts +97 -0
- package/src/temporal/scene-data-catalog.ts +200 -0
- package/src/temporal/scene-data.ts +149 -0
- package/src/temporal/standard-scene-data.ts +182 -0
- package/src/temporal/taa-history-resources.ts +128 -0
- package/src/temporal/taa-history-store.ts +79 -0
- package/src/temporal/taa-resolve.ts +34 -0
- package/src/temporal/temporal-view.ts +169 -0
- package/src/temporal/transaction.ts +17 -0
- package/src/temporal/view.ts +161 -0
- package/src/transmission/__tests__/capability.unit.test.ts +83 -0
- package/src/transmission/__tests__/composition.integration.test.ts +161 -0
- package/src/transmission/__tests__/inspection.unit.test.ts +241 -0
- package/src/transmission/__tests__/lifecycle.integration.test.ts +96 -0
- package/src/transmission/__tests__/oracle.unit.test.ts +131 -0
- package/src/transmission/__tests__/projection.unit.test.ts +71 -0
- package/src/transmission/__tests__/standard-transmission.dawn.test.ts +437 -0
- package/src/transmission/__tests__/transmission-backdrop-topology.unit.test.ts +109 -0
- package/src/transmission/__tests__/transmission-backdrop.dawn.test.ts +105 -0
- package/src/transmission/backdrop.ts +572 -0
- package/src/transmission/inspection.ts +190 -0
- package/src/transmission/oracle.ts +141 -0
- package/src/transmission/projection.ts +83 -0
- package/src/typed-render-graph-primitives.ts +194 -11
- package/src/typed-shadow-atlas.ts +17 -0
- package/src/typed-shadow-passes.ts +6 -5
- package/src/volume/capability.ts +173 -0
- package/src/volume/component.ts +110 -0
- package/src/volume/extract.ts +21 -0
- package/src/volume/inspection.ts +78 -0
- package/src/volume/passes.ts +680 -0
- package/src/volume/recovery.ts +86 -0
- package/src/volume/resources.ts +236 -0
- package/src/volume/temporal.ts +89 -0
- package/dist/__tests__/authoring-path.unit.test.d.ts +0 -2
- package/dist/__tests__/authoring-path.unit.test.d.ts.map +0 -1
- package/dist/__tests__/backend-selection-rhi-capture.test-d.d.ts +0 -2
- package/dist/__tests__/backend-selection-rhi-capture.test-d.d.ts.map +0 -1
- package/dist/__tests__/callback-inference.test-d.d.ts +0 -2
- package/dist/__tests__/callback-inference.test-d.d.ts.map +0 -1
- package/dist/__tests__/cluster-binner.test.d.ts +0 -2
- package/dist/__tests__/cluster-binner.test.d.ts.map +0 -1
- package/dist/__tests__/cluster-grid-default-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/cluster-grid-default-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/construct-renderer-identity.unit.test.d.ts +0 -2
- package/dist/__tests__/construct-renderer-identity.unit.test.d.ts.map +0 -1
- package/dist/__tests__/device-scope-lifecycle.unit.test.d.ts +0 -2
- package/dist/__tests__/device-scope-lifecycle.unit.test.d.ts.map +0 -1
- package/dist/__tests__/device-scope-stale-matrix.unit.test.d.ts +0 -2
- package/dist/__tests__/device-scope-stale-matrix.unit.test.d.ts.map +0 -1
- package/dist/__tests__/direct-extract-consumer-contract.test-d.d.ts +0 -2
- package/dist/__tests__/direct-extract-consumer-contract.test-d.d.ts.map +0 -1
- package/dist/__tests__/direct-light-snapshot.unit.test.d.ts +0 -2
- package/dist/__tests__/direct-light-snapshot.unit.test.d.ts.map +0 -1
- package/dist/__tests__/factory-contract.integration.test.d.ts +0 -2
- package/dist/__tests__/factory-contract.integration.test.d.ts.map +0 -1
- package/dist/__tests__/fallback-row-stride-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/fallback-row-stride-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/frame-observation.contract.test.d.ts +0 -2
- package/dist/__tests__/frame-observation.contract.test.d.ts.map +0 -1
- package/dist/__tests__/fullscreen-feature-plan.unit.test.d.ts +0 -2
- package/dist/__tests__/fullscreen-feature-plan.unit.test.d.ts.map +0 -1
- package/dist/__tests__/glyph-text-layout-recovery.unit.test.d.ts +0 -2
- package/dist/__tests__/glyph-text-layout-recovery.unit.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-indirect-raster-evidence.d.ts +0 -6
- package/dist/__tests__/gpu-driven-indirect-raster-evidence.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-indirect-raster.browser.test.d.ts +0 -2
- package/dist/__tests__/gpu-driven-indirect-raster.browser.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-indirect-raster.dawn.test.d.ts +0 -2
- package/dist/__tests__/gpu-driven-indirect-raster.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-production.integration.test.d.ts +0 -2
- package/dist/__tests__/gpu-driven-production.integration.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-scaling.unit.test.d.ts +0 -2
- package/dist/__tests__/gpu-driven-scaling.unit.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-view-gpu-evidence.d.ts +0 -18
- package/dist/__tests__/gpu-driven-view-gpu-evidence.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-view-graph.integration.test.d.ts +0 -2
- package/dist/__tests__/gpu-driven-view-graph.integration.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-view-reference.d.ts +0 -15
- package/dist/__tests__/gpu-driven-view-reference.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-view.browser.test.d.ts +0 -2
- package/dist/__tests__/gpu-driven-view.browser.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-view.dawn.test.d.ts +0 -2
- package/dist/__tests__/gpu-driven-view.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-driven-view.unit.test.d.ts +0 -2
- package/dist/__tests__/gpu-driven-view.unit.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-resource-store-stride.unit.test.d.ts +0 -2
- package/dist/__tests__/gpu-resource-store-stride.unit.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-scene-render-graph-gpu.d.ts +0 -7
- package/dist/__tests__/gpu-scene-render-graph-gpu.d.ts.map +0 -1
- package/dist/__tests__/gpu-scene-render-graph.browser.test.d.ts +0 -2
- package/dist/__tests__/gpu-scene-render-graph.browser.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-scene-render-graph.dawn.test.d.ts +0 -2
- package/dist/__tests__/gpu-scene-render-graph.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-scene-schema.unit.test.d.ts +0 -2
- package/dist/__tests__/gpu-scene-schema.unit.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-scene.dawn.test.d.ts +0 -2
- package/dist/__tests__/gpu-scene.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/gpu-scene.unit.test.d.ts +0 -2
- package/dist/__tests__/gpu-scene.unit.test.d.ts.map +0 -1
- package/dist/__tests__/ibl/face-uniforms.unit.test.d.ts +0 -2
- package/dist/__tests__/ibl/face-uniforms.unit.test.d.ts.map +0 -1
- package/dist/__tests__/infinite-grid-no-vertex-probe.unit.test.d.ts +0 -2
- package/dist/__tests__/infinite-grid-no-vertex-probe.unit.test.d.ts.map +0 -1
- package/dist/__tests__/injection-kind-owner.test-d.d.ts +0 -2
- package/dist/__tests__/injection-kind-owner.test-d.d.ts.map +0 -1
- package/dist/__tests__/ktx2-basis-gpu-consumer.dawn.test.d.ts +0 -2
- package/dist/__tests__/ktx2-basis-gpu-consumer.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/light-buffer-layout.unit.test.d.ts +0 -2
- package/dist/__tests__/light-buffer-layout.unit.test.d.ts.map +0 -1
- package/dist/__tests__/material-contract-inventory.unit.test.d.ts +0 -2
- package/dist/__tests__/material-contract-inventory.unit.test.d.ts.map +0 -1
- package/dist/__tests__/material-cooked-projection.unit.test.d.ts +0 -2
- package/dist/__tests__/material-cooked-projection.unit.test.d.ts.map +0 -1
- package/dist/__tests__/material-snapshot-mutation.integration.test.d.ts +0 -2
- package/dist/__tests__/material-snapshot-mutation.integration.test.d.ts.map +0 -1
- package/dist/__tests__/material-static-dynamic-route.unit.test.d.ts +0 -2
- package/dist/__tests__/material-static-dynamic-route.unit.test.d.ts.map +0 -1
- package/dist/__tests__/material-stride-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/material-stride-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/mesh-buffer-usage-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/mesh-buffer-usage-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/mesh-material-bindings.unit.test.d.ts +0 -2
- package/dist/__tests__/mesh-material-bindings.unit.test.d.ts.map +0 -1
- package/dist/__tests__/mesh-stride-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/mesh-stride-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/morph-culling-reentry.dawn.test.d.ts +0 -2
- package/dist/__tests__/morph-culling-reentry.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/morph-feature-gpu-work.integration.test.d.ts +0 -2
- package/dist/__tests__/morph-feature-gpu-work.integration.test.d.ts.map +0 -1
- package/dist/__tests__/morph-feature-plan.unit.test.d.ts +0 -2
- package/dist/__tests__/morph-feature-plan.unit.test.d.ts.map +0 -1
- package/dist/__tests__/morph-visual-evidence.integration.test.d.ts +0 -2
- package/dist/__tests__/morph-visual-evidence.integration.test.d.ts.map +0 -1
- package/dist/__tests__/nineslice-handle-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/nineslice-handle-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/post-process-error-policy-owner.unit.test.d.ts +0 -2
- package/dist/__tests__/post-process-error-policy-owner.unit.test.d.ts.map +0 -1
- package/dist/__tests__/prepared-buffer-kind-owner.test-d.d.ts +0 -2
- package/dist/__tests__/prepared-buffer-kind-owner.test-d.d.ts.map +0 -1
- package/dist/__tests__/prepared-graphics-capability.unit.test.d.ts +0 -2
- package/dist/__tests__/prepared-graphics-capability.unit.test.d.ts.map +0 -1
- package/dist/__tests__/prepared-graphics-generation.unit.test.d.ts +0 -2
- package/dist/__tests__/prepared-graphics-generation.unit.test.d.ts.map +0 -1
- package/dist/__tests__/prepared-graphics-lifecycle.unit.test.d.ts +0 -2
- package/dist/__tests__/prepared-graphics-lifecycle.unit.test.d.ts.map +0 -1
- package/dist/__tests__/prepared-graphics-pipeline-warmup.unit.test.d.ts +0 -2
- package/dist/__tests__/prepared-graphics-pipeline-warmup.unit.test.d.ts.map +0 -1
- package/dist/__tests__/prepared-graphics-resolver.unit.test.d.ts +0 -2
- package/dist/__tests__/prepared-graphics-resolver.unit.test.d.ts.map +0 -1
- package/dist/__tests__/prepared-graphics-snapshot.unit.test.d.ts +0 -2
- package/dist/__tests__/prepared-graphics-snapshot.unit.test.d.ts.map +0 -1
- package/dist/__tests__/prepared-graphics-store.unit.test.d.ts +0 -2
- package/dist/__tests__/prepared-graphics-store.unit.test.d.ts.map +0 -1
- package/dist/__tests__/prepared-graphics-validation.unit.test.d.ts +0 -2
- package/dist/__tests__/prepared-graphics-validation.unit.test.d.ts.map +0 -1
- package/dist/__tests__/profiler-default-off.test.d.ts +0 -2
- package/dist/__tests__/profiler-default-off.test.d.ts.map +0 -1
- package/dist/__tests__/profiler-phase-catalog.test.d.ts +0 -2
- package/dist/__tests__/profiler-phase-catalog.test.d.ts.map +0 -1
- package/dist/__tests__/profiler-phase-integration.test.d.ts +0 -2
- package/dist/__tests__/profiler-phase-integration.test.d.ts.map +0 -1
- package/dist/__tests__/profiler-phase-token.test.d.ts +0 -2
- package/dist/__tests__/profiler-phase-token.test.d.ts.map +0 -1
- package/dist/__tests__/public-surface.test-d.d.ts +0 -2
- package/dist/__tests__/public-surface.test-d.d.ts.map +0 -1
- package/dist/__tests__/recover-error-policy-owner.unit.test.d.ts +0 -2
- package/dist/__tests__/recover-error-policy-owner.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-error-code-owner.test-d.d.ts +0 -2
- package/dist/__tests__/render-error-code-owner.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-error-detail-ssot.test-d.d.ts +0 -2
- package/dist/__tests__/render-error-detail-ssot.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-error-exhaustive.test-d.d.ts +0 -2
- package/dist/__tests__/render-error-exhaustive.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-assembly.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-assembly.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-context.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-context.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-contract.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-contract.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-diagnostics.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-diagnostics.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-docs.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-docs.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-errors.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-errors.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-gpu-work.integration.test.d.ts +0 -2
- package/dist/__tests__/render-feature-gpu-work.integration.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-plan.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-plan.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-plan.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-plan.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-prepared-diagnostics.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-prepared-diagnostics.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-prepared-errors.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-prepared-errors.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-prepared-graphics-docs.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-prepared-graphics-docs.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-prepared-graphics-isolation.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-prepared-graphics-isolation.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-prepared-graphics-negative.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-prepared-graphics-negative.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-prepared-graphics.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-prepared-graphics.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-prepared-graphics.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-prepared-graphics.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-public-surface.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-public-surface.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-retry.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-retry.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-scheduling.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-scheduling.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-stage-failed-policy-owner.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-stage-failed-policy-owner.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-stage-fault-recovery.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-stage-fault-recovery.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-visibility-context.test-d.d.ts +0 -2
- package/dist/__tests__/render-feature-visibility-context.test-d.d.ts.map +0 -1
- package/dist/__tests__/render-feature-visibility-context.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-visibility-context.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-feature-zero-work.unit.test.d.ts +0 -2
- package/dist/__tests__/render-feature-zero-work.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-graph-compute-raster-gpu.d.ts +0 -7
- package/dist/__tests__/render-graph-compute-raster-gpu.d.ts.map +0 -1
- package/dist/__tests__/render-graph-compute-raster.browser.test.d.ts +0 -2
- package/dist/__tests__/render-graph-compute-raster.browser.test.d.ts.map +0 -1
- package/dist/__tests__/render-graph-compute-raster.dawn.test.d.ts +0 -2
- package/dist/__tests__/render-graph-compute-raster.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/render-graph-hzb-gpu.d.ts +0 -7
- package/dist/__tests__/render-graph-hzb-gpu.d.ts.map +0 -1
- package/dist/__tests__/render-graph-hzb.browser.test.d.ts +0 -2
- package/dist/__tests__/render-graph-hzb.browser.test.d.ts.map +0 -1
- package/dist/__tests__/render-graph-hzb.dawn.test.d.ts +0 -2
- package/dist/__tests__/render-graph-hzb.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/render-graph-primitives.unit.test.d.ts +0 -2
- package/dist/__tests__/render-graph-primitives.unit.test.d.ts.map +0 -1
- package/dist/__tests__/render-graph-storage-indirect-gpu.d.ts +0 -12
- package/dist/__tests__/render-graph-storage-indirect-gpu.d.ts.map +0 -1
- package/dist/__tests__/render-graph-storage-indirect.browser.test.d.ts +0 -2
- package/dist/__tests__/render-graph-storage-indirect.browser.test.d.ts.map +0 -1
- package/dist/__tests__/render-graph-storage-indirect.dawn.test.d.ts +0 -2
- package/dist/__tests__/render-graph-storage-indirect.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/render-scene-projection.unit.test.d.ts +0 -2
- package/dist/__tests__/render-scene-projection.unit.test.d.ts.map +0 -1
- package/dist/__tests__/renderer-factory-material-contract.unit.test.d.ts +0 -2
- package/dist/__tests__/renderer-factory-material-contract.unit.test.d.ts.map +0 -1
- package/dist/__tests__/renderer-lifecycle.integration.test.d.ts +0 -2
- package/dist/__tests__/renderer-lifecycle.integration.test.d.ts.map +0 -1
- package/dist/__tests__/rhi-backend-package-boundary.unit.test.d.ts +0 -2
- package/dist/__tests__/rhi-backend-package-boundary.unit.test.d.ts.map +0 -1
- package/dist/__tests__/scriptable-pack-consumer.test-d.d.ts +0 -2
- package/dist/__tests__/scriptable-pack-consumer.test-d.d.ts.map +0 -1
- package/dist/__tests__/shader-stage-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/shader-stage-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/ssao-config.unit.test.d.ts +0 -2
- package/dist/__tests__/ssao-config.unit.test.d.ts.map +0 -1
- package/dist/__tests__/ssao-kernel-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/ssao-kernel-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/standard-clustered-pipeline.unit.test.d.ts +0 -2
- package/dist/__tests__/standard-clustered-pipeline.unit.test.d.ts.map +0 -1
- package/dist/__tests__/standard-descriptors.test-d.d.ts +0 -2
- package/dist/__tests__/standard-descriptors.test-d.d.ts.map +0 -1
- package/dist/__tests__/standard-pipeline.dawn.test.d.ts +0 -2
- package/dist/__tests__/standard-pipeline.dawn.test.d.ts.map +0 -1
- package/dist/__tests__/standard-pipeline.integration.test.d.ts +0 -2
- package/dist/__tests__/standard-pipeline.integration.test.d.ts.map +0 -1
- package/dist/__tests__/standard-profile-oracle.unit.test.d.ts +0 -2
- package/dist/__tests__/standard-profile-oracle.unit.test.d.ts.map +0 -1
- package/dist/__tests__/surface-configuration.unit.test.d.ts +0 -2
- package/dist/__tests__/surface-configuration.unit.test.d.ts.map +0 -1
- package/dist/__tests__/texture-usage-surface.unit.test.d.ts +0 -2
- package/dist/__tests__/texture-usage-surface.unit.test.d.ts.map +0 -1
- package/dist/__tests__/typed-pipeline-topology.unit.test.d.ts +0 -2
- package/dist/__tests__/typed-pipeline-topology.unit.test.d.ts.map +0 -1
- package/dist/__tests__/urp-pipeline-targets.unit.test.d.ts +0 -2
- package/dist/__tests__/urp-pipeline-targets.unit.test.d.ts.map +0 -1
- package/dist/__tests__/urp-pipeline.unit.test.d.ts +0 -2
- package/dist/__tests__/urp-pipeline.unit.test.d.ts.map +0 -1
- package/dist/__tests__/vertex-color-pipeline.unit.test.d.ts +0 -2
- package/dist/__tests__/vertex-color-pipeline.unit.test.d.ts.map +0 -1
- package/dist/__tests__/vertex-layout-consumer.unit.test.d.ts +0 -2
- package/dist/__tests__/vertex-layout-consumer.unit.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-diagnostics.integration.test.d.ts +0 -2
- package/dist/__tests__/visibility-diagnostics.integration.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-extract.integration.test.d.ts +0 -2
- package/dist/__tests__/visibility-extract.integration.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-extract.perf.test.d.ts +0 -2
- package/dist/__tests__/visibility-extract.perf.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-feature-dedup.integration.test.d.ts +0 -2
- package/dist/__tests__/visibility-feature-dedup.integration.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-hidden-report.unit.test.d.ts +0 -2
- package/dist/__tests__/visibility-hidden-report.unit.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-instances.integration.test.d.ts +0 -2
- package/dist/__tests__/visibility-instances.integration.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-multi-world.integration.test.d.ts +0 -2
- package/dist/__tests__/visibility-multi-world.integration.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-producer-matrix.integration.test.d.ts +0 -2
- package/dist/__tests__/visibility-producer-matrix.integration.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-producer-matrix.unit.test.d.ts +0 -2
- package/dist/__tests__/visibility-producer-matrix.unit.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-public-surface.test-d.d.ts +0 -2
- package/dist/__tests__/visibility-public-surface.test-d.d.ts.map +0 -1
- package/dist/__tests__/visibility-resolver.unit.test.d.ts +0 -2
- package/dist/__tests__/visibility-resolver.unit.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-resource-short-circuit.unit.test.d.ts +0 -2
- package/dist/__tests__/visibility-resource-short-circuit.unit.test.d.ts.map +0 -1
- package/dist/__tests__/visibility-snapshot-contract.unit.test.d.ts +0 -2
- package/dist/__tests__/visibility-snapshot-contract.unit.test.d.ts.map +0 -1
- package/dist/__tests__/vocabulary.unit.test.d.ts +0 -2
- package/dist/__tests__/vocabulary.unit.test.d.ts.map +0 -1
- package/dist/chunk-CQXZC5XI.mjs.map +0 -1
- package/dist/chunk-HCOGPHKS.mjs +0 -93
- package/dist/chunk-HCOGPHKS.mjs.map +0 -1
- package/dist/chunk-YEJIUW7D.mjs.map +0 -1
- package/dist/components/__tests__/points-lines-admission.unit.test.d.ts +0 -2
- package/dist/components/__tests__/points-lines-admission.unit.test.d.ts.map +0 -1
- package/dist/components/__tests__/points-lines-schema.unit.test.d.ts +0 -2
- package/dist/components/__tests__/points-lines-schema.unit.test.d.ts.map +0 -1
- package/dist/components/__tests__/schema-contract.unit.test.d.ts +0 -2
- package/dist/components/__tests__/schema-contract.unit.test.d.ts.map +0 -1
- package/dist/components/__tests__/schema-parity.unit.test.d.ts +0 -2
- package/dist/components/__tests__/schema-parity.unit.test.d.ts.map +0 -1
- package/dist/components/__tests__/visibility-schema.unit.test.d.ts +0 -2
- package/dist/components/__tests__/visibility-schema.unit.test.d.ts.map +0 -1
- package/dist/points-lines/__tests__/bounds.unit.test.d.ts +0 -2
- package/dist/points-lines/__tests__/bounds.unit.test.d.ts.map +0 -1
- package/dist/points-lines/__tests__/cache-recovery.unit.test.d.ts +0 -2
- package/dist/points-lines/__tests__/cache-recovery.unit.test.d.ts.map +0 -1
- package/dist/points-lines/__tests__/inspection-lanes.integration.test.d.ts +0 -2
- package/dist/points-lines/__tests__/inspection-lanes.integration.test.d.ts.map +0 -1
- package/dist/points-lines/__tests__/inspection.unit.test.d.ts +0 -2
- package/dist/points-lines/__tests__/inspection.unit.test.d.ts.map +0 -1
- package/dist/points-lines/__tests__/lane-structural.integration.test.d.ts +0 -2
- package/dist/points-lines/__tests__/lane-structural.integration.test.d.ts.map +0 -1
- package/dist/points-lines/__tests__/points-lines.bench.d.ts +0 -2
- package/dist/points-lines/__tests__/points-lines.bench.d.ts.map +0 -1
- package/dist/points-lines/__tests__/raster-lane.integration.test.d.ts +0 -2
- package/dist/points-lines/__tests__/raster-lane.integration.test.d.ts.map +0 -1
- package/dist/points-lines/__tests__/snapshot.unit.test.d.ts +0 -2
- package/dist/points-lines/__tests__/snapshot.unit.test.d.ts.map +0 -1
- package/dist/points-lines/__tests__/view-ubo.unit.test.d.ts +0 -2
- package/dist/points-lines/__tests__/view-ubo.unit.test.d.ts.map +0 -1
- package/dist/record/__tests__/material-bg-cache.unit.test.d.ts +0 -2
- package/dist/record/__tests__/material-bg-cache.unit.test.d.ts.map +0 -1
- package/dist/record/__tests__/material-slot-plan.unit.test.d.ts +0 -2
- package/dist/record/__tests__/material-slot-plan.unit.test.d.ts.map +0 -1
- package/dist/record/__tests__/typed-frame-graph-plan.unit.test.d.ts +0 -2
- package/dist/record/__tests__/typed-frame-graph-plan.unit.test.d.ts.map +0 -1
- package/dist/record/__tests__/video-texture-view.unit.test.d.ts +0 -2
- package/dist/record/__tests__/video-texture-view.unit.test.d.ts.map +0 -1
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
import { RenderGraphBuilder } from '@forgeax/engine-render-graph';
|
|
2
|
+
import { type RhiCommandEncoder, type RhiDevice, RhiError } from '@forgeax/engine-rhi';
|
|
3
|
+
import { RhiNullAdapter } from '@forgeax/engine-rhi-null';
|
|
4
|
+
import { err } from '@forgeax/engine-types';
|
|
5
|
+
import { describe, expect, it, vi } from 'vitest';
|
|
6
|
+
import { executeRendererFrameTransaction } from '../assembly/renderer-frame-transaction';
|
|
7
|
+
import { DeviceScope } from '../device/device-scope';
|
|
8
|
+
import { selectEnvironment } from '../environment/frame';
|
|
9
|
+
import { EnvironmentLifecycle } from '../environment/lifecycle';
|
|
10
|
+
import { RhiErrorListenerRegistry } from '../lifecycle';
|
|
11
|
+
import type { RenderFrameState } from '../record/frame-snapshot';
|
|
12
|
+
import { executeCompiledFrameGraph } from '../record/typed-frame-graph';
|
|
13
|
+
import { createRenderPipelineTarget, type RenderPipelineFrame } from '../render-pipeline';
|
|
14
|
+
import {
|
|
15
|
+
commitTemporalGpuSubmit,
|
|
16
|
+
getTemporalBindGroupResources,
|
|
17
|
+
getTemporalGpuState,
|
|
18
|
+
getTemporalParamsBuffer,
|
|
19
|
+
stageTemporalGpuSubmit,
|
|
20
|
+
} from '../temporal/gpu';
|
|
21
|
+
import { createTemporalView } from '../temporal/view';
|
|
22
|
+
import { addTypedTemporalResolvePass } from '../typed-render-graph-primitives';
|
|
23
|
+
|
|
24
|
+
type Stage = 'build' | 'execute' | 'finish' | 'submit';
|
|
25
|
+
|
|
26
|
+
type TemporalResolveFailure = 'params' | 'bind-group' | 'pipeline';
|
|
27
|
+
|
|
28
|
+
function selectedEnvironment(sourceKey?: string) {
|
|
29
|
+
return selectEnvironment({
|
|
30
|
+
environments:
|
|
31
|
+
sourceKey === undefined ? [] : [{ kind: 'image' as const, entityKey: 1, sourceKey }],
|
|
32
|
+
fogs: [],
|
|
33
|
+
suns: [],
|
|
34
|
+
lane: 'direct',
|
|
35
|
+
}).unwrap();
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
function temporalResolveFrame(
|
|
39
|
+
device: RhiDevice,
|
|
40
|
+
scope: DeviceScope,
|
|
41
|
+
frameState: RenderFrameState,
|
|
42
|
+
pipeline: object | null,
|
|
43
|
+
): RenderPipelineFrame {
|
|
44
|
+
return {
|
|
45
|
+
encoder: device.createCommandEncoder({ label: 'taa-resolve-transaction' }).unwrap(),
|
|
46
|
+
pipelineState: { format: 'rgba16float', colorAttachmentFormat: 'rgba16float' },
|
|
47
|
+
runtime: {
|
|
48
|
+
device,
|
|
49
|
+
deviceScope: scope,
|
|
50
|
+
errorRegistry: { fire: () => undefined },
|
|
51
|
+
getPostProcessPipeline: () => pipeline as never,
|
|
52
|
+
},
|
|
53
|
+
frameState,
|
|
54
|
+
view: undefined as never,
|
|
55
|
+
clear: [0, 0, 0, 1],
|
|
56
|
+
targetW: 8,
|
|
57
|
+
targetH: 8,
|
|
58
|
+
currentTexture: undefined as never,
|
|
59
|
+
camera: {
|
|
60
|
+
position: [0, 0, 2] as never,
|
|
61
|
+
world: new Float32Array(16),
|
|
62
|
+
fov: 1,
|
|
63
|
+
aspect: 1,
|
|
64
|
+
near: 0.1,
|
|
65
|
+
far: 100,
|
|
66
|
+
projection: 'perspective',
|
|
67
|
+
orthoLeft: -1,
|
|
68
|
+
orthoRight: 1,
|
|
69
|
+
orthoBottom: -1,
|
|
70
|
+
orthoTop: 1,
|
|
71
|
+
tonemap: 'none',
|
|
72
|
+
exposure: 1,
|
|
73
|
+
whitePoint: 1,
|
|
74
|
+
antialias: 'taa',
|
|
75
|
+
bloom: 'off',
|
|
76
|
+
bloomThreshold: 1,
|
|
77
|
+
bloomIntensity: 1,
|
|
78
|
+
bloomBlurRadius: 1,
|
|
79
|
+
clearColor: [0, 0, 0, 1],
|
|
80
|
+
temporal: frameState.lastSuccessfulTemporalView,
|
|
81
|
+
},
|
|
82
|
+
postProcessParams: new Map(),
|
|
83
|
+
msaaActive: false,
|
|
84
|
+
geometryColorResolveView: null,
|
|
85
|
+
ldrSpriteColorView: null,
|
|
86
|
+
} as unknown as RenderPipelineFrame;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
async function buildTemporalResolveGraph(device: RhiDevice) {
|
|
90
|
+
const graph = new RenderGraphBuilder<RenderPipelineFrame>();
|
|
91
|
+
const descriptor = (format: 'rgba8unorm' | 'rgba16float') => ({
|
|
92
|
+
format,
|
|
93
|
+
size: { width: 8, height: 8 },
|
|
94
|
+
});
|
|
95
|
+
const targets = {
|
|
96
|
+
scene: createRenderPipelineTarget(graph, 'taa-scene', descriptor('rgba16float')).unwrap(),
|
|
97
|
+
currentTemporal: createRenderPipelineTarget(
|
|
98
|
+
graph,
|
|
99
|
+
'taa-current-temporal',
|
|
100
|
+
descriptor('rgba16float'),
|
|
101
|
+
).unwrap(),
|
|
102
|
+
depth: createRenderPipelineTarget(graph, 'taa-depth', descriptor('rgba16float')).unwrap(),
|
|
103
|
+
historyColor: createRenderPipelineTarget(
|
|
104
|
+
graph,
|
|
105
|
+
'taa-history-color',
|
|
106
|
+
descriptor('rgba16float'),
|
|
107
|
+
).unwrap(),
|
|
108
|
+
historyTemporal: createRenderPipelineTarget(
|
|
109
|
+
graph,
|
|
110
|
+
'taa-history-temporal',
|
|
111
|
+
descriptor('rgba16float'),
|
|
112
|
+
).unwrap(),
|
|
113
|
+
writeColor: createRenderPipelineTarget(
|
|
114
|
+
graph,
|
|
115
|
+
'taa-write-color',
|
|
116
|
+
descriptor('rgba16float'),
|
|
117
|
+
).unwrap(),
|
|
118
|
+
writeTemporal: createRenderPipelineTarget(
|
|
119
|
+
graph,
|
|
120
|
+
'taa-write-temporal',
|
|
121
|
+
descriptor('rgba16float'),
|
|
122
|
+
).unwrap(),
|
|
123
|
+
};
|
|
124
|
+
const seed = [
|
|
125
|
+
targets.scene,
|
|
126
|
+
targets.currentTemporal,
|
|
127
|
+
targets.historyColor,
|
|
128
|
+
targets.historyTemporal,
|
|
129
|
+
];
|
|
130
|
+
expect(
|
|
131
|
+
graph.addRasterPass('taa-seed', {
|
|
132
|
+
accesses: seed.map(({ view }) => ({ resource: view, usage: 'color-attachment' as const })),
|
|
133
|
+
colorAttachments: seed.map(({ view }) => ({
|
|
134
|
+
view,
|
|
135
|
+
loadOp: 'clear' as const,
|
|
136
|
+
storeOp: 'store' as const,
|
|
137
|
+
clearValue: { r: 0, g: 0, b: 0, a: 0 },
|
|
138
|
+
})),
|
|
139
|
+
encode: ({ pass }) => pass.draw(3, 1, 0, 0),
|
|
140
|
+
}).ok,
|
|
141
|
+
).toBe(true);
|
|
142
|
+
expect(addTypedTemporalResolvePass(graph, targets).ok).toBe(true);
|
|
143
|
+
return graph.compile({ device, surfaceSize: { width: 8, height: 8 } }).unwrap();
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
describe('renderer successful-submit transaction', () => {
|
|
147
|
+
it.each<Stage>([
|
|
148
|
+
'build',
|
|
149
|
+
'execute',
|
|
150
|
+
'finish',
|
|
151
|
+
'submit',
|
|
152
|
+
])('aborts atomically at %s', (failureAt) => {
|
|
153
|
+
let submits = 0;
|
|
154
|
+
let commits = 0;
|
|
155
|
+
const before = {
|
|
156
|
+
signature: 'stable',
|
|
157
|
+
revision: 7,
|
|
158
|
+
jitter: 3,
|
|
159
|
+
previous: 'old',
|
|
160
|
+
history: 4,
|
|
161
|
+
frameIndex: 9,
|
|
162
|
+
};
|
|
163
|
+
const result = executeRendererFrameTransaction({
|
|
164
|
+
build: () =>
|
|
165
|
+
failureAt === 'build'
|
|
166
|
+
? { ok: false, stage: 'build' as const }
|
|
167
|
+
: { ok: true, value: before },
|
|
168
|
+
execute: () =>
|
|
169
|
+
failureAt === 'execute'
|
|
170
|
+
? { ok: false, stage: 'execute' as const }
|
|
171
|
+
: { ok: true, value: undefined },
|
|
172
|
+
finish: () =>
|
|
173
|
+
failureAt === 'finish'
|
|
174
|
+
? { ok: false, stage: 'finish' as const }
|
|
175
|
+
: { ok: true, value: undefined },
|
|
176
|
+
submit: () => {
|
|
177
|
+
submits += 1;
|
|
178
|
+
return failureAt === 'submit'
|
|
179
|
+
? { ok: false, stage: 'submit' as const }
|
|
180
|
+
: { ok: true, value: undefined };
|
|
181
|
+
},
|
|
182
|
+
commit: () => {
|
|
183
|
+
commits += 1;
|
|
184
|
+
},
|
|
185
|
+
});
|
|
186
|
+
expect(result).toEqual({ ok: false, error: { stage: failureAt } });
|
|
187
|
+
expect(submits).toBe(failureAt === 'submit' ? 1 : 0);
|
|
188
|
+
expect(commits).toBe(0);
|
|
189
|
+
expect(before).toEqual({
|
|
190
|
+
signature: 'stable',
|
|
191
|
+
revision: 7,
|
|
192
|
+
jitter: 3,
|
|
193
|
+
previous: 'old',
|
|
194
|
+
history: 4,
|
|
195
|
+
frameIndex: 9,
|
|
196
|
+
});
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
it('publishes staged Environment, Fog, and Temporal state only after submit', () => {
|
|
200
|
+
const published: string[] = [];
|
|
201
|
+
const result = executeRendererFrameTransaction({
|
|
202
|
+
build: () => ({ ok: true, value: { environment: 'env:2', fog: 'fog:2', temporal: 'taa:2' } }),
|
|
203
|
+
execute: () => ({ ok: true, value: undefined }),
|
|
204
|
+
finish: () => ({ ok: true, value: undefined }),
|
|
205
|
+
submit: () => ({ ok: true, value: undefined }),
|
|
206
|
+
commit: (candidate) =>
|
|
207
|
+
published.push(`${candidate.environment}/${candidate.fog}/${candidate.temporal}`),
|
|
208
|
+
});
|
|
209
|
+
expect(result.ok).toBe(true);
|
|
210
|
+
expect(published).toEqual(['env:2/fog:2/taa:2']);
|
|
211
|
+
});
|
|
212
|
+
|
|
213
|
+
it('rejects a missing temporal write before queue.submit and cleans the candidate', async () => {
|
|
214
|
+
const device = (await new RhiNullAdapter().requestDevice()).unwrap();
|
|
215
|
+
const scope = DeviceScope.create(91, 'renderer');
|
|
216
|
+
const frameState = {
|
|
217
|
+
temporalGpuState: undefined,
|
|
218
|
+
activeTemporalGpuState: undefined,
|
|
219
|
+
retiringTemporalGpuStates: new Set(),
|
|
220
|
+
pendingTemporalCommit: { kind: 'none' },
|
|
221
|
+
environmentGeneration: undefined,
|
|
222
|
+
environmentLifecycle: undefined,
|
|
223
|
+
} as unknown as RenderFrameState;
|
|
224
|
+
const candidate = getTemporalGpuState(frameState, device, scope, 8, 8);
|
|
225
|
+
getTemporalBindGroupResources(candidate);
|
|
226
|
+
const graphBuilder = new RenderGraphBuilder<{ readonly encoder: RhiCommandEncoder }>();
|
|
227
|
+
expect(
|
|
228
|
+
graphBuilder.addCopyPass('temporal-readiness-probe', {
|
|
229
|
+
accesses: [],
|
|
230
|
+
encode: () => undefined,
|
|
231
|
+
}).ok,
|
|
232
|
+
).toBe(true);
|
|
233
|
+
const compiled = graphBuilder.compile({
|
|
234
|
+
device,
|
|
235
|
+
surfaceSize: { width: 8, height: 8 },
|
|
236
|
+
});
|
|
237
|
+
expect(compiled.ok).toBe(true);
|
|
238
|
+
if (!compiled.ok) return;
|
|
239
|
+
frameState.compiledFrameGraph = compiled.value;
|
|
240
|
+
const submits = vi.spyOn(device.queue, 'submit');
|
|
241
|
+
const errors = new RhiErrorListenerRegistry();
|
|
242
|
+
const result = executeCompiledFrameGraph(
|
|
243
|
+
{ device, errorRegistry: errors } as never,
|
|
244
|
+
frameState,
|
|
245
|
+
{
|
|
246
|
+
encoder: device.createCommandEncoder({ label: 'temporal-readiness-probe' }).unwrap(),
|
|
247
|
+
} as unknown as RenderPipelineFrame,
|
|
248
|
+
device.createCommandEncoder({ label: 'temporal-readiness-probe-submit' }).unwrap(),
|
|
249
|
+
);
|
|
250
|
+
expect(result).toBe(false);
|
|
251
|
+
expect(submits).not.toHaveBeenCalled();
|
|
252
|
+
expect(frameState.activeTemporalGpuState).toBeUndefined();
|
|
253
|
+
expect(frameState.temporalGpuState).toBeUndefined();
|
|
254
|
+
expect(candidate.childScope.resourceDelta()).toBe(0);
|
|
255
|
+
expect(candidate.childScope.state).toBe('retired');
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
it.each<TemporalResolveFailure>([
|
|
259
|
+
'params',
|
|
260
|
+
'bind-group',
|
|
261
|
+
'pipeline',
|
|
262
|
+
])('rejects a real TAA resolve when %s fails and retries atomically', async (failureAt) => {
|
|
263
|
+
const device = (await new RhiNullAdapter().requestDevice()).unwrap();
|
|
264
|
+
const scope = DeviceScope.create(92, 'renderer');
|
|
265
|
+
const environmentLifecycle = new EnvironmentLifecycle(scope);
|
|
266
|
+
const activeEnvironment = environmentLifecycle.ensure(selectedEnvironment(), 'direct').unwrap();
|
|
267
|
+
environmentLifecycle.publish(activeEnvironment);
|
|
268
|
+
const environmentFrame = selectedEnvironment('environment:candidate');
|
|
269
|
+
const environmentGeneration = environmentLifecycle.ensure(environmentFrame, 'direct').unwrap();
|
|
270
|
+
const discardEnvironment = vi.spyOn(environmentLifecycle, 'discard');
|
|
271
|
+
const publishEnvironment = vi.spyOn(environmentLifecycle, 'publish');
|
|
272
|
+
const lastSuccessfulTemporalView = createTemporalView({
|
|
273
|
+
antialias: 'taa',
|
|
274
|
+
width: 4,
|
|
275
|
+
height: 4,
|
|
276
|
+
frameIndex: 6,
|
|
277
|
+
historyValid: true,
|
|
278
|
+
});
|
|
279
|
+
const frameState = {
|
|
280
|
+
temporalGpuState: undefined,
|
|
281
|
+
activeTemporalGpuState: undefined,
|
|
282
|
+
retiringTemporalGpuStates: new Set(),
|
|
283
|
+
pendingTemporalCommit: {
|
|
284
|
+
kind: 'taa',
|
|
285
|
+
view: createTemporalView({
|
|
286
|
+
antialias: 'taa',
|
|
287
|
+
width: 4,
|
|
288
|
+
height: 4,
|
|
289
|
+
frameIndex: 6,
|
|
290
|
+
historyValid: true,
|
|
291
|
+
}),
|
|
292
|
+
},
|
|
293
|
+
environmentGeneration,
|
|
294
|
+
environmentLifecycle,
|
|
295
|
+
successfulTemporalFrameIndex: 7,
|
|
296
|
+
lastSuccessfulTemporalView,
|
|
297
|
+
} as unknown as RenderFrameState;
|
|
298
|
+
const active = getTemporalGpuState(frameState, device, scope, 4, 4);
|
|
299
|
+
getTemporalBindGroupResources(active);
|
|
300
|
+
getTemporalParamsBuffer(active);
|
|
301
|
+
stageTemporalGpuSubmit(active);
|
|
302
|
+
expect(commitTemporalGpuSubmit(active)).toBe(true);
|
|
303
|
+
frameState.lastSuccessfulTemporalView = lastSuccessfulTemporalView;
|
|
304
|
+
frameState.activeTemporalGpuState = active;
|
|
305
|
+
frameState.temporalGpuState = undefined;
|
|
306
|
+
const candidate = getTemporalGpuState(frameState, device, scope, 8, 8);
|
|
307
|
+
getTemporalBindGroupResources(candidate);
|
|
308
|
+
getTemporalParamsBuffer(candidate);
|
|
309
|
+
const graph = await buildTemporalResolveGraph(device);
|
|
310
|
+
frameState.compiledFrameGraph = graph;
|
|
311
|
+
|
|
312
|
+
const failure = new RhiError({
|
|
313
|
+
code: 'webgpu-runtime-error',
|
|
314
|
+
expected: `TAA ${failureAt} operation succeeds`,
|
|
315
|
+
hint: 'repair the injected operation and retry the same frame',
|
|
316
|
+
});
|
|
317
|
+
const writeBuffer = vi.spyOn(device.queue, 'writeBuffer');
|
|
318
|
+
const createBindGroup = vi.spyOn(device, 'createBindGroup');
|
|
319
|
+
if (failureAt === 'params') {
|
|
320
|
+
const originalWriteBuffer = device.queue.writeBuffer;
|
|
321
|
+
writeBuffer.mockImplementation((buffer, offset, data, dataOffset, size) => {
|
|
322
|
+
if (buffer === candidate.paramsBuffer) return err(failure);
|
|
323
|
+
return originalWriteBuffer.call(device.queue, buffer, offset, data, dataOffset, size);
|
|
324
|
+
});
|
|
325
|
+
}
|
|
326
|
+
if (failureAt === 'bind-group') createBindGroup.mockReturnValue(err(failure));
|
|
327
|
+
const errors = new RhiErrorListenerRegistry();
|
|
328
|
+
const observed: unknown[] = [];
|
|
329
|
+
errors.add((error) => observed.push(error));
|
|
330
|
+
const submits = vi.spyOn(device.queue, 'submit');
|
|
331
|
+
const failedFrame = temporalResolveFrame(
|
|
332
|
+
device,
|
|
333
|
+
scope,
|
|
334
|
+
frameState,
|
|
335
|
+
failureAt === 'pipeline' ? null : {},
|
|
336
|
+
);
|
|
337
|
+
const failed = executeCompiledFrameGraph(
|
|
338
|
+
{ device, errorRegistry: errors } as never,
|
|
339
|
+
frameState,
|
|
340
|
+
failedFrame,
|
|
341
|
+
failedFrame.encoder,
|
|
342
|
+
);
|
|
343
|
+
expect(failed).toBe(false);
|
|
344
|
+
expect(submits).not.toHaveBeenCalled();
|
|
345
|
+
expect(observed[0]).toMatchObject({ code: 'pass-encode-failed' });
|
|
346
|
+
const cause = (observed[0] as { detail?: { cause?: unknown } }).detail?.cause;
|
|
347
|
+
expect(cause).toBeInstanceOf(RhiError);
|
|
348
|
+
expect(cause).toMatchObject({
|
|
349
|
+
expected:
|
|
350
|
+
failureAt === 'params'
|
|
351
|
+
? 'TAA resolve params upload succeeds'
|
|
352
|
+
: failureAt === 'bind-group'
|
|
353
|
+
? 'TAA resolve bind group creation succeeds'
|
|
354
|
+
: 'TAA resolve pipeline is ready before frame encoding',
|
|
355
|
+
});
|
|
356
|
+
expect(frameState.activeTemporalGpuState).toBe(active);
|
|
357
|
+
expect(frameState.temporalGpuState).toBeUndefined();
|
|
358
|
+
expect(candidate.childScope.resourceDelta()).toBe(0);
|
|
359
|
+
expect(candidate.childScope.state).toBe('retired');
|
|
360
|
+
expect(frameState.successfulTemporalFrameIndex).toBe(7);
|
|
361
|
+
expect(active.childScope.state).toBe('active');
|
|
362
|
+
|
|
363
|
+
writeBuffer.mockRestore();
|
|
364
|
+
createBindGroup.mockRestore();
|
|
365
|
+
expect(frameState.environmentGeneration).toBeUndefined();
|
|
366
|
+
expect(discardEnvironment).toHaveBeenCalledTimes(1);
|
|
367
|
+
expect(publishEnvironment).not.toHaveBeenCalled();
|
|
368
|
+
expect(active.valid).toBe(true);
|
|
369
|
+
expect(active.readIndex).toBe(1);
|
|
370
|
+
expect(frameState.lastSuccessfulTemporalView).toBe(lastSuccessfulTemporalView);
|
|
371
|
+
expect(environmentLifecycle.inspect().activeSignature).toBe(activeEnvironment.signature);
|
|
372
|
+
expect(environmentLifecycle.inspect().lkgSignature).toBe(activeEnvironment.signature);
|
|
373
|
+
frameState.environmentGeneration = environmentLifecycle
|
|
374
|
+
.ensure(environmentFrame, 'direct')
|
|
375
|
+
.unwrap();
|
|
376
|
+
frameState.pendingTemporalCommit = {
|
|
377
|
+
kind: 'taa',
|
|
378
|
+
view: createTemporalView({
|
|
379
|
+
antialias: 'taa',
|
|
380
|
+
width: 8,
|
|
381
|
+
height: 8,
|
|
382
|
+
frameIndex: 7,
|
|
383
|
+
historyValid: true,
|
|
384
|
+
}),
|
|
385
|
+
};
|
|
386
|
+
const retryFrame = temporalResolveFrame(device, scope, frameState, {});
|
|
387
|
+
const retried = executeCompiledFrameGraph(
|
|
388
|
+
{ device, errorRegistry: errors } as never,
|
|
389
|
+
frameState,
|
|
390
|
+
retryFrame,
|
|
391
|
+
retryFrame.encoder,
|
|
392
|
+
);
|
|
393
|
+
expect(retried).toBe(true);
|
|
394
|
+
expect(submits).toHaveBeenCalledTimes(1);
|
|
395
|
+
expect(frameState.activeTemporalGpuState).not.toBe(active);
|
|
396
|
+
expect(frameState.successfulTemporalFrameIndex).toBe(8);
|
|
397
|
+
expect(frameState.temporalGpuState).toBeUndefined();
|
|
398
|
+
expect(frameState.retiringTemporalGpuStates.size).toBe(1);
|
|
399
|
+
expect(publishEnvironment).toHaveBeenCalledTimes(1);
|
|
400
|
+
expect(discardEnvironment).toHaveBeenCalledTimes(1);
|
|
401
|
+
active.childScope.retire();
|
|
402
|
+
frameState.activeTemporalGpuState?.childScope.retire();
|
|
403
|
+
scope.dispose();
|
|
404
|
+
});
|
|
405
|
+
});
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { describe, expect, it } from 'vitest';
|
|
2
2
|
import { createRenderer as constructRenderer } from '../assembly/factory';
|
|
3
|
+
import { executeRendererFrameTransaction } from '../assembly/renderer-frame-transaction';
|
|
3
4
|
import { DeviceScope, LifecycleTransaction } from '../device/device-scope';
|
|
4
5
|
import { RenderRecoveryError } from '../errors/recover';
|
|
5
6
|
import { LifecycleConstructionError, type RenderError } from '../errors/render';
|
|
@@ -53,6 +54,27 @@ describe('renderer lifecycle', () => {
|
|
|
53
54
|
expect(recoveryError.detail.receipt).toEqual(receipt);
|
|
54
55
|
expect(recoveryError.hint).toContain('rebuild');
|
|
55
56
|
});
|
|
57
|
+
|
|
58
|
+
it('retains the last successful state when a candidate fails', () => {
|
|
59
|
+
const state = { signature: 'env:1', revision: 1, frameIndex: 12, history: 'history:1' };
|
|
60
|
+
const result = executeRendererFrameTransaction({
|
|
61
|
+
build: () => ({
|
|
62
|
+
ok: true,
|
|
63
|
+
value: { signature: 'env:2', revision: 2, frameIndex: 13, history: 'history:2' },
|
|
64
|
+
}),
|
|
65
|
+
execute: () => ({ ok: true, value: undefined }),
|
|
66
|
+
finish: () => ({ ok: false, stage: 'finish' as const }),
|
|
67
|
+
submit: () => ({ ok: true, value: undefined }),
|
|
68
|
+
commit: (candidate) => Object.assign(state, candidate),
|
|
69
|
+
});
|
|
70
|
+
expect(result).toEqual({ ok: false, error: { stage: 'finish' } });
|
|
71
|
+
expect(state).toEqual({
|
|
72
|
+
signature: 'env:1',
|
|
73
|
+
revision: 1,
|
|
74
|
+
frameIndex: 12,
|
|
75
|
+
history: 'history:1',
|
|
76
|
+
});
|
|
77
|
+
});
|
|
56
78
|
});
|
|
57
79
|
|
|
58
80
|
import { rhi } from '@forgeax/engine-rhi-null';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import {
|
|
3
|
+
createSceneDataCatalog,
|
|
4
|
+
SCENE_DATA_TEMPORAL_V1_SCHEMA,
|
|
5
|
+
} from '../temporal/scene-data-catalog';
|
|
6
|
+
|
|
7
|
+
describe('SceneDataCatalog authorization', () => {
|
|
8
|
+
it('issues a frozen sampled-read token for the active plan generation', () => {
|
|
9
|
+
const catalog = createSceneDataCatalog({
|
|
10
|
+
featureIdentity: 'taa',
|
|
11
|
+
generation: 7,
|
|
12
|
+
planIdentity: 'plan-7',
|
|
13
|
+
rgba16floatRenderable: true,
|
|
14
|
+
});
|
|
15
|
+
const result = catalog.require(SCENE_DATA_TEMPORAL_V1_SCHEMA);
|
|
16
|
+
expect(Object.isFrozen(result)).toBe(true);
|
|
17
|
+
expect(result).toMatchObject({
|
|
18
|
+
kind: 'scene-data',
|
|
19
|
+
schema: SCENE_DATA_TEMPORAL_V1_SCHEMA,
|
|
20
|
+
access: 'sampled-read',
|
|
21
|
+
format: 'rgba16float',
|
|
22
|
+
sampleCount: 1,
|
|
23
|
+
extent: 'render-resolution',
|
|
24
|
+
});
|
|
25
|
+
expect(catalog.validate(result).ok).toBe(true);
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
it('rejects forged, stale, foreign, and write-shaped tokens', () => {
|
|
29
|
+
const catalog = createSceneDataCatalog({
|
|
30
|
+
featureIdentity: 'taa',
|
|
31
|
+
generation: 7,
|
|
32
|
+
planIdentity: 'plan-7',
|
|
33
|
+
rgba16floatRenderable: true,
|
|
34
|
+
});
|
|
35
|
+
const foreign = createSceneDataCatalog({
|
|
36
|
+
featureIdentity: 'motion-blur',
|
|
37
|
+
generation: 7,
|
|
38
|
+
planIdentity: 'plan-7',
|
|
39
|
+
rgba16floatRenderable: true,
|
|
40
|
+
});
|
|
41
|
+
const issued = catalog.require(SCENE_DATA_TEMPORAL_V1_SCHEMA);
|
|
42
|
+
|
|
43
|
+
expect(foreign.validate(issued).ok).toBe(false);
|
|
44
|
+
expect(catalog.validate({ ...issued }).ok).toBe(false);
|
|
45
|
+
expect(catalog.validate({ ...issued, access: 'write' } as never).ok).toBe(false);
|
|
46
|
+
expect(catalog.validate(issued, 8).ok).toBe(false);
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it('reports capability absence without issuing a physical target', () => {
|
|
50
|
+
const catalog = createSceneDataCatalog({
|
|
51
|
+
featureIdentity: 'taa',
|
|
52
|
+
generation: 7,
|
|
53
|
+
planIdentity: 'plan-7',
|
|
54
|
+
rgba16floatRenderable: false,
|
|
55
|
+
});
|
|
56
|
+
expect(() => catalog.require(SCENE_DATA_TEMPORAL_V1_SCHEMA)).toThrow();
|
|
57
|
+
expect(catalog.inspect().status).toBe('unavailable');
|
|
58
|
+
});
|
|
59
|
+
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import {
|
|
3
|
+
createSceneDataCatalog,
|
|
4
|
+
type RenderFeaturePlan,
|
|
5
|
+
SCENE_DATA_TEMPORAL_V1_SCHEMA,
|
|
6
|
+
SceneDataUnavailableError,
|
|
7
|
+
} from '../index';
|
|
8
|
+
|
|
9
|
+
const availableOptions = {
|
|
10
|
+
featureIdentity: 'consumer::taa',
|
|
11
|
+
generation: 7,
|
|
12
|
+
planIdentity: 'consumer::taa:7',
|
|
13
|
+
lane: 'direct' as const,
|
|
14
|
+
rgba16floatRenderable: true,
|
|
15
|
+
producerPresent: true,
|
|
16
|
+
coverageComplete: true,
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
describe('public semantic scene-data consumer path', () => {
|
|
20
|
+
it('builds a sampled-only plan from the typed catalog token', () => {
|
|
21
|
+
const catalog = createSceneDataCatalog(availableOptions);
|
|
22
|
+
const target = catalog.require(SCENE_DATA_TEMPORAL_V1_SCHEMA);
|
|
23
|
+
const plan: RenderFeaturePlan = {
|
|
24
|
+
resources: [],
|
|
25
|
+
passes: [
|
|
26
|
+
{
|
|
27
|
+
kind: 'raster',
|
|
28
|
+
name: 'taa-resolve',
|
|
29
|
+
colorAttachments: [{ target: 'swapchain', loadOp: 'load', storeOp: 'store' }],
|
|
30
|
+
sampledTargets: [target],
|
|
31
|
+
draws: [],
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
expect(catalog.validate(target).ok).toBe(true);
|
|
37
|
+
expect(plan.passes[0]).toMatchObject({ sampledTargets: [target] });
|
|
38
|
+
expect(catalog.inspect()).toMatchObject({
|
|
39
|
+
schema: SCENE_DATA_TEMPORAL_V1_SCHEMA,
|
|
40
|
+
status: 'available',
|
|
41
|
+
completeness: 'exact',
|
|
42
|
+
});
|
|
43
|
+
expect(JSON.stringify(plan)).not.toContain('rhi');
|
|
44
|
+
});
|
|
45
|
+
|
|
46
|
+
it('returns a bounded structured unavailable error for the recovery path', () => {
|
|
47
|
+
const catalog = createSceneDataCatalog({
|
|
48
|
+
...availableOptions,
|
|
49
|
+
rgba16floatRenderable: false,
|
|
50
|
+
missingContributorIds: Array.from({ length: 34 }, (_, index) => `producer-${index}`),
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
expect(() => catalog.require(SCENE_DATA_TEMPORAL_V1_SCHEMA)).toThrow(SceneDataUnavailableError);
|
|
54
|
+
try {
|
|
55
|
+
catalog.require(SCENE_DATA_TEMPORAL_V1_SCHEMA);
|
|
56
|
+
} catch (error) {
|
|
57
|
+
expect(error).toBeInstanceOf(SceneDataUnavailableError);
|
|
58
|
+
if (error instanceof SceneDataUnavailableError) {
|
|
59
|
+
expect(error.code).toBe('scene-data-unavailable');
|
|
60
|
+
expect(error.detail.reason).toBe('capability-missing');
|
|
61
|
+
expect(error.detail.recovery).toBe('enable-capability');
|
|
62
|
+
expect(error.detail.missingContributorIds).toHaveLength(32);
|
|
63
|
+
expect(error.detail.omittedMissingContributorCount).toBe(2);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
});
|
|
67
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { expectTypeOf } from 'vitest';
|
|
2
|
+
import type { RenderFeaturePlan, RenderFeaturePlanContext, SceneDataTarget } from '../index';
|
|
3
|
+
import { SCENE_DATA_TEMPORAL_V1_SCHEMA, type SceneDataSchemaId } from '../temporal/scene-data';
|
|
4
|
+
|
|
5
|
+
declare const context: RenderFeaturePlanContext;
|
|
6
|
+
const target = context.sceneData.require(SCENE_DATA_TEMPORAL_V1_SCHEMA);
|
|
7
|
+
|
|
8
|
+
expectTypeOf(target).toEqualTypeOf<SceneDataTarget<typeof SCENE_DATA_TEMPORAL_V1_SCHEMA>>();
|
|
9
|
+
expectTypeOf<SceneDataSchemaId>().toEqualTypeOf<typeof SCENE_DATA_TEMPORAL_V1_SCHEMA>();
|
|
10
|
+
expectTypeOf(context.sceneData).toHaveProperty('require');
|
|
11
|
+
|
|
12
|
+
const plan: RenderFeaturePlan = {
|
|
13
|
+
resources: [],
|
|
14
|
+
passes: [
|
|
15
|
+
{
|
|
16
|
+
kind: 'raster',
|
|
17
|
+
name: 'temporal-consumer',
|
|
18
|
+
colorAttachments: [{ target: 'scene-color', loadOp: 'load', storeOp: 'store' }],
|
|
19
|
+
sampledTargets: [target],
|
|
20
|
+
draws: [],
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
void plan;
|
|
26
|
+
|
|
27
|
+
const sampledRead = { target };
|
|
28
|
+
void sampledRead;
|
|
29
|
+
|
|
30
|
+
// @ts-expect-error unknown schema ids are not part of the closed v1 contract
|
|
31
|
+
context.sceneData.require('forgeax::scene-data::unknown-v1');
|
|
32
|
+
|
|
33
|
+
// @ts-expect-error a scene-data token is not a render attachment target
|
|
34
|
+
const attachmentTarget: 'scene-color' = target;
|
|
35
|
+
void attachmentTarget;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { describe, expect, it } from 'vitest';
|
|
2
|
+
import {
|
|
3
|
+
createSceneDataCatalog,
|
|
4
|
+
SCENE_DATA_TEMPORAL_V1_SCHEMA,
|
|
5
|
+
} from '../temporal/scene-data-catalog';
|
|
6
|
+
|
|
7
|
+
describe('SceneData inspection', () => {
|
|
8
|
+
it('serializes bounded schema and availability facts only', () => {
|
|
9
|
+
const catalog = createSceneDataCatalog({
|
|
10
|
+
featureIdentity: 'taa',
|
|
11
|
+
generation: 3,
|
|
12
|
+
planIdentity: 'plan-3',
|
|
13
|
+
rgba16floatRenderable: true,
|
|
14
|
+
missingContributorIds: Array.from({ length: 40 }, (_, index) => `contributor-${index}`),
|
|
15
|
+
});
|
|
16
|
+
const inspection = catalog.inspect();
|
|
17
|
+
expect(inspection.schema).toBe(SCENE_DATA_TEMPORAL_V1_SCHEMA);
|
|
18
|
+
expect(inspection.missingContributorIds).toHaveLength(32);
|
|
19
|
+
expect(inspection.omittedMissingContributorCount).toBe(8);
|
|
20
|
+
expect(JSON.stringify(inspection)).not.toMatch(/graph|rhi|g-buffer|raw/i);
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
it('keeps the unavailable reason closed for exhaustive consumers', () => {
|
|
24
|
+
const catalog = createSceneDataCatalog({
|
|
25
|
+
featureIdentity: 'taa',
|
|
26
|
+
generation: 3,
|
|
27
|
+
planIdentity: 'plan-3',
|
|
28
|
+
rgba16floatRenderable: false,
|
|
29
|
+
});
|
|
30
|
+
const inspection = catalog.inspect();
|
|
31
|
+
if (inspection.status === 'unavailable') {
|
|
32
|
+
switch (inspection.reason) {
|
|
33
|
+
case 'capability-missing':
|
|
34
|
+
case 'producer-missing':
|
|
35
|
+
case 'coverage-incomplete':
|
|
36
|
+
case 'renderer-recovering':
|
|
37
|
+
break;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
});
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { expectTypeOf } from 'vitest';
|
|
2
|
+
import {
|
|
3
|
+
type RenderFeaturePlan,
|
|
4
|
+
SCENE_DATA_TEMPORAL_V1_SCHEMA,
|
|
5
|
+
type SceneDataTarget,
|
|
6
|
+
type SceneDataUnavailableDetail,
|
|
7
|
+
SceneDataUnavailableError,
|
|
8
|
+
} from '../index';
|
|
9
|
+
|
|
10
|
+
expectTypeOf(SCENE_DATA_TEMPORAL_V1_SCHEMA).toEqualTypeOf<'forgeax::scene-data::temporal-v1'>();
|
|
11
|
+
expectTypeOf(SceneDataUnavailableError).toMatchTypeOf<
|
|
12
|
+
new (
|
|
13
|
+
detail: SceneDataUnavailableDetail,
|
|
14
|
+
) => SceneDataUnavailableError
|
|
15
|
+
>();
|
|
16
|
+
|
|
17
|
+
const target = {} as SceneDataTarget;
|
|
18
|
+
const plan: RenderFeaturePlan = {
|
|
19
|
+
resources: [],
|
|
20
|
+
passes: [
|
|
21
|
+
{
|
|
22
|
+
kind: 'raster',
|
|
23
|
+
name: 'taa',
|
|
24
|
+
colorAttachments: [],
|
|
25
|
+
sampledTargets: [target],
|
|
26
|
+
draws: [],
|
|
27
|
+
},
|
|
28
|
+
],
|
|
29
|
+
};
|
|
30
|
+
void plan;
|
|
31
|
+
|
|
32
|
+
// @ts-expect-error The public target is opaque and cannot be forged structurally.
|
|
33
|
+
const forgedTarget: SceneDataTarget = {};
|
|
34
|
+
void forgedTarget;
|