ZenitUI
Retained-mode C++20 UI framework
Loading...
Searching...
No Matches
ZenitUI::FilterContext Struct Reference

Per-invocation state passed to applyFilter and to custom filters. More...

#include <FilterRegistry.hpp>

Public Attributes

UIContext * ui {nullptr}
 Owning UI context (assets, target pool, render stats).
IRenderer * renderer {nullptr}
 Active renderer backend.
Layout * node {nullptr}
 Filtered node currently being rendered.
TargetHandle src {}
 Source off-screen target for this pass.
TargetHandle scratch {}
 Intermediate target for full-res separable/custom passes.
TargetHandle write_target {}
 Destination off-screen target, or invalid when drawing to screen.
Rect region {}
 Screen-space destination rectangle.
Rect dst {}
 Logical content sub-rectangle inside off-screen targets.
Vec2 texSize {}
 Backing texture dimensions of src in logical pixels.
float opacity {1.0f}
 Final compositing opacity (applied on the screen pass).
const FilterRef * ref {nullptr}
 Parsed CSS filter reference supplying parameter arguments.

Detailed Description

Per-invocation state passed to applyFilter and to custom filters.


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