From 32e75e3e320fb66ab517a378df645f3d29b3a209 Mon Sep 17 00:00:00 2001 From: UjinT34 <41110182+UjinT34@users.noreply.github.com> Date: Sat, 7 Mar 2026 13:27:47 +0300 Subject: renderer: refactor render elements (#13438) Part 2 of renderer refactors --- src/render/pass/TextureMatteElement.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/render/pass/TextureMatteElement.hpp') diff --git a/src/render/pass/TextureMatteElement.hpp b/src/render/pass/TextureMatteElement.hpp index 273c6474..bf3bb4bf 100644 --- a/src/render/pass/TextureMatteElement.hpp +++ b/src/render/pass/TextureMatteElement.hpp @@ -16,7 +16,6 @@ class CTextureMatteElement : public IPassElement { CTextureMatteElement(const STextureMatteData& data_); virtual ~CTextureMatteElement() = default; - virtual void draw(const CRegion& damage); virtual bool needsLiveBlur(); virtual bool needsPrecomputeBlur(); @@ -24,6 +23,9 @@ class CTextureMatteElement : public IPassElement { return "CTextureMatteElement"; } - private: + virtual ePassElementType type() { + return EK_TEXTURE_MATTE; + }; + STextureMatteData m_data; }; \ No newline at end of file -- cgit v1.2.3