summaryrefslogtreecommitdiff
path: root/src/render/pass/SurfacePassElement.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/pass/SurfacePassElement.hpp')
-rw-r--r--src/render/pass/SurfacePassElement.hpp4
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 = {};
};