AUI Framework
master
Cross-platform module-based framework for developing C++20 desktop applications
|
Defines areas to invalidate (redraw). More...
Defines areas to invalidate (redraw).
Classes | |
struct | Empty |
No redraw. More... | |
struct | Full |
Full redraw. More... | |
Public Types | |
using | Rectangles = AStaticVector< ARect< int >, ARenderContext::Rectangles::capacity() - 1 > |
Specific areas redraw. | |
using | Underlying = std::variant< Empty, Rectangles, Full > |
Public Member Functions | |
template<aui::convertible_to< Underlying > F> | |
InvalidArea (F &&u) noexcept | |
bool | empty () const noexcept |
bool | full () const noexcept |
void | addRectangle (ARect< int > rhs) |
Adds rectangle as an invalid area. If needed, switches to full redraw. | |
Rectangles * | rectangles () noexcept |
const Rectangles * | rectangles () const noexcept |
#include <AUI/Render/IRenderViewToTexture.h>