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.
This commit is contained in:
2026-04-20 02:15:47 +08:00
parent cd29c8b2bc
commit 778913ddcb
6 changed files with 219 additions and 38 deletions

View File

@@ -34,6 +34,8 @@ namespace Gameplay
public bool HasRendererBackedRenderPipelineAssetType;
public bool HasRendererBackedRenderPipelineType;
public bool HasRendererDrivenRenderPipelineType;
public bool HasRendererSupportsRendererRecording;
public bool HasRendererRecordRenderer;
public bool HasPublicRendererSupportsStageRenderGraph;
public bool HasPublicRendererRecordStageRenderGraph;
@@ -170,6 +172,16 @@ namespace Gameplay
HasRendererDrivenRenderPipelineType =
System.Type.GetType(
"XCEngine.Rendering.Universal.RendererDrivenRenderPipeline, XCEngine.RenderPipelines.Universal") != null;
HasRendererSupportsRendererRecording =
rendererType.GetMethod(
"SupportsRendererRecording",
BindingFlags.Instance |
BindingFlags.NonPublic) != null;
HasRendererRecordRenderer =
rendererType.GetMethod(
"RecordRenderer",
BindingFlags.Instance |
BindingFlags.NonPublic) != null;
HasPublicRendererSupportsStageRenderGraph =
rendererType.GetMethod(
"SupportsStageRenderGraph",