summaryrefslogtreecommitdiff
path: root/src/render/pass/Pass.hpp
diff options
context:
space:
mode:
authorvaxerski <vaxry@vaxry.net>2025-01-02 18:14:45 +0100
committervaxerski <vaxry@vaxry.net>2025-01-02 18:14:45 +0100
commit1697171fc003d26dace4a7d70e2f8038df60a196 (patch)
treee7df4d065746686e9c2b263687d99440c621fc62 /src/render/pass/Pass.hpp
parent81721b8aa87b1df3c3a9c9eadafcc271178c102a (diff)
pass: allow removing all pass elements of a given type
Diffstat (limited to 'src/render/pass/Pass.hpp')
-rw-r--r--src/render/pass/Pass.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/pass/Pass.hpp b/src/render/pass/Pass.hpp
index 5d7d3bb3..5fa25fc3 100644
--- a/src/render/pass/Pass.hpp
+++ b/src/render/pass/Pass.hpp
@@ -14,6 +14,7 @@ class CRenderPass {
void add(SP<IPassElement> elem);
void clear();
+ void removeAllOfType(const std::string& type);
CRegion render(const CRegion& damage_);