use crate::{LayerId, MaskIdx, PrimitiveHandle, Size, TextureHandle, UiRegion, WidgetId}; /// important non rendering data for retained drawing #[derive(Debug)] pub struct ActiveData { pub id: WidgetId, pub region: UiRegion, /// What the widget said it used of `region`, the last time it drew. pub size: Size, pub parent: Option, pub textures: Vec, pub primitives: Vec, pub children: Vec, /// The children whose size this widget read while drawing. pub size_deps: Vec, /// Whether it read the output's size, and so is wrong when that changes. pub reads_output: bool, pub mask: MaskIdx, pub layer: LayerId, }