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.
This commit is contained in:
2026-04-20 01:14:37 +08:00
parent beaf5809d5
commit 58dde75d3d
10 changed files with 900 additions and 0 deletions

View File

@@ -8,6 +8,11 @@ namespace XCEngine.Rendering
{
}
internal void ReleaseRuntimeResourcesInstance()
{
ReleaseRuntimeResources();
}
protected virtual ScriptableRenderPipeline CreatePipeline()
{
return null;
@@ -27,6 +32,10 @@ namespace XCEngine.Rendering
{
return string.Empty;
}
protected virtual void ReleaseRuntimeResources()
{
}
}
}