Graph-ify camera stage render passes
This commit is contained in:
22
engine/src/Rendering/Internal/RenderPassGraphUtils.h
Normal file
22
engine/src/Rendering/Internal/RenderPassGraphUtils.h
Normal 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
|
||||
Reference in New Issue
Block a user