From 38a7f03cf0e5ee116794a78581634ba3dab508fa Mon Sep 17 00:00:00 2001 From: UjinT34 <41110182+UjinT34@users.noreply.github.com> Date: Sun, 29 Mar 2026 00:41:45 +0300 Subject: renderer: refactor part 7: api fixes (#13631) Part 7 of ujin's refactors --------- Co-authored-by: Vaxry --- src/render/pass/PassElement.hpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/render/pass/PassElement.hpp') 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 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> draw(); + // virtual bool needsLiveBlur() = 0; virtual bool needsPrecomputeBlur() = 0; virtual const char* passName() = 0; -- cgit v1.2.3