feat(srp): formalize scene recording and draw entrypoints

This commit is contained in:
2026-04-20 18:54:04 +08:00
parent b521616e27
commit 3df87e941c
20 changed files with 1054 additions and 181 deletions

View File

@@ -581,11 +581,6 @@ namespace XCEngine
Rendering_ScriptableRenderContext_GetMainDirectionalShadowDepthBiasUnits(
ulong nativeHandle);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern bool
Rendering_ScriptableRenderContext_RecordScene(
ulong nativeHandle);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern void
Rendering_ScriptableRenderContext_GetCameraView(
@@ -781,6 +776,13 @@ namespace XCEngine
ulong nativeHandle,
int scenePhase);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern bool
Rendering_ScriptableRenderContext_DrawRenderers(
ulong nativeHandle,
int scenePhase,
int rendererListType);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern bool
Rendering_ScriptableRenderContext_RecordSceneInjectionPoint(