AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
IRenderViewToTexture::InvalidArea Struct Reference

Defines areas to invalidate (redraw). More...

#include <AUI/Render/IRenderViewToTexture.h>

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.
 
Rectanglesrectangles () noexcept
 
const Rectanglesrectangles () const noexcept
 

Detailed Description

Defines areas to invalidate (redraw).


The documentation for this struct was generated from the following files: