Skip to content

Commit f02093d

Browse files
committed
添加clearOriginalPasses
1 parent a9e93e5 commit f02093d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/Context/RenderGraph.h‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ namespace FCT
304304
{
305305
return m_originalPasses;
306306
}
307+
void clearOriginalPasses()
308+
{
309+
m_originalPasses.clear();
310+
}
307311
private:
308312
RenderGraphImageNode* getOrCreateImageNode(const std::string& name, const Texture& texture);
309313
RenderGraphImageNode* getOrCreateImageNode(const std::string& name, const Target& target);

0 commit comments

Comments
 (0)