AUI Framework  master
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ass::Backdrop Struct Reference

Represents backdrop filter effect which applied to the pixels behind the view (i.e., blur, grayscale, etc.) More...

#include <AUI/ASS/Property/Backdrop.h>

Classes#

struct  GaussianBlur
 Fast gaussian blur. More...
 
struct  GaussianBlurCustom
 Underlying type of GaussianBlur but with customizable downscale. Generally, use GaussianBlur. More...
 

Public Types#

using Any = std::variant<GaussianBlur, GaussianBlurCustom>
 
using Preprocessed = std::variant<GaussianBlurCustom>
 

Public Member Functions#

 Backdrop (std::initializer_list< Any > effects)
 

Signals and public fields#

AVector< Any > effects
 

Detailed Description#

Matches CSS property backdrop-filter.

Because the effect is applied to everything behind the view, to see the effect the view's background needs to be transparent or partially transparent.

Examples
examples/ui/views/src/ExampleWindow.cpp.