refactor(srp): hide universal recording helpers behind base apis

This commit is contained in:
2026-04-19 16:17:38 +08:00
parent 93f06e84ed
commit 6c605bbe20
11 changed files with 532 additions and 295 deletions

View File

@@ -9,10 +9,9 @@ namespace XCEngine.Rendering.Universal
public override void ConfigureCameraRenderRequest(
CameraRenderRequestContext context)
{
if (context != null &&
context.HasDirectionalShadow())
if (HasDirectionalShadow(context))
{
context.ClearDirectionalShadow();
ClearDirectionalShadow(context);
}
}
}