refactor(srp): move builtin scene feature ownership into renderer features

This commit is contained in:
2026-04-21 01:54:02 +08:00
parent 33c88f8234
commit 4d587c5d0b
14 changed files with 403 additions and 55 deletions

View File

@@ -69,6 +69,17 @@ namespace XCEngine.Rendering
(int)injectionPoint);
}
public bool RecordNativeSceneFeaturePass(
string featurePassName)
{
return !string.IsNullOrEmpty(
featurePassName) &&
InternalCalls
.Rendering_ScriptableRenderContext_RecordNativeSceneFeaturePass(
m_nativeHandle,
featurePassName);
}
public bool DrawRenderers(
SceneRenderPhase scenePhase,
RendererListType rendererListType)