diff options
| author | UjinT34 <41110182+UjinT34@users.noreply.github.com> | 2026-03-29 00:41:45 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-28 21:41:45 +0000 |
| commit | 38a7f03cf0e5ee116794a78581634ba3dab508fa (patch) | |
| tree | 969891411b2af4e437a183004018cfc359a3057e /src/render/pass/PassElement.hpp | |
| parent | ef2e8dfd5f7e6ee55fa7bc48e44974e64938d14a (diff) | |
renderer: refactor part 7: api fixes (#13631)
Part 7 of ujin's refactors
---------
Co-authored-by: Vaxry <vaxry@vaxry.net>
Diffstat (limited to 'src/render/pass/PassElement.hpp')
| -rw-r--r-- | src/render/pass/PassElement.hpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/render/pass/PassElement.hpp b/src/render/pass/PassElement.hpp index c262b36c..9b939f11 100644 --- a/src/render/pass/PassElement.hpp +++ b/src/render/pass/PassElement.hpp @@ -1,6 +1,7 @@ #pragma once #include "../../defines.hpp" +#include <vector> enum ePassElementType : uint8_t { EK_UNKNOWN = 0, @@ -14,13 +15,16 @@ enum ePassElementType : uint8_t { EK_SURFACE, EK_TEXTURE, EK_TEXTURE_MATTE, - EK_INNER_GLOW + EK_INNER_GLOW, + EK_CUSTOM, }; class IPassElement { public: virtual ~IPassElement() = default; + virtual std::vector<UP<IPassElement>> draw(); + // virtual bool needsLiveBlur() = 0; virtual bool needsPrecomputeBlur() = 0; virtual const char* passName() = 0; |
