summaryrefslogtreecommitdiff
path: root/src/render/pass/TexPassElement.hpp
diff options
context:
space:
mode:
authorUjinT34 <41110182+UjinT34@users.noreply.github.com>2026-03-07 18:23:54 +0300
committerGitHub <noreply@github.com>2026-03-07 15:23:54 +0000
commitb227efc8492468cc925014a6c8446a3d044b01e8 (patch)
treebc0ec5c133a0742ee92f2d4f5bde24b5ebd33a43 /src/render/pass/TexPassElement.hpp
parent73fca55e7c9dd19222c8c0cc331ddebf4c4bfddf (diff)
renderer: refactor projection setting (#13485)
Diffstat (limited to 'src/render/pass/TexPassElement.hpp')
-rw-r--r--src/render/pass/TexPassElement.hpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/render/pass/TexPassElement.hpp b/src/render/pass/TexPassElement.hpp
index 90f5f40e..1ac3db0c 100644
--- a/src/render/pass/TexPassElement.hpp
+++ b/src/render/pass/TexPassElement.hpp
@@ -9,19 +9,19 @@ class CSyncTimeline;
class CTexPassElement : public IPassElement {
public:
struct SRenderData {
- SP<ITexture> tex;
- CBox box;
- float a = 1.F;
- float blurA = 1.F;
- CRegion damage;
- int round = 0;
- float roundingPower = 2.0f;
- bool flipEndFrame = false;
- std::optional<Mat3x3> replaceProjection;
- CBox clipBox;
- bool blur = false;
- std::optional<float> ignoreAlpha;
- std::optional<bool> blockBlurOptimization;
+ SP<ITexture> tex;
+ CBox box;
+ float a = 1.F;
+ float blurA = 1.F;
+ CRegion damage;
+ int round = 0;
+ float roundingPower = 2.0f;
+ bool flipEndFrame = false;
+ bool useMirrorProjection = false;
+ CBox clipBox;
+ bool blur = false;
+ std::optional<float> ignoreAlpha;
+ std::optional<bool> blockBlurOptimization;
};
CTexPassElement(const SRenderData& data);