refactor(srp): replace raw scene pass arrays with main-scene settings

This commit is contained in:
2026-04-20 23:49:24 +08:00
parent 36c0614c14
commit 5700272260
8 changed files with 257 additions and 271 deletions

View File

@@ -1,4 +1,3 @@
using System;
using System.Reflection;
using XCEngine;
using XCEngine.Rendering;
@@ -129,8 +128,8 @@ namespace ProjectScripts
{
new UniversalRendererData
{
defaultScenePasses =
Array.Empty<UniversalScenePassData>(),
mainScene =
UniversalMainSceneData.CreateEmpty(),
rendererFeatures = new ScriptableRendererFeature[]
{
new RenderObjectsRendererFeature