refactor(srp): add depth-aware managed fullscreen raster graph bridge

This commit is contained in:
2026-04-22 00:07:10 +08:00
parent 1bbbc22bcb
commit 08ff505b67
6 changed files with 258 additions and 7 deletions

View File

@@ -486,6 +486,13 @@ namespace XCEngine
ulong rasterPassHandle,
int textureHandle);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern bool
Rendering_ScriptableRenderContext_AddRasterPassReadDepthTexture(
ulong nativeHandle,
ulong rasterPassHandle,
int textureHandle);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern bool
Rendering_ScriptableRenderContext_SetRasterPassColorAttachment(
@@ -494,6 +501,13 @@ namespace XCEngine
int colorAttachmentIndex,
int textureHandle);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern bool
Rendering_ScriptableRenderContext_SetRasterPassDepthAttachment(
ulong nativeHandle,
ulong rasterPassHandle,
int textureHandle);
[MethodImpl(MethodImplOptions.InternalCall)]
internal static extern bool
Rendering_ScriptableRenderContext_SetRasterPassColorScaleFullscreenExecution(