refactor(srp): rename first-party renderer package to universal

This commit is contained in:
2026-04-19 14:04:19 +08:00
parent 537d7d99fc
commit 570467a083
13 changed files with 147 additions and 147 deletions

View File

@@ -0,0 +1,21 @@
using XCEngine;
using XCEngine.Rendering;
using XCEngine.Rendering.Renderer;
namespace XCEngine.Rendering.Universal
{
public sealed class DisableDirectionalShadowRendererFeature
: ScriptableRendererFeature
{
public override void ConfigureCameraRenderRequest(
ScriptableRenderPipelineCameraRequestContext context)
{
if (context != null &&
context.hasDirectionalShadow)
{
context.ClearDirectionalShadow();
}
}
}
}