Actually implement ultra-rendering

This commit is contained in:
2026-09-06 15:58:13 +02:00
parent b4a7260cf2
commit 212ba0c617
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