Graph-ify camera stage render passes

This commit is contained in:
2026-04-14 17:16:08 +08:00
parent 4fe456c1a2
commit 4c79554050
14 changed files with 893 additions and 19 deletions

View File

@@ -0,0 +1,22 @@
#pragma once
#include <XCEngine/Rendering/RenderPass.h>
namespace XCEngine {
namespace Rendering {
namespace Internal {
struct RenderPassGraphIO {
bool readSourceColor = false;
bool writeColor = false;
bool writeDepth = false;
};
bool RecordRasterRenderPass(
RenderPass& pass,
const RenderPassRenderGraphContext& context,
const RenderPassGraphIO& io);
} // namespace Internal
} // namespace Rendering
} // namespace XCEngine