Commit Graph

62 Commits

Author SHA1 Message Date
d196ec9264 refactor(srp): add renderer data invalidation seam
Introduce ScriptableRendererData dirty/invalidation support so renderer and feature caches can be released and rebuilt within the same managed asset runtime.

Add managed probes and scripting coverage for non-public dirty APIs and for renderer rebuild after invalidation, then archive the completed phase plan.
2026-04-20 02:48:16 +08:00
5e88449e3d refactor(srp): move renderer feature setup into renderer data
Introduce a formal ScriptableRendererData setup seam so renderer feature attachment is owned by renderer data instead of renderer constructors pulling feature caches.

Route lifecycle and reuse probes through the new setup path, lock the non-public setup seam in the API surface probe, and update scripting expectations accordingly.
2026-04-20 02:30:07 +08:00
778913ddcb refactor(srp): make universal renderer execution context-first
Promote ScriptableRenderer renderer-recording context methods to the primary Universal execution seam and route the renderer-driven pipeline through that seam.

Update managed probes and scripting expectations to cover the new non-public renderer recording contract, and archive the completed phase plan.
2026-04-20 02:15:47 +08:00
cd29c8b2bc feat(srp): add renderer-driven pipeline backbone
Introduce renderer-driven and renderer-backed managed pipeline base types in the Universal package.

Move shared renderer-data/default-renderer ownership out of UniversalRenderPipelineAsset, migrate probe assets onto the generic seam, and expose renderer recording/request context types for future SRP expansion.

Update scripting API-surface expectations and validate with build, unit tests, scripting tests, and old editor smoke.
2026-04-20 02:05:17 +08:00
9e6c473186 feat(srp): add managed camera frame planning seam
Expose native camera frame planning controls to managed pipeline assets and renderer features.

Allow managed planning to override fullscreen stage heuristics while keeping CameraFramePlan as the native execution contract.

Add scripting coverage, probe assets, and archive the phase plan after build, test, and editor smoke validation.
2026-04-20 01:48:16 +08:00
58dde75d3d refactor(srp): add managed lifecycle cleanup seams
Invoke managed pipeline disposal and asset runtime cleanup from the native bridge lifecycle. Add Universal renderer and feature cleanup hooks plus regression probes to verify runtime cache teardown semantics.
2026-04-20 01:14:37 +08:00
beaf5809d5 refactor(srp): unify managed pipeline instance ownership
Move shared managed ScriptableRenderPipeline instance ownership into MonoManagedRenderPipelineAssetRuntime.

Make stage recorders borrow the runtime-owned pipeline instead of creating and destroying private handles.

Add a regression test that locks one CreatePipeline call across multiple stage recorders.
2026-04-20 00:44:09 +08:00
cbc0ddbd42 refactor(srp): formalize universal renderer selection and caching 2026-04-20 00:16:32 +08:00
ad32d64269 refactor(srp): move universal backend ownership into renderer data 2026-04-20 00:04:24 +08:00
9c8f2ae84c refactor(srp): let universal assets declare native backend keys 2026-04-19 23:32:41 +08:00
20e727e882 refactor(srp): close universal recording composition seam 2026-04-19 17:00:48 +08:00
6c605bbe20 refactor(srp): hide universal recording helpers behind base apis 2026-04-19 16:17:38 +08:00
dc13b56cf3 refactor(srp): collapse universal pipeline wrappers 2026-04-19 15:33:03 +08:00
237a628e2a refactor(srp): rename camera request context surface 2026-04-19 15:20:34 +08:00
8edc68f02b refactor(srp): move recording helpers into universal extensions 2026-04-19 14:42:57 +08:00
f4d4112e2f refactor(srp): move rendering data ownership into universal package 2026-04-19 14:19:57 +08:00
a7cda9375a refactor(srp): move renderer model into universal package 2026-04-19 14:11:25 +08:00
570467a083 refactor(srp): rename first-party renderer package to universal 2026-04-19 14:04:19 +08:00
537d7d99fc refactor(srp): remove managed frame planning hook
- derive fullscreen stage planning from pipeline render-graph support
- trim planning-only APIs from the managed SRP bridge and public surface
- update probes and tests to lock the slimmer SRP API boundary
2026-04-19 13:47:20 +08:00
08e2b38df2 refactor(srp): hide pipeline data behind rendering data 2026-04-19 13:12:26 +08:00
0cea7b80e8 refactor(srp): align renderer api with unity contexts 2026-04-19 13:05:57 +08:00
fe7e6dddf3 refactor(srp): move renderer request helpers out of core 2026-04-19 05:34:43 +08:00
9da85e9ad8 refactor(srp): move rendering data into renderer layer 2026-04-19 05:25:47 +08:00
11a03a4b46 refactor(srp): unify engine managed assembly discovery 2026-04-19 05:17:42 +08:00
5fa209ab5d refactor(srp): split universal managed pipeline assembly 2026-04-19 05:03:56 +08:00
7429f22fb1 refactor(rendering): split managed SRP layers and namespaces 2026-04-19 02:38:48 +08:00
b989edca91 feat(rendering): add managed SRP renderer runtime 2026-04-19 00:05:29 +08:00
30ee70a4d1 feat(rendering): select managed SRP through asset instances 2026-04-18 16:41:53 +08:00
849625e732 feat(rendering): expose managed SRP asset final color defaults 2026-04-18 16:19:54 +08:00
5fd474d08d feat(rendering): add shader-vector fullscreen SRP seam
Generalize the native fullscreen pass and descriptor plumbing so managed SRP can request shader-driven fullscreen stages without being locked to the ColorScale path.

Keep ColorScale as a convenience descriptor mapped to the builtin color-scale shader, and add native fullscreen factory coverage for the new shader-vector path.
2026-04-18 16:08:01 +08:00
2b6d62a127 refactor(rendering): unify managed fullscreen planning stage api
replace post-process and final-output specific planning calls with a single fullscreen stage bridge

align managed planning with the native CameraFrameStage fullscreen seam
2026-04-18 15:12:41 +08:00
c91e87f2e2 refactor(rendering): queue managed fullscreen pass descriptors 2026-04-18 13:51:09 +08:00
cf54014de9 refactor(rendering): remove builtin naming from managed srp context 2026-04-18 13:30:45 +08:00
afb2c1579c test(rendering): prove managed forward pipeline scene render path 2026-04-18 00:51:51 +08:00
2fe1076218 test(rendering): add managed default pipeline selection probe 2026-04-18 00:22:15 +08:00
a6c78af54c feat(rendering): add managed camera request planning seam 2026-04-18 00:07:13 +08:00
6838b00d97 feat(rendering): add managed fullscreen stage planning seam 2026-04-17 23:39:08 +08:00
b9f78c29b8 feat(rendering): add managed fullscreen stage recording seam 2026-04-17 22:58:39 +08:00
6f6c8877fa feat(rendering): expose builtin forward scene steps to srp context 2026-04-17 22:26:51 +08:00
9026aff881 feat(rendering): add scriptable render context v1 2026-04-17 21:53:52 +08:00
f4fb859972 feat(scripting): add managed SRP runtime bridge 2026-04-17 21:38:22 +08:00
04ecac26d6 feat(scripting): add managed srp base api 2026-04-15 20:14:48 +08:00
65cb212020 fix(scripting): stabilize mono wrapper test teardown 2026-04-15 14:27:21 +08:00
bda8a35d77 feat(scripting): expose PhysX rigidbody and raycast APIs 2026-04-15 13:58:30 +08:00
51aea47c83 feat(physics): dispatch PhysX simulation events to scene scripts 2026-04-15 13:36:39 +08:00
aa727202af Add managed render pipeline selection bridge 2026-04-15 01:57:14 +08:00
811958351e fix: refine editor console logging 2026-04-05 02:26:21 +08:00
e0e5c1fcaa Add concrete component script field support 2026-04-03 16:51:42 +08:00
2b19b4bece Add SerializeField private field support 2026-04-03 16:19:56 +08:00
76f1a8e9b2 Add enum script field support 2026-04-03 15:55:47 +08:00