use crate::{ LayerId, MaskIdx, MoveIdx, PaintId, PrimitiveHandle, Size, TextureHandle, UiRegion, WidgetId, util::Vec2, }; #[derive(Debug)] pub struct ActiveData { pub id: WidgetId, pub region: UiRegion, pub parent: Option, pub textures: Vec, /// Paint slots retained by this draw. The GPU primitive stores only the /// slot index, so these handles are what prevent a live primitive from /// observing a recycled paint. pub paints: Vec, pub primitives: Vec, pub children: Vec, pub size_dependencies: Vec, pub mask: MaskIdx, /// The widget's retained mask slot, or `MaskIdx::NONE`. pub own_mask: MaskIdx, pub layer: LayerId, pub size: Size, pub move_slot: MoveIdx, pub child_move_slot: Option, pub move_applied: Vec2, }