|
ZenitUI
Retained-mode C++20 UI framework
|
An off-screen rendering surface with optional post-effect. More...
Go to the source code of this file.
Classes | |
| class | ZenitUI::UI::CanvasLayout |
| A subtree rendered into an off-screen target. More... | |
An off-screen rendering surface with optional post-effect.
CanvasLayout renders its entire subtree into an off-screen target, then blits the target into its own rect with an optional shader effect applied. The target is created lazily on first draw, re-created when the canvas size changes, and released on detach or destruction.