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.
This commit is contained in:
2026-04-20 02:30:07 +08:00
parent 778913ddcb
commit 5e88449e3d
7 changed files with 257 additions and 20 deletions

View File

@@ -77,6 +77,12 @@ namespace XCEngine.Rendering.Universal
{
}
internal void AddFeatureInstance(
ScriptableRendererFeature feature)
{
AddFeature(feature);
}
internal bool SupportsRendererRecordingInstance(
RendererRecordingContext context)
{