AUI Framework  master
Cross-platform module-based framework for developing C++20 desktop applications
IRenderViewToTexture::InvalidArea Struct Reference

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

Detailed Description

Defines areas to invalidate (redraw).

Examples
/github/workspace/aui.views/src/AUI/View/AView.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
 

#include <AUI/Render/IRenderViewToTexture.h>


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