diff options
| author | Vaxry <vaxry@vaxry.net> | 2026-04-07 14:24:20 +0100 |
|---|---|---|
| committer | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2026-04-07 12:07:36 -0400 |
| commit | a1c8c2f1f466fb9e9d10eeb589862e81ce89ae92 (patch) | |
| tree | cfc1bfd180ab2c18ebcb06c53e0516297c96a297 /src/render/pass/SurfacePassElement.hpp | |
| parent | 0448e707fce798d6864320ef629ae681845bde26 (diff) | |
pass/surface: cache texBox
Diffstat (limited to 'src/render/pass/SurfacePassElement.hpp')
| -rw-r--r-- | src/render/pass/SurfacePassElement.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/render/pass/SurfacePassElement.hpp b/src/render/pass/SurfacePassElement.hpp index ebf5561c..26e14890 100644 --- a/src/render/pass/SurfacePassElement.hpp +++ b/src/render/pass/SurfacePassElement.hpp @@ -73,4 +73,8 @@ class CSurfacePassElement : public IPassElement { SRenderData m_data; CBox getTexBox(); + + private: + bool m_texBoxCached = false; + CBox m_cachedTexBox = {}; }; |
