Actually implement ultra-rendering

This commit is contained in:
2026-04-02 23:29:53 +02:00
parent b5321ca1a1
commit 1cf3b6f8e6
7 changed files with 23 additions and 10 deletions
+2
View File
@@ -17,6 +17,7 @@ class PD_API ElementBase {
* Reset Function (for PD::Pool::FastReset)
*/
virtual void Reset() {}
void Update();
void SetAlignment(UltraAlignment a) { pAlignment = a; }
void SetPosition(const PD::fvec2& pos) { pPos = pos; }
@@ -33,6 +34,7 @@ class PD_API ElementBase {
UltraAlignment pAlignment = 0;
PD::fvec2 pPos;
PD::fvec2 pSize;
PD::Li::Rect pRenderspace;
};
} // namespace Ultra
} // namespace PD