rendering: document managed srp v1 boundaries

This commit is contained in:
2026-04-26 02:12:06 +08:00
parent 8eb1f8c5a2
commit 97f3c3486a
9 changed files with 246 additions and 0 deletions

View File

@@ -12,6 +12,9 @@ namespace XCEngine.Rendering
FinalColorFullscreen = 3
}
// Managed SRP v1 raster recording is intentionally narrow: this builder
// only describes fullscreen raster passes that map onto the built-in
// ColorScale / ShaderVector / FinalColor executions.
public sealed class RenderGraphRasterPassBuilder
{
private struct TextureBindingRequest
@@ -184,6 +187,8 @@ namespace XCEngine.Rendering
public bool Commit()
{
// Native bridge rejects raster pass recording outside the
// fullscreen sequence stages.
if (m_finalized ||
!HasExecutionConfigured() ||
!HasAnyColorAttachment())