refactor(srp): narrow generic native policy key seams

This commit is contained in:
2026-04-21 14:09:23 +08:00
parent 289b216bc5
commit 32d725844f
3 changed files with 90 additions and 59 deletions

View File

@@ -58,52 +58,6 @@ namespace XCEngine.Rendering
return UsesNativeCameraFramePlanBaseline();
}
protected virtual string GetRenderSceneSetupPolicyAssetKey()
{
return string.Empty;
}
protected virtual string
GetRenderSceneSetupPolicyAssetKeyContextual(
int rendererIndex)
{
return GetRenderSceneSetupPolicyAssetKey();
}
protected virtual string GetCameraFrameStandalonePassAssetKey(
CameraFrameStage stage)
{
return string.Empty;
}
protected virtual string
GetCameraFrameStandalonePassAssetKeyContextual(
CameraFrameStage stage,
int rendererIndex)
{
return GetCameraFrameStandalonePassAssetKey(
stage);
}
protected virtual string
GetDirectionalShadowPlanningPolicyAssetKey()
{
return string.Empty;
}
protected virtual string
GetDirectionalShadowExecutionPolicyAssetKey()
{
return string.Empty;
}
protected virtual string
GetDirectionalShadowExecutionPolicyAssetKeyContextual(
int rendererIndex)
{
return GetDirectionalShadowExecutionPolicyAssetKey();
}
protected virtual void ReleaseRuntimeResources()
{
}